source: vendor/automake/1.7.9/ChangeLog.01@ 3607

Last change on this file since 3607 was 3120, checked in by bird, 18 years ago

automake 1.7.9

File size: 162.0 KB
Line 
12001-12-31 Tom Tromey <tromey@redhat.com>
2
3 * automake.texi (Extending): Document installcheck-local. Added
4 installdirs-local index entry.
5 (Tests): Document installcheck-local.
6
7 * automake.in (handle_single_transform_list): Indentation fix.
8
92001-12-31 Alexandre Duret-Lutz <duret_g@epita.fr>
10
11 * automake.in (common_files): Add COPYING.DOC.
12 Suggested by Karl Berry.
13
142001-12-30 Tom Tromey <tromey@redhat.com>
15
16 * automake.in (define_configure_variable): Define a user macro,
17 not an automake macro.
18 * tests/Makefile.am (TESTS): Added ar.test.
19 * tests/ar.test: New file.
20
21 For PR automake/211:
22 * automake.in (object_compilation_map): New global.
23 (initialize_per_input): Initialize it.
24 (COMPILE_LIBTOOL): New constant.
25 (COMPILE_ORDINARY): Likewise.
26 * tests/Makefile.am (TESTS): Added pr211.test.
27 * tests/pr211.test: New file.
28
29 For PR automake/215:
30 * configure.in: Use AM_AUTOMAKE_OPTIONS.
31 * Makefile.am (AUTOMAKE_OPTIONS): Removed.
32 * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS.
33 (Options): Mention AM_AUTOMAKE_OPTIONS.
34 * automake.in (global_options): New global.
35 (global_options_line): Likewise.
36 (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS.
37 (scan_one_autoconf_file): Likewise.
38 (process_option_list): New function.
39 (handle_options): Use it. Also, handle global options.
40 * m4/Makefile.am (m4data_DATA): Added options.m4.
41 * m4/options.m4: New file.
42
43 * lib/am/install.am (?SUBDIRS?installdirs-am): Handle
44 installdirs-local.
45 (?!SUBDIRS?installdirs): Likewise.
46 * automake.in (handle_installdirs): Handle installdirs-local.
47 * automake.texi (Extending): Mention installdirs.
48 * tests/Makefile.am (TESTS): Added installdir.test.
49 * tests/installdir.test: New file.
50
512001-12-30 Akim Demaille <akim@epita.fr>
52
53 * lib/am/yacc.am: Also rename the possible y.output file.
54 Remove the trailing y.tab.h.
55
562001-12-30 Paolo Bonzini <bonzini@gnu.org>
57
58 * automake.texi (Install): Remove mention of nonexistent
59 uninstall-hook.
60
612001-12-30 Alan Modra <amodra@bigpond.net.au>
62
63 * automake.in (generate_makefile): Unlink output file before
64 opening so that any hard links are not changed.
65
662001-12-30 Tom Tromey <tromey@redhat.com>
67
68 * tests/pr220.test: Use `required' to pick up gcc.
69
70 For PR automake/243:
71 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Strip everything
72 after `:'.
73 * tests/Makefile.am (TESTS): Added pr243.test.
74 * tests/pr243.test: New file.
75
76 For PR automake/220:
77 * tests/Makefile.am (TESTS): Added pr220.test.
78 * tests/pr220.test: New file.
79 * m4/cond.m4 (AM_CONDITIONAL): Cause creation of config.status to
80 fail if conditional was never run.
81
82 For PR automake/260:
83 * lib/depcomp (tru64): Correctly handle libtool case.
84 From doreille@smr.ch.
85
862001-12-30 Alexandre Duret-Lutz <duret_g@epita.fr>
87
88 * lib/am/distdir.am (distcleancheck_listfiles): Unquote.
89 Reported by Yann Droneaud.
90
912001-12-29 Tom Tromey <tromey@redhat.com>
92
93 For PR automake/266:
94 * tests/Makefile.am (TESTS): Added pr266.test.
95 * tests/pr266.test: New file.
96 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Handle
97 non-standard name for makefile.
98
99 For PR automake/279:
100 * automake.in (conditional_ambiguous_p): New sub.
101 (handle_lib_objects_cond): Use it.
102 (check_ambiguous_conditional): Use it.
103 * tests/Makefile.am (TESTS): Added pr279.test, pr279-2.test.
104 * tests/pr279.test: New file.
105 * tests/pr279-2.test: New file.
106
1072001-12-26 Tom Tromey <tromey@redhat.com>
108
109 For PR automake/249:
110 * tests/Makefile.am (TESTS): Added nodist2.test.
111 * tests/nodist2.test: New file
112
1132001-12-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
114
115 * m4/multi.m4: Fix quoting in AC_OUTPUT_COMMANDS.
116
1172001-12-26 Alexandre Duret-Lutz <duret_g@epita.fr>
118
119 * configure.in: Test for Autoconf >= 2.52.
120 * tests/defs (needs_autoconf, has_autoconf): Delete definition.
121 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
122 tests/cond4.test, tests/cond9.test, tests/cond16.test,
123 tests/cond18.test, tests/cond19.test, tests/cond20.test,
124 tests/confsub.test, tests/depcomp2.test, tests/depdist.test,
125 tests/depend2.test, tests/dirname.test, tests/distname.test,
126 tests/extra5.test, tests/install2.test, tests/lex3.test,
127 tests/make.test, tests/nobase.test, tests/pr9.test,
128 tests/pr87.test, tests/stamph2.test, tests/subdir5.test,
129 tests/subdirbuiltsources.test, tests/subobj3.test,
130 tests/subobj5.test, tests/subobj6.test, tests/substref.test,
131 tests/target-cflags.test, tests/yacc4.test, tests/yacc7.test,
132 tests/yaccvpath.test: Do not use $needs_autoconf.
133
1342001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
135
136 * configure.in: Bump version to 1.5c.
137
1382001-12-14 Alexandre Duret-Lutz <duret_g@epita.fr>
139
140 * configure.in: Bump version to 1.5b.
141
142 * lib/config.sub, lib/config.guess: New versions from FSF.
143
144 * lib/am/lex.am, lib/am/yacc.am: Use `rm -f', not `rm'.
145
1462001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
147
148 * automake.in (check_gnu_standards, check_gnits_standards): Pass
149 "$am_file.am" as WHERE argument to require_file.
150
1512001-12-12 Alexandre Duret-Lutz <duret_g@epita.fr>
152
153 * m4/python.m4 (AM_PATH_PYTHON): Check all known Python interpreters
154 in loop until we find one the satisfies the user supplied version.
155 Add python2 to the list of known interpreters. Don't use
156 changequote. Cache the calculation of PYTHON_VERSION and
157 PYTHON_PLATFORM.
158 (AM_PYTHON_CHECK_VERSION): New function, extracted from
159 AM_PATH_PYTHON and modernized.
160 * m4/runlog.m4: New file.
161 * m4/Makefile.am (m4data_DATA): Add it.
162
1632001-12-06 Alexandre Duret-Lutz <duret_g@epita.fr>
164
165 * tests/confsub.test, tests/depdist.test, tests/extra5.test,
166 tests/nobase.test, tests/stamph2.test,
167 tests/subdirbuiltsources.test: Require Autoconf.
168
1692001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
170
171 * automake.texi (Dist): Document $(DISTCHECK_CONFIGURE_FLAGS).
172 * lib/am/distdir.am (distcheck): Honnor $(DISTCHECK_CONFIGURE_FLAGS).
173 Suggested by Merijn de Jonge.
174
1752001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
176
177 * lib/am/tags.am (ID): Search $(LISP) files in $(srcdir),
178 like other ID dependencies.
179 Suggested by Christian Cornelssen.
180
1812001-12-05 Alexandre Duret-Lutz <duret_g@epita.fr>
182
183 * automake.in (handle_dist): Distribute common files which
184 do not exist but are target of a Makefile rule.
185 * automake.texi (Dist): Update.
186 * test/builtcommon3.test: New file.
187 * test/Makefile.am (TESTS): Add distcommon3.test.
188
1892001-12-04 Alexandre Duret-Lutz <duret_g@epita.fr>
190
191 * automake.in (macro_define): Fix misuse of chomp introduced on
192 2001-11-28.
193
1942001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
195
196 * automake.in (append_comments): New. Extracted from
197 read_am_file. Match '\n' with a regexp, don't use substr (the
198 perlport man page says '\n' is not always one byte wide).
199 (read_am_file): Use it. Always chomp $_.
200 (file_contents_internal): Use append_comments.
201 (macro_define): Don't treat the trailing '\n' with substr, use
202 a regexp or chomp.
203
2042001-11-28 Alexandre Duret-Lutz <duret_g@epita.fr>
205
206 * tests/defs: Turn on shell traces when VERBOSE=x.
207
2082001-11-26 Tom Tromey <tromey@redhat.com>
209
210 * automake.texi (Assembly Support): Mention .s and .S as only
211 suffixes.
212
2132001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
214
215 * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
216 before.
217
2182001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
219
220 * tests/lex3.test: Require GNU Make.
221
2222001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
223
224 * tests/defs (ACLOCAL): Add -I $srcdir/../m4 before any other
225 directory.
226
2272001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
228
229 * lib/am/tags.am (TAGS): Search %CONFIG% and $(LISP) files
230 in $(srcdir), like other TAGS dependencies.
231 Suggested by Christian Cornelssen.
232
2332001-11-26 Akim Demaille <akim@epita.fr>
234
235 * automake.in (&macro_define): Use $where when reporting an error,
236 not the place where the macro was first defined since (i) if this
237 is the first definition, then obviously it was not defined before,
238 and (ii) anyway, the error is with the new definition, not the
239 first.
240
2412001-11-26 Alexandre Duret-Lutz <duret_g@epita.fr>
242
243 * lib/am/distdir.am (distcheck): Call distcleancheck.
244 (distcleancheck_listfiles, distcleancheck): New, extracted from
245 distcheck.
246 * automake.texi (Checking the distribution): Document
247 distcleancheck_listfiles and distcleancheck.
248
2492001-11-25 Alexandre Duret-Lutz <duret_g@epita.fr>
250
251 * automake.in (scan_one_autoconf_file): Parenthesize qw// in
252 foreach invocation, otherwise Perl5.005_03 complains about a
253 syntax error. Reported by Yann Droneaud.
254
2552001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
256
257 * automake.in (scan_texinfo_file): Suppress FIXME about strange
258 map behavior.
259
2602001-11-19 Alexandre Duret-Lutz <duret_g@epita.fr>
261
262 * tests/defs (aclocaldir): Check for existence of libtool.m4 and
263 gettext.m4 if required.
264
2652001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
266
267 * automake.in (define_objects_from_sources,
268 handle_lib_objects_cond, value_to_list): Use quotemeta instead of
269 the equivalant substitution.
270
2712001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
272
273 * automake.in (SUFFIX_RULE_PATTERN): Add '_(){}$@' to the
274 set of accepted characters in extensions.
275 (rule_define): Convert '.o' and '.obj' into '$(OBJEXT)' for
276 internall use.
277 * tests/suffix6.test: Ensure that `.o' is handled like `.$(OBJEXT)'.
278
2792001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
280
281 * automake.texi (Suffixes): Don't require SUFFIXES, but document
282 its use for the "extreme" cases.
283
2842001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
285
286 * automake.in (rule_define): Use $KNOWN_EXTENSIONS_PATTERN
287 to match suffix rules for known extensions, or call
288 accept_extensions on suffixe rules for unknown extensions.
289 (var_SUFFIXES_trigger): New function.
290 (macro_define): Call var_VAR_trigger when $VAR is updated.
291 * tests/suffix6.test, tests/suffix7.test: New files.
292 * tests/Makefile.am (TESTS): Add suffix6.test and suffix7.test.
293
2942001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
295
296 * automake.in (KNOWN_EXTENSIONS_PATTERN, known_extensions_list):
297 New variables.
298 (handle_single_transform_list, lang_yacc_target_hook): Use
299 KNOWN_EXTENSIONS_PATTERN.
300 (accept_extension): New function.
301 (register_language): Call it.
302
3032001-11-16 Alexandre Duret-Lutz <duret_g@epita.fr>
304
305 At every place where an "$extension" is used, include the leading
306 dot in the extension, don't hardcode it when building the filename.
307 That will make any support for a dot-less extension easier to add.
308
309 * automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
310 backref groups.
311 ("main"): Prepend a '.' to the supported extensions of all
312 languages (e.g. 'c' becomes '.c').
313 (handle_languages, handle_single_transform_list,
314 handle_lib_objects_cond, handle_headers, derive_suffix,
315 rule_define): Do not add a dot
316 before extensions, and include dots in matching groups.
317 * lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
318 (%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
319 * lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
320 (%EXT%%DERIVED-EXT%): ... this.
321 * lib/am/yacc.am: Likewise.
322
3232001-11-12 Akim Demaille <akim@epita.fr>
324
325 * m4/make.m4 (AM_MAKE_INCLUDE): Serial 2.
326 Use `"#"' and `"\""', which
327 Autoconf mode prefers over `'#'' and `'"''.
328 * m4/missing.m4 (AM_MISSING_HAS_RUN): Serial 3.
329 Rely on AC_MSG 2.50's quotation.
330
3312001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
332
333 * automake.in (scan_texinfo_file): Typo from 2001-11-05.
334
3352001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
336
337 * lib/am/distdir.am (distdir): Also look for directory in build
338 directory first. (See 2001-05-14.)
339 * tests/Makefile.am (TESTS): Add extra5.test.
340 * tests/extra5.test: New file.
341 From Dean Povey.
342
3432001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
344
345 Fix for distcommon2.test:
346 * automake.in (automake_needs_to_reprocess_all_files): New
347 variable.
348 ("main"): Process all Makefiles a second time if
349 $automake_needs_to_reprocess_all_files is set.
350 (maybe_push_required_file): Return 1 or 0 whether the file is
351 pushed or not.
352 (require_file_internal): Set $automake_needs_to_reprocess_all_files
353 if an added file can't be pushed.
354
355 * test/distcommon2.test: New file.
356 * test/Makefile.am (TESTS): Add distcommon2.test.
357 From Pavel Roskin.
358
3592001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
360
361 * automake.in (exec_dir_p): Remove. Replace by...
362 (EXEC_DIR_PATTERN):... this.
363 (am_install_var): Adjust to use EXEC_DIR_PATTERN.
364
3652001-11-09 Alexandre Duret-Lutz <duret_g@epita.fr>
366
367 Fix for nobase.test:
368 * lib/am/header-vars.am (install_sh_DATA): New.
369 * lib/am/data.am (install-%DIR%%PRIMARY%): Declare and use
370 %DIR%%PRIMARY%_INSTALL, and set it to $(install_sh_DATA) instead
371 of $(INSTALL_DATA) for nobase_ targets.
372 * lib/am/lisp.am (install-%DIR%LISP): Likewise.
373 * lib/am/python.am (install-%DIR%PYTHON): Likewise.
374 * tests/nobase.test (configure.in): Append AC_OUTPUT.
375 * tests/Makefile.am (XFAIL_TESTS): Remove nobase.test.
376
3772001-11-08 Akim Demaille <akim@epita.fr>
378
379 * automake.texi: Remove references to stamp-h.in, which no longer
380 exists.
381 * tests/stamph2.test: Formatting change.
382
3832001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
384
385 * tests/suffix3.test: Check for foo.$(OBJEXT) in Makefile.in.
386 Don't use -Wno-error.
387
3882001-11-08 Alexandre Duret-Lutz <duret_g@epita.fr>
389
390 * tests/suffix4.test ($AUTOMAKE): Don't use -Wno-error.
391 * tests/suffix5.test ($AUTOMAKE): Likewise.
392
3932001-11-07 Akim Demaille <akim@epita.fr>
394
395 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't escape quotes in
396 AC_MSG_ERROR.
397 Reported by Jim Meyering.
398
3992001-11-07 Alexandre Duret-Lutz <duret_g@epita.fr>
400
401 * lib/am/distdir.am (am__remove_distdir): Define in topdir only.
402
4032001-11-05 Paul Eggert <eggert@twinsun.com>
404
405 * lib/am/distdir.am (am__remove_distdir):
406 New macro. Do not change permission of non-directories.
407 Change only user permission, as there's no point to changing group
408 or other permission.
409 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
410 distcheck): Use it.
411
4122001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
413
414 * lib/am/python.am: Cleanup the cleaning section.
415 * automake.texi (Python): Remove documentation for PYCFILES
416 and PYOFILES. Update the first paragraphes.
417
4182001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
419
420 * automake.in (FOREIGN, GNU, GNITS, AC_CANONICAL_HOST,
421 AC_CANONICAL_SYSTEM, MOSTLY_CLEAN, DIST_CLEAN): Define as constants.
422 Adjust usage everywhere.
423
4242001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
425
426 * automake.in (libtool_files, libtool_sometimes, common_files,
427 common_sometimes, config_aux_path): Use qw to simplify definition.
428 (scan_texinfo_file) <clean_suffixes, predefined_index,
429 hidden_index>: Likewise.
430 (scan_autoconf_traces) <traced>: Likewise.
431 (scan_one_autoconf_file, check_gnu_standards, resolve_linker):
432 Likewise.
433
4342001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
435
436 * automake.in (handle_single_transform_list): Pass $nonansi_obj to
437 derive_suffix. Don't use an hardcoded 'o' for object extensions.
438 (derive_suffix): Accept $OBJ as a second argument, don't
439 hardcode 'o'.
440 * tests/suffix5.test: New test.
441 * tests/Makefile.am (TESTS): Add suffix5.test.
442 Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
443
4442001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr>
445
446 * automake.in (handle_single_transform_list): Don't call
447 $lang->target_hook for undefinied langages.
448 * tests/suffix4.test: New test.
449 * tests/Makefile.am (TESTS): Add suffix4.test.
450 Reported by Dmitry Mikhin <dmitrym@acres.com.au>.
451
4522001-11-05 Akim Demaille <akim@epita.fr>
453
454 * automake.in (@common_sometimes, &handle_configure): No longer
455 use stamp-hin.
456 * lib/am/remake-hdr.am: Adjust.
457 * tests/confh.test: There is no stamp.hin.
458
4592001-11-01 Akim Demaille <akim@epita.fr>
460
461 * lib/am/lex.am, lib/am/yacc.am: Use the output file name in
462 `#line' and multiple inclusion guards.
463 * lib/ylwrap: Remove debugging code.
464 (input_dir, input_rx): Move where used.
465 Use the output file name in `#line'.
466
4672001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
468
469 * automake.in (transform): Update documentation.
470
4712001-10-31 Alexandre Duret-Lutz <duret_g@epita.fr>
472
473 * m4/gcj.m4 (AM_PROG_GCJ): Define GCJFLAGS if unset.
474 Reported by Olivier Louchart-Fletcher <olivier@zipworld.com.au>.
475
4762001-10-30 Akim Demaille <akim@epita.fr>
477
478 * automake.in (&create): Reinstall.
479
4802001-10-30 Akim Demaille <akim@epita.fr>
481
482 * automake.in (&append_exeext): Use macro_delete.
483
4842001-10-30 Akim Demaille <akim@epita.fr>
485
486 * automake.in ($verbose): Remove, inherited from
487 Automake::General.
488 (&variable_delete): Rename as...
489 (&macro_delete): this, for consistency.
490 (&variable_assert): New.
491 (&variable_value_as_list, &variable_value_as_list_recursive_worker):
492 Use it.
493
4942001-10-29 Akim Demaille <akim@epita.fr>
495
496 * m4/lispdir.m4 (AM_PATH_LISPDIR): Use AC_RUN_LOG to avoid
497 cluttering configure's stdout.
498
4992001-10-28 Akim Demaille <akim@epita.fr>
500
501 * automake.in: Various formatting changes.
502 (create): Remove, unused.
503
5042001-10-28 Akim Demaille <akim@epita.fr>
505
506 * automake.in (&append_exeext): New.
507 (&am_primary_prefixes): Use it.
508
5092001-10-28 Akim Demaille <akim@epita.fr>
510
511 * automake.in (am_primary_prefixes): Now, in accordance with its
512 comment, return the list of prefixes actually used, not all the
513 possible prefixes for a primary.
514 (&handle_libraries, &handle_ltlibraries, &handle_java)
515 (&am_install_var): Adjust.
516 * Makefile.am (maintainer-check): Allow `local $_;'.
517
5182001-10-28 Akim Demaille <akim@epita.fr>
519
520 * automake.in: Various formatting changes.
521 (&variable_defined): Second argument is optional.
522
5232001-10-28 Akim Demaille <akim@epita.fr>
524
525 * automake.in (&am_primary_prefixes): Now returns a list, not a
526 hash.
527 (&handle_libraries, &handle_ltlibraries, &handle_java)
528 (&am_install_var): Adjust.
529
5302001-10-28 Akim Demaille <akim@epita.fr>
531
532 * automake.in (@libtoolize_files, @libtoolize_sometimes): Rename
533 as...
534 (@libtool_files, @libtool_sometimes): these.
535 ($libtool_location): Remove, completely replaced by $seen_libtool.
536 (&require_file_internal): Do not run libtoolize, that's
537 autoreconf's job.
538
5392001-10-28 Akim Demaille <akim@epita.fr>
540
541 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
542 * tests/acouttbs.test, tests/auxdir.test, tests/colon.test,
543 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
544 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
545 * tests/conf2.test, tests/config.test, tests/depcomp.test,
546 * tests/depcomp2.test, tests/discover.test, tests/fpinst2.test,
547 * tests/fpinstall.test, tests/ldadd.test, tests/libobj7.test,
548 * tests/libobj8.test, tests/output.test, tests/output2.test,
549 * tests/output3.test, tests/output4.test, tests/output5.test,
550 * tests/pr2.test, tests/remake.test, tests/remake2.test,
551 * tests/remake3.test, tests/scripts.test, tests/stamph.test,
552 * tests/subdir.test, tests/subdir2.test, tests/subdir4.test,
553 * tests/tagsub.test, tests/texinfo8.test: Remove PACKAGE and VERSION
554 assignments.
555
5562001-10-28 Akim Demaille <akim@epita.fr>
557
558 * automake.in (&scan_autoconf_traces): Use eq for equality.
559 Anchor regexps.
560 Remove dead comment.
561 (&initialize_per_input): Don't initialize several times the same
562 vars.
563
5642001-10-28 Akim Demaille <akim@epita.fr>
565
566 * automake.in (scan_one_autoconf_file): When using %generalize, be
567 sure to replace only words. AC_FUNC_OBSTACK was matching
568 M4_AC_FUNC_OBSTACK.
569
5702001-10-26 Akim Demaille <akim@epita.fr>
571
572 * tests/stamph2.test: Strengthen.
573 * tests/confh2.test, tests/confh3.test: Remove.
574 These are bad tests: they don't check the effects, but some
575 internal details in Makefile.
576 And they are covered by stamph2.test.
577
5782001-10-26 Akim Demaille <akim@epita.fr>
579
580 Now that stamp-h's are created by config.status, we don't need to
581 handle them in Makefile's.
582
583 * lib/am/remake-hdr.am (%STAMP%): Just run config.status.
584 * m4/header.m4 (_AM_STAMP): New.
585 (_AM_CONFIG_HEADER): Use it.
586
5872001-10-26 Akim Demaille <akim@epita.fr>
588
589 * automake.in (&generate_makefile, &handle_texinfo_helper)
590 (&handle_man_pages, &handle_dist, &handle_configure, &handle_all)
591 (&define_pretty_variable, &read_am_file, &file_contents_internal)
592 (&am_install_var, &push_dist_common, &unquote_m4_arg): Simplify
593 `join (' ', @list)' into `"@list"'.
594
5952001-10-26 Akim Demaille <akim@epita.fr>
596
597 * automake.in (@config_fullnames, @config_names): Remove.
598 (@config_headers): Now contains the actual spec used in
599 AC_CONFIG_HEADERS.
600 (&split_config_file_spec): New.
601 (&handle_tags, &handle_configure, &handle_all, &scan_autoconf_traces)
602 (&scan_one_autoconf_file): Adjust.
603 (&scan_one_autoconf_file): Pff, don't think _AM_CONFIG_HEADER is
604 AM_CONFIG_HEADER.
605
6062001-10-26 Akim Demaille <akim@epita.fr>
607
608 * m4/header.m4 (_AM_CONFIG_HEADER): New.
609 (AM_CONFIG_HEADER): Use it.
610
6112001-10-26 Akim Demaille <akim@epita.fr>
612
613 * automake.in (&handle_configure): Use the config.status 2.50
614 invocation syntax for config files and headers.
615 autoheader needs the name of the file to create, not from what it
616 must be created, hence CONFIG_HEADER_FULL is $one_name, not
617 $one_fullname.
618 * lib/am/configure.am, lib/am/remake-hdr.am: Likewise.
619 * tests/confsub.test (SUBDIRS): Adjust to the new config.status
620 invocation.
621 Strengthen: Use the non-default config.hin source.
622 Strengthen: Make sure config.h is properly updated when config.hin
623 is changed.
624
6252001-10-26 Akim Demaille <akim@epita.fr>
626
627 * automake.in (&handle_configure): Seeing Automake files in
628 @other_input_files is a programming error, not merely something to
629 ignore.
630 Factor slightly the code.
631
6322001-10-26 Akim Demaille <akim@epita.fr>
633
634 * automake.in ($canonical_location): New.
635 Use it.
636 (&require_config_file, $line_error): Remove.
637
6382001-10-24 Akim Demaille <akim@epita.fr>
639
640 * automake.in: Use &verbose.
641 (&generate_makefile, &scan_texinfo_file, &scan_aclocal_m4): Use
642 Automake::XFile.
643
6442001-10-25 Alexandre Duret-Lutz <duret_g@epita.fr>
645
646 * lib/am/python.am (install-%DIR%PYTHON, uninstall-%DIR%PYTHON):
647 Have the basename step optional and use %NDIR% instead of %DIR% in
648 filenames in order to support 'nobase_'.
649
6502001-10-24 Alexandre Duret-Lutz <duret_g@epita.fr>
651
652 * automake.in (handle_languages, handle_single_transform_list,
653 lang_c_rewrite): Use require_conf_file instead of
654 require_config_file to require depcomp or compile from
655 Makefile.am. (This is a part of my patch of 2001-10-15 which got
656 mistakenly reverted.)
657
6582001-10-24 Akim Demaille <akim@epita.fr>
659
660 * tests/confh.test: Since 2001-10-20 Kevin Ryde, stamp-h is
661 stamp-h1.
662
6632001-10-24 Akim Demaille <akim@epita.fr>
664
665 Since the ansi2knr patch from 2001-10-20 Kevin Ryde, `$U' can
666 appear in Makefile.in in the clean rule.
667
668 * tests/cxxansi.test: Adjust.
669
6702001-10-24 Akim Demaille <akim@epita.fr>
671
672 * automake.in (&am_print_error, &am_file_error, &am_macro_error)
673 (&am_target_error, &am_line_error, &am_conf_error, &am_file_warning):
674 Rename as...
675 (&print_error, &file_error, &macro_error, &target_error, &line_error)
676 (&conf_error, &file_warning): these.
677 (&file_warning): Fix the prototype and argument handling.
678 (&am_line_warning): Remove, unused.
679
680 Also, repair the misapplication of previous patches.
681
6822001-10-21 Akim Demaille <akim@epita.fr>
683
684 * automake.in ($ac_output_location): Replace with...
685 ($ac_config_files_location): this.
686 (&scan_autoconf_traces): We don't need $file and $line, $here is
687 enough.
688 (&scan_one_autoconf_file): Use `$in_ac_output' to store the macro
689 name (AC_OUTPUT or AC_CONFIG_FILES) for error messages.
690
6912001-10-21 Akim Demaille <akim@epita.fr>
692
693 * automake.in (&require_file_with_macro): Use &require_file.
694 (&read_am_file): Move the definition of $here at its proper place.
695
6962001-10-21 Akim Demaille <akim@epita.fr>
697
698 * automake.in ($libtool_line, $seen_pythondir): Replace with...
699 ($libtool_location, $pythondir_location): these.
700 (&require_conf_file_with_line, &require_conf_file_with_line):
701 Remove, unused.
702 (&require_file): Don't forget $where.
703 (&require_conf_file): Ahem... Fix the name.
704 (&require_config_file): Invoke &require_conf_file, not yourself.
705 (&am_line_error): Fix the default am_file_error invocation.
706
7072001-10-21 Akim Demaille <akim@epita.fr>
708
709 * automake.in ($seen_lispdir): Replace with...
710 ($am_lispdir_location): this.
711 (&require_conf_file): New.
712 (&require_config_file, &require_conf_file_with_line,
713 (&require_conf_file_with_conf_line): Use it.
714 (&require_conf_file_with_macro): New.
715
7162001-10-21 Akim Demaille <akim@epita.fr>
717
718 * automake.in ($config_header_line, $ac_output_line)
719 ($ac_gettext_line, $package_version_line): Replace with...
720 ($config_header_location, $ac_output_location)
721 ($ac_gettext_location, $package_version_location): these.
722 (&require_file_with_conf_line, &require_file_with_line): Remove,
723 no longer used.
724
7252001-10-21 Akim Demaille <akim@epita.fr>
726
727 * automake.in (&require_file_internal): Instead of $file and $line,
728 take $where as first argument.
729 Adjust all callers.
730 (&require_file_with_macro): New.
731 Use it where internal black magic was used to recover the location
732 of a macro definition.
733
7342001-10-21 Akim Demaille <akim@epita.fr>
735
736 * automake.in (&read_am_file): Define and use `$here'.
737 Avoid using am_line_error.
738
7392001-10-21 Akim Demaille <akim@epita.fr>
740
741 * automake.in (&am_target_error): New.
742 Use it where appropriate instead of...
743 (&am_line_error): this.
744 Using it for a target is a croak error.
745
7462001-10-21 Akim Demaille <akim@epita.fr>
747
748 * automake.in (&am_macro_error): New.
749 Use it where appropriate instead of...
750 (&am_line_error): this.
751 Using it for a macro is a croak error.
752
7532001-10-21 Akim Demaille <akim@epita.fr>
754
755 * tests/asm.test: s/AC_PROG_AS/AM_PROG_AS/.
756 AC_OUTPUT a Makefile.
757
7582001-10-21 Akim Demaille <akim@epita.fr>
759
760 * automake.in (%var_line): Rename as...
761 (%var_location): this.
762 Use it consistently as the location where the macro is defined,
763 file and line when possible, otherwise just file.
764 (&read_am_file): Rules have their own location tracking, don't
765 pollute %var_location.
766
7672001-10-21 Akim Demaille <akim@epita.fr>
768
769 * automake.in (am_line_error): Clarify.
770
7712001-10-21 Akim Demaille <akim@epita.fr>
772
773 * automake.in (&am_print_error): Set $exit_status since all your
774 users do.
775 (&am_error, &am_file_error, &am_line_error, &am_conf_error):
776 Don't.
777 (&am_conf_line_error, &am_conf_line_warning): Remove.
778 Adjust callers to use &am_file_error and...
779 (&am_file_warning): new.
780
7812001-10-21 Akim Demaille <akim@epita.fr>
782
783 * m4/regex.m4: Use AC_LIBOBJ.
784 Require 2.50, and use AC_LIBSOURCES freely.
785 * tests/asm.tests: Formatting changes.
786 Exercise AM_PROG_AS.
787
7882001-10-21 Akim Demaille <akim@epita.fr>
789
790 * tests/install.test: This test is an empty shell, do not run
791 automake.
792 * tests/Makefile.am (TESTS): Don't run it.
793 * tests/defs (ACLOCAL): When using gettext, pass in the installed
794 aclocaldir.
795 * tests/subdircond.test (SUBDIRS): AM_GNU_GETTEXT needs automake
796 --add--missing.
797 * tests/obsolete2.test: Remove, merged into...
798 * tests/obsolete.test: here.
799 Both aclocal and automake should complain.
800
8012001-10-21 Akim Demaille <akim@epita.fr>
802
803 * automake.in (scan_autoconf_traces): Don't recognize AC_SUBSTs
804 for symbols which cannot be Make macro names.
805 (scan_one_autoconf_file): `$here' is new.
806 Use it consistently instead of `1' to remember a token was seen.
807
8082001-10-21 Akim Demaille <akim@epita.fr>
809
810 * tests/subdircond.test: Requires gettext.
811 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
812 * tests/libobj6.test, tests/libobj9.test, tests/libtool.test,
813 * tests/libtool2.test, tests/ltdeps.test, tests/ltlibobjs.test,
814 * tests/nolink.test, tests/obsolete.test, tests/pr72.test,
815 * tests/sinclude.test, tests/subdircond.test, tests/subobj4.test:
816 Produce valid configure.in, use aclocal appropriately, declare
817 when libtool is required.
818
8192001-10-21 Akim Demaille <akim@epita.fr>
820
821 * m4/lex.m4: Don't run AC_DECL_YYTEXT, Autoconf does.
822 * automake.texi (Macros, Yacc and Lex): Adjust.
823 * automake.in ($seen_decl_yytext): Rename as...
824 ($seen_prog_lex): this.
825 (&scan_autoconf_traces): Add AC_PROG_LEX support.
826 (&scan_one_autoconf_file, &lang_lex_finish): Adjust.
827
8282001-10-21 Akim Demaille <akim@epita.fr>
829
830 * automake.in (&scan_autoconf_traces): Add support for
831 AM_PATH_LISPDIR and AM_PATH_PYTHON.
832
8332001-10-21 Akim Demaille <akim@epita.fr>
834
835 * tests/defs (ACLOCAL): Point to the installed aclocaldir if
836 libtool is required.
837 * tests/lex.test: Run AC_INIT once.
838 * tests/ldflags.test, tests/listval.test, tests/suffix2.test:
839 Libtool is required.
840 * tests/header.test: Build a correct configure.in.
841 * tests/defun2.test (configure.in): Be a bit respectful with
842 Autoconf, close the macro invocations.
843 * tests/confdeps.test: Even when not using aclocal, aclocal.m4
844 must be correct.
845
846 * automake.in (scan_autoconf_traces): Add support for
847 AC_CANONICAL_HOST, AC_CANONICAL_SYSTEM, A[CM]_PROG_LIBTOOL,
848 AM_CONFIG_HEADER, AM_MAINTAINER_MODE.
849 * tests/condincl.test (target): Better pattern, to avoid matching
850 the definition of `target_alias' which is now properly discovered
851 as an AC_SUBST by traces.
852 * cond4.test: Better grep pattern: After all, why shouldn't
853 TWO_FALSE be AC_SUBST properly.
854 * tests/installsh.test (AUTOMAKE, ACLOCAL): Adjust.
855
8562001-10-20 Kevin Ryde <user42@zip.com.au>
857
858 * lib/am/ansi2knr.am (mostlyclean-kr): Only rm *_.c when
859 actually using ansi2knr.
860
861 * automake.in (handle_configure): Always put a number on $stamp_name,
862 to match AM_CONFIG_HEADER.
863
8642001-10-20 Tom Tromey <tromey@redhat.com>
865
866 * tests/Makefile.am (TESTS): Added condd.test.
867 (XFAIL_TESTS): Added condd.test.
868 * tests/condd.test: New file.
869
8702001-10-20 Akim Demaille <akim@epita.fr>
871
872 * automake.in (&scan_autoconf_traces): Add support for
873 AM_C_PROTOTYPES, AM_GNU_GETTEXT, AM_PROG_CC_C_O, and
874 AC_CONFIG_AUX_DIR.
875 * tests/alpha.test (configure.in): Automake wants a Makefile.
876
8772001-10-20 Akim Demaille <akim@epita.fr>
878
879 * automake.in (scan_autoconf_traces): Use an unlikely to be used
880 separator between trace arguments, in particular not `:' as it is
881 within AC_CONFIG_FILES's $1.
882
8832001-10-20 Akim Demaille <akim@epita.fr>
884
885 * tests/alpha.test (configure.in): Create, don't append. A single
886 AC_INIT is enough.
887
8882001-10-20 Akim Demaille <akim@epita.fr>
889
890 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutput2.test,
891 * tests/acoutqnl.test, tests/acouttbs.test, tests/all.test,
892 * tests/alpha.test, tests/ansi.test, tests/asm.test,
893 * tests/auxdir.test, tests/auxdir2.test, tests/backsl2.test,
894 * tests/badline.test, tests/block.test, tests/canon2.test,
895 * tests/check.test, tests/checkall.test, tests/clean.test,
896 * tests/colneq.test, tests/colneq2.test, tests/colon.test,
897 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
898 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
899 * tests/comment.test, tests/comment3.test, tests/cond.test,
900 * tests/cond2.test, tests/cond6.test, tests/cond7.test,
901 * tests/condincl.test, tests/condincl2.test, tests/condman.test,
902 * tests/condman2.test, tests/confdist.test, tests/confh.test,
903 * tests/confh2.test, tests/confh3.test, tests/confvar.test,
904 * tests/confvar2.test, tests/copy.test, tests/ctarget1.test,
905 * tests/cxxcpp.test, tests/dash.test, tests/dejagnu.test,
906 * tests/dejagnu2.test, tests/distcommon.test, tests/distdir.test,
907 * tests/else.test, tests/empty.test, tests/exdir.test,
908 * tests/exdir2.test, tests/extra3.test, tests/extra4.test,
909 * tests/flibs.test, tests/fnoc.test, tests/fo.test,
910 * tests/fonly.test, tests/fortdep.test, tests/fpinst2.test,
911 * tests/fpinstall.test, tests/gcj2.test, tests/gnits.test,
912 * tests/include.test, tests/info.test, tests/insh.test,
913 * tests/insh2.test, tests/install.test, tests/installsh.test,
914 * tests/instdata.test, tests/instdata2.test, tests/instexec.test,
915 * tests/insthook.test, tests/instman.test, tests/instman2.test,
916 * tests/java.test, tests/javaprim.test, tests/javasubst.test,
917 * tests/libobj3.test, tests/link_f_only.test, tests/lisp.test,
918 * tests/man.test, tests/mclean.test, tests/mdate.test,
919 * tests/mdate2.test, tests/mdate3.test, tests/mdate4.test,
920 * tests/mkinst2.test, tests/mkinstall.test, tests/nodepcomp.test,
921 * tests/noinst.test, tests/obsolete.test, tests/obsolete2.test,
922 * tests/outdir.test, tests/output.test, tests/output2.test,
923 * tests/output3.test, tests/output4.test, tests/output5.test,
924 * tests/package.test, tests/pluseq.test, tests/pluseq2.test,
925 * tests/pluseq3.test, tests/pluseq5.test, tests/pluseq6.test,
926 * tests/pluseq8.test, tests/ppf77.test, tests/pr2.test,
927 * tests/primary.test, tests/proginst.test, tests/python.test,
928 * tests/remake.test, tests/remake2.test, tests/remake3.test,
929 * tests/rulepat.test, tests/scripts.test, tests/seenc.test,
930 * tests/sinclude.test, tests/spell.test, tests/spell3.test,
931 * tests/spelling.test, tests/stamph.test, tests/subdir.test,
932 * tests/subdir2.test, tests/subdircond.test, tests/subst.test,
933 * tests/symlink.test, tests/symlink2.test, tests/symlink3.test,
934 * tests/syntax.test, tests/tags.test, tests/tagsub.test,
935 * tests/texinfo.test, tests/texinfo10.test, tests/texinfo2.test,
936 * tests/texinfo3.test, tests/texinfo4.test, tests/texinfo5.test,
937 * tests/texinfo6.test, tests/texinfo7.test, tests/texinfo8.test,
938 * tests/texinfo9.test, tests/vars.test, tests/vartar.test,
939 * tests/version.test, tests/version2.test, tests/version3.test,
940 * tests/version4.test, tests/vpath.test, tests/vtexi.test,
941 * tests/vtexi2.test, tests/werror.test: Run aclocal before automake.
942
9432001-10-20 Akim Demaille <akim@epita.fr>
944
945 * tests/acoutnoq.test, tests/acoutput.test, tests/acoutqnl.test,
946 * tests/acouttbs.test, tests/asm.test, tests/colon.test,
947 * tests/colon2.test, tests/colon3.test, tests/colon4.test,
948 * tests/colon5.test, tests/colon6.test, tests/colon7.test,
949 * tests/conf2.test, tests/confh.test, tests/confh2.test,
950 * tests/confh3.test, tests/confh4.test, tests/config.test,
951 * tests/confsub.test, tests/depend3.test, tests/discover.test,
952 * tests/fpinst2.test, tests/fpinstall.test, tests/gnits.test,
953 * tests/header.test, tests/ldadd.test, tests/ldflags.test,
954 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
955 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
956 * tests/libobj9.test, tests/mdate4.test, tests/obsolete.test,
957 * tests/output.test, tests/output2.test, tests/output3.test,
958 * tests/output4.test, tests/output5.test, tests/package.test,
959 * tests/parse.test, tests/pr2.test, tests/remake.test,
960 * tests/remake2.test, tests/remake3.test, tests/scripts.test,
961 * tests/stamph.test, tests/subdir.test, tests/subdir2.test,
962 * tests/subdir4.test, tests/subdirbuiltsources.test,
963 * tests/subobj4.test, tests/tagsub.test, tests/texinfo8.test,
964 * tests/yacc5.test, tests/yacc6.test, tests/yacc7.test: Remove
965 AC_ARG_PROGRAM, AC_PROG_INSTALL and AC_PROG_MAKE_SET invocation
966 since AM_INIT_AUTOMAKE requires them.
967
9682001-10-20 Akim Demaille <akim@epita.fr>
969
970 * tests/defs (configure.in): Use credible AM_INIT_AUTOMAKE
971 arguments.
972 Don't run AC_ARG_PROGRAM another time, it is required by
973 AM_INIT_AUTOMAKE.
974 * tests/aclocal.test: Work on the default configure.in
975 * tests/config.test (configure.in): Don't AC_ARG_PROGRAM.
976 First AM_INIT_AUTOMAKE, then AM_CONFIG_HEADER.
977
978 Be realistic in testing: AC_INIT is required for Autoconf.
979 Broken so called optimized tests break trace handling.
980
981 * tests/aclibobj.test, tests/aclocal.test, tests/acoutnoq.test,
982 * tests/acoutput.test, tests/acoutput2.test, tests/acoutqnl.test,
983 * tests/acouttbs.test, tests/acsilent.test, tests/alpha.test,
984 * tests/colon.test, tests/colon2.test, tests/colon3.test,
985 * tests/colon4.test, tests/colon5.test, tests/colon6.test,
986 * tests/colon7.test, tests/cond.test, tests/cond2.test,
987 * tests/cond3.test, tests/cond5.test, tests/conf2.test,
988 * tests/confh.test, tests/confh2.test, tests/confh3.test,
989 * tests/confh4.test, tests/config.test, tests/confsub.test,
990 * tests/ctarget1.test, tests/depcomp.test, tests/depend3.test,
991 * tests/distcommon.test, tests/dup3.test, tests/fpinst2.test,
992 * tests/fpinstall.test, tests/header.test, tests/ldflags.test,
993 * tests/libobj.test, tests/libobj10.test, tests/libobj2.test,
994 * tests/libobj6.test, tests/libobj7.test, tests/libobj8.test,
995 * tests/libobj9.test, tests/output.test, tests/output2.test,
996 * tests/output3.test, tests/output4.test, tests/parse.test,
997 * tests/pr2.test, tests/recurs.test, tests/recurs2.test,
998 * tests/remake.test, tests/remake2.test, tests/remake3.test,
999 * tests/req.test, tests/scripts.test, tests/subdir.test,
1000 * tests/subdir2.test, tests/subdir4.test, tests/subobj4.test,
1001 * tests/tagsub.test, tests/texinfo8.test, tests/version.test,
1002 * tests/version2.test: Add AC_INIT in `configure.in'.
1003
10042001-10-20 Akim Demaille <akim@epita.fr>
1005
1006 * automake.in (&scan_autoconf_traces): Add support for
1007 AM_INIT_AUTOMAKE, AM_CONDITIONAL.
1008 Let @args have a more natural M4 correspondence: $1 is args[1], no
1009 args[0] etc.
1010 (&scan_autoconf_files): Using autoconf traces is no longer a
1011 complement of the previous ad hoc scheme: use either.
1012
10132001-10-20 Akim Demaille <akim@epita.fr>
1014
1015 * automake.in (&scan_one_autoconf_file): `%generalize' is new, and
1016 factors dedicated $libsources assignments.
1017
10182001-10-20 Akim Demaille <akim@epita.fr>
1019
1020 * m4/error.m4, m4/obstack.m4, m4/ptrdiff.m4, m4/strtod.m4:
1021 Remove, since Autoconf 2.52 has them.
1022 * automake.in, aclocal.in, automake.texi: Adjust.
1023
10242001-10-19 Akim Demaille <akim@epita.fr>
1025
1026 * automake.in (&read_main_am_file): s/generated automatically/
1027 generated/.
1028 Insert @configure_input@, since 2.50 no longer output this
1029 automatically for Makefiles.
1030
10312001-10-19 Kevin Ryde <user42@zip.com.au>
1032
1033 * lib/am/check.am (check-TESTS): Add an "else true" to work with
1034 Ultrix 4.5 /bin/sh when $(TESTS) is empty.
1035
10362001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1037
1038 * tests/Makefile.am (TESTS, XFAIL_TESTS): Add nobase.test.
1039 * tests/nobase.test: New file. Based on a bug report
1040 from Martin Frydl <martin@idoox.com>.
1041
10422001-10-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1043
1044 * automake.in (am_install_var): Don't strip nobase_ from $X, do
1045 this with $nodir_name only. Use $nodir_name where appropriate.
1046
10472001-10-15 Alexandre Duret-Lutz <duret_g@epita.fr>
1048
1049 * automake.in (handle_languages, handle_single_transform_list,
1050 lang_c_rewrite): Use require_conf_file instead of
1051 require_config_file to require depcomp or compile from Makefile.am.
1052 (require_aux_file_with_line): New function, adapted from
1053 require_conf_gile_with_line.
1054 (require_conf_file_with_line, require_conf_file_with_conf_line):
1055 Simplify using require_aux_file_with_line.
1056 (require_config_file): Simplify using require_conf_file_with_conf_line.
1057 (require_conf_file): New function.
1058
10592001-10-15 Akim Demaille <akim@epita.fr>
1060
1061 * m4/depend.m4 (AM_DEP_TRACK): Use AC_SUBST([AMDEPBACKSLASH])
1062 normally, what is wrong is that automake outputs a variable
1063 definition for it, hence...
1064 * automake.in (scan_one_autoconf_file): don't.
1065
1066 * m4/depout.m4 (_AM_OUTPUT_DEPENDENCY_COMMANDS): New, extracted
1067 from...
1068 (AM_OUTPUT_DEPENDENCY_COMMANDS): here. Adjust.
1069 Use AC_CONFIG_COMMANDS.
1070 (_AM_OUTPUT_DEPENDENCY_COMMANDS): Use AS_DIRNAME and AS_MKDIR_P.
1071
10722001-10-15 Akim Demaille <akim@epita.fr>
1073
1074 * m4/header.m4 (AM_CONFIG_HEADER): Don't use m4_patsubst.
1075
10762001-10-15 Akim Demaille <akim@epita.fr>
1077
1078 * automake.in (&variable_conditions): Be deterministic and Perl
1079 version independent: sort the result.
1080 (&variable_output, &variable_pretty_output): Sort all the @conds,
1081 not only when defaulted.
1082 * tests/cond3.test: Adjust.
1083
10842001-10-15 Akim Demaille <akim@epita.fr>
1085
1086 * automake.in: Formatting changes.
1087
10882001-10-15 Akim Demaille <akim@epita.fr>
1089
1090 * aclocal.in: Use Automake::General and Automake::XFile.
1091 Use find_configure_ac.
1092 Output the Emacs tags for Autoconf mode selection.
1093
10942001-10-10 Akim Demaille <akim@epita.fr>
1095
1096 * lib/COPYING, COPYING, lib/config.guess, lib/config.sub: Update
1097 from master copies.
1098
10992001-10-09 Akim Demaille <akim@epita.fr>
1100
1101 Do not use Autoconf internals.
1102
1103 * tests/dirname.test: Don't use AC_PLAIN_SCRIPT.
1104 * m4/header.m4 (_AM_DIRNAME): Use regexp and patsubst, not
1105 m4_regexp and m4_patsubst, since the latter are reserved for ERE
1106 macro in GNU M4 1.5.
1107
11082001-10-08 Akim Demaille <akim@epita.fr>
1109
1110 * m4/cond.m4 (AM_CONDITIONAL): Don't use m4_match as Autoconf
1111 changed its name.
1112
11132001-10-05 Akim Demaille <akim@epita.fr>
1114
1115 * automake.in (scan_autoconf_files): Use find_configure_ac from
1116 General.
1117
11182001-10-02 Akim Demaille <akim@epita.fr>
1119
1120 * lib/Automake/Struct.pm: Update from Autoconf.
1121 * lib/Automake/General.pm, lib/Automake/XFile.pm: New, from CVS
1122 Autoconf.
1123 * automake.in: Use them.
1124 (&uniq, $me): Remove, as they are provided by Automake::General.
1125
11262001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1127
1128 * Makefile.am (maintainer-check): Don't check for 'cd' calls in m4.
1129 * lib/am/tags.am (GTAGS): Use $(am__cd) instead of 'CDPATH=: && cd'.
1130 * lib/am/dejagnu.am (check-DEJAGNU): Likewise.
1131 * lib/am/distdir.am (distcheck): Likewise.
1132 * lib/am/texinfos.am (install-info-am, dist-info): Rewrite without
1133 using cd so we don't have to fiddle with CDPATH.
1134 * lib/am/header-vars.am (am__cd): Define so as to support Zsh and
1135 DOSish path separator.
1136
11372001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1138
1139 * lib/am/python.am (install-%DIR%PYTHON,
1140 uninstall-%DIR%PYTHON): Strip path of source file.
1141 (clean-python): Comment out.
1142
11432001-10-02 Alexandre Duret-Lutz <duret_g@epita.fr>
1144
1145 * automake.in (handle_python): Use require_conf_file_with_conf_line
1146 instead of require_file_with_conf_line, so that elisp-comp and
1147 py-compile are installed in the aux-directory.
1148 (handle_emacs_lisp): Likewise. Define elisp_comp.
1149 * lib/am/lisp.am (.el.elc): Use elisp_comp.
1150
11512001-10-01 Akim Demaille <akim@epita.fr>
1152
1153 * lib/am/distdir.am (distcheck): Report the trailing files.
1154 Run `dist-gzip', not `dist', as it may leave other distribution
1155 flavors.
1156
11572001-09-29 Paul Eggert <eggert@twinsun.com>
1158
1159 * lib/mkinstalldirs: Use "mkdir -p" if it works, as that fixes
1160 bugs when making file names with unusual characters. Quote chmod
1161 arg "$dirmode", in case it contains white space.
1162
1163 Incorporate the following change from autoconf mkinstalldirs:
1164
1165 1999-04-10 Ben Elliston <bje@cygnus.com>
1166
1167 Add `-m' flag to specify the mode of a newly created
1168 directory. Add command line usage and `-h', `--help' options.
1169 Contributed by Jeff Garzik.
1170
11712001-09-27 Akim Demaille <akim@epita.fr>
1172
1173 * m4/cond.m4, m4/init.m4, m4/header.m4: Remove Autoconf 2.13 code.
1174
11752001-09-27 Akim Demaille <akim@epita.fr>
1176
1177 * lib/am/distdir.am (dist): Rename as...
1178 (dist-gzip): this.
1179 (dist): Additional name for dist-all.
1180 * automake.texi (Options, Dist): Adjust.
1181
11822001-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
1183
1184 * aclocal.in (obsolete_macros): Update AM_EXEEXT message.
1185 * automake.in (obsolete_macros): Likewise.
1186 (seen_objext): Remove (unused).
1187 (scan_one_autoconf_file): Don't handle AC_OBJEXT.
1188 * lib/am/header-vars.am (EXEEXT, OBJEXT,
1189 PATH_SEPARATOR): New variables.
1190 * tests/obsolete2.test: Use AM_FUNC_FNMATCH instead of AM_EXEEXT.
1191
11922001-09-23 Tim Van Holder <tim.van.holder@pandora.be>
1193
1194 * m4/auxdir.m4, m4/init.m4: Require autoconf 2.50 and rely on it to
1195 neutralize CDPATH for us.
1196 * m4/init.m4: Don't substitute EXEEXT or OBJEXT anymore.
1197 * lib/am/texibuild.am: Use $(PATH_SEPARATOR), not ':' to build
1198 TEXINPUTS.
1199
12002001-09-22 Akim Demaille <akim@epita.fr>
1201
1202 * configure.in, NEWS: Bump to 1.5a.
1203 Require 2.52.
1204
12052001-09-22 Paul Eggert <eggert@twinsun.com>
1206
1207 * ChangeLog, ChangeLog.1996, ChangeLog.1998, ChangeLog.2000,
1208 Makefile.am, NEWS, README, TODO, configure.in, lib/Makefile.am,
1209 lib/acinstall, lib/am/Makefile.am, m4/Makefile.am, m4/as.m4,
1210 m4/auxdir.m4, m4/ccstdc.m4, m4/cond.m4, m4/depend.m4,
1211 m4/depout.m4, m4/dmalloc.m4, m4/error.m4, m4/gcj.m4, m4/header.m4,
1212 m4/init.m4, m4/install-sh.m4, m4/lex.m4, m4/lispdir.m4,
1213 m4/maintainer.m4, m4/make.m4, m4/minuso.m4, m4/missing.m4,
1214 m4/multi.m4, m4/obstack.m4, m4/protos.m4, m4/ptrdiff.m4,
1215 m4/python.m4, m4/regex.m4, m4/sanity.m4, m4/strip.m4,
1216 m4/termios.m4, m4/winsz.m4: Add copyright notice.
1217
1218 * INSTALL, lib/INSTALL: Upgrade to latest autoconf version,
1219 which has a copyright notice.
1220
1221 * m4/strtod.m4: Correct the dates on the copyright notice.
1222
12232001-09-17 Akim Demaille <akim@epita.fr>
1224
1225 * lib/missing (autom4te): New.
1226 (aclocal, autoconf, automake, autoheader, help2man): Propagate
1227 actual failures.
1228
12292001-08-27 Tom Tromey <tromey@redhat.com>
1230
1231 * automake.texi (A Shared Library): Clarify installation
1232 requirement.
1233 (Install): Typo. From Adrian Bunk.
1234
12352001-08-27 Tom Tromey <tromey@redhat.com>
1236
1237 * automake.texi (Macros): Typo fix.
1238 From Christian Cornelssen
1239
12402001-08-27 Tom Tromey <tromey@redhat.com>
1241
1242 * tests/ansi3.test, tests/ansi5.test, tests/ccnoco.test,
1243 tests/cond4.test, tests/cond16.test, tests/cond18.test,
1244 tests/cond19.test, tests/depcomp2.test, tests/depend2.test,
1245 tests/lex3.test, tests/pr87.test, tests/subobj3.test,
1246 tests/substref.test: Clear CFLAGS.
1247
1248 * automake.texi (Yacc and Lex): Mention lex, not yacc.
1249 From Alexey Mahotkin.
1250
12512001-08-27 Tom Tromey <tromey@redhat.com>
1252
1253 * tests/yacc7.test: Use test -f, not test -e.
1254
12552001-08-27 Adrian Bunk <bunk@fs.tum.de>
1256
1257 * automake.texi (etags): Typo fix.
1258
12592001-08-27 Guido Draheim <guidod@gmx.de>
1260
1261 * automake.in : restrict ansi2knr option to be a filepath
1262
12632001-08-23 Richard Boulton <richard@tartarus.org>
1264
1265 * tests/yacc7.test: Actually add this file: was accidentally omitted.
1266
12672001-08-22 Tom Tromey <tromey@redhat.com>
1268
1269 * automake.texi (Conditionals): Mention that conditionals must
1270 always be invoked. For PR automake/220.
1271
12722001-08-22 Richard Boulton <richard@tartarus.org>
1273 Tom Tromey <tromey@redhat.com>
1274
1275 * automake.in (lang_yacc_target_hook): Make header file depend on
1276 .c file, not .y file.
1277 * lib/am/yacc.am: Non-generic rule changed to depend on %OBJ% (the
1278 .c file) rather than %SOURCE% (the .y file) Removed `.y.h' rule.
1279 * tests/yacc7.test: New file.
1280 * tests/Makefile.am (TESTS): Added yacc7.test.
1281
12822001-08-22 Tim Van Holder <tim.van.holder@pandora.be>
1283
1284 * m4/missing.m4: Require AM_AUX_DIR_EXPAND and use $am_aux_dir.
1285
12862001-08-18 Tom Tromey <tromey@redhat.com>
1287
1288 * automake.texi (Dist): Mention dist-all.
1289
12902001-08-18 Tom Tromey <tromey@redhat.com>
1291
1292 * tests/cond3.test: Use portable sed expression.
1293 From Richard Boulton.
1294
12952001-08-13 Richard Boulton <richard@tartarus.org>
1296
1297 * automake.in (handle_source_transform): Call
1298 define_objects_from_sources() instead of calling
1299 variable_value_as_list(), handle_single_transform_list() and
1300 define_pretty_variable() directly.
1301 (handle_single_transform_list): Add $topparent parameter, used for
1302 error messages. Improved error message.
1303 (define_objects_from_sources): New function.
1304 (subobjname): New function.
1305 (variable_conditions_recursive): New name for variable conditions.
1306 (variable_value_as_list_recursive): New name for variable_value_as_list.
1307 (variable_value_as_list_worker): Renamed to ...
1308 (variable_value_as_list_recursive_worker): ... this.
1309 (variable_conditions_sub): Renamed to ...
1310 (variable_conditions_recursive_sub): ... this.
1311 (variable_conditions): Rewritten: now doesn't recurse subvariables.
1312 (variable_value_as_list): Rewritten: now doesn't recurse subvariables.
1313 (substfroms): New global.
1314 (substtos): New global.
1315 (substnums): New global.
1316 * tests/cond3.test: Update to work with new method of defining _OBJECTS.
1317 * tests/cond4.test: Update to work with new method of defining _OBJECTS.
1318 * tests/sourcesub2.test: New test.
1319 * tests/Makefile.am (TEST): Added sourcesub2.test.
1320
13212001-08-11 Tom Tromey <tromey@redhat.com>
1322
1323 * configure.in: Upped to 1.4s.
1324
13252001-08-09 Richard Boulton <richard@tartarus.org>
1326
1327 * automake.in (handle_single_transform_list): Use new global,
1328 `%linkers_used', to store the linkers used, rather than an internal
1329 variable. Enables correct linker to be calculated across a group
1330 of calls to &handle_single_transform_list. Return only list of
1331 objects, since linker to be used is now externally determined.
1332 (handle_source_transform): adapted for new calling conventions of
1333 handle_single_transform_list. Calls resolve_linker() on a set of
1334 all the linkers used for any prefix, rather than for each prefix in
1335 turn.
1336 (linkers_used): New global.
1337 * tests/link_dist.test: New test.
1338 * tests/Makefile.am (TESTS): Added link_dist.test.
1339
13402001-08-08 Raja R Harinath <harinath@cs.umn.edu>
1341
1342 Dissociate testsuite 'make' invocations from outer 'make'.
1343 * tests/defs: Unset the MFLAGS, MAKEFLAGS and MAKELEVEL
1344 environment variables.
1345 * tests/cond16.test: Use '$MAKE -s', and avoid GNU make
1346 dependency.
1347 * tests/substref.test: Likewise.
1348
13492001-08-08 Richard Boulton <richard@tartarus.org>
1350
1351 * tests/cond18.test: New file.
1352 * tests/cond19.test: New file.
1353 * tests/cond20.test: New file.
1354 * tests/cond4.test: Updated to check the generated _OBJECTS more
1355 thoroughly.
1356 * tests/Makefile.am (TESTS): Added cond18.test, cond19.test and
1357 cond20.test
1358
13592001-08-08 Richard Boulton <richard@tartarus.org>
1360
1361 * automake.in (file_contents_internal): if a rule is conditionally
1362 defined, define the standard automake definition for it for those
1363 conditions which are not conditionally defined.
1364 (invert_conditions): New function: invert a list of conditionals.
1365
1366 * tests/cond14.test: New file.
1367 * tests/cond15.test: New file.
1368 * tests/Makefile.am (TESTS): Added cond14.test and cond15.test.
1369
13702001-08-05 Tom Tromey <tromey@redhat.com>
1371
1372 * tests/Makefile.am (TESTS): Added dejagnu2.test.
1373 * tests/dejagnu2.test: New file.
1374 * lib/am/dejagnu.am (site.exp): Don't conditionalize.
1375 * automake.in (handle_scripts): Removed dead code.
1376 (handle_tests_dejagnu): Don't handle site.exp generation
1377 specially.
1378
13792001-08-04 Richard Boulton <richard@tartarus.org>
1380
1381 * tests/cond17.test: New file: test for being able to define an
1382 object to be generated in different ways according to a
1383 conditional.
1384 * tests/Makefile.am (XFAIL_TESTS): Add cond17.test.
1385 (TESTS): Added cond17.test.
1386
13872001-08-02 Richard Boulton <richard@tartarus.org>
1388
1389 * automake.in (variable_conditions_sub): Handle variable
1390 substitution refs when computing conditions based on subvariable
1391 conditions. Fixes substitution refs of system variables when sub
1392 variable is conditional.
1393 (SUBST_REF_PATTERN): New global.
1394 * tests/cond16.test: New file: regression test for variable
1395 substitution refs.
1396 * test/Makefile.am (TESTS): Added cond16.test.
1397
13982001-08-03 Tom Tromey <tromey@redhat.com>
1399
1400 * tests/substref.test: Require GNU make; backed out previous
1401 change.
1402
1403 * tests/substref.test: Handle entering/leaving directory
1404 messages.
1405
14062001-08-03 Richard Boulton <richard@tartarus.org>
1407
1408 * automake.in (value_to_list): Check for whether $from is defined,
1409 rather than whether it is true, so that empty $froms are allowed in
1410 substitution reference patterns.
1411
1412 * tests/substref.test: New file: test behavior of substitution
1413 references when the $from side of the substitution is empty.
1414 * tests/Makefile.am (TESTS): Added substref.test.
1415
14162001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr>
1417
1418 * m4/install-sh.m4: New file.
1419 * m4/Makefile.am (m4data_DATA): Add install-sh.m4.
1420 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Move ...
1421 * m4/install-sh.m4 (AM_PROG_INSTALL_SH): ... here. Don't check
1422 for install.sh any longer, always use install-sh, don't even
1423 fall back to missing. Use $am_aux_dir, making $install_sh absolute.
1424 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Simplify, since $install_sh
1425 is absolute.
1426 * m4/init.m4: Adjust call to AM_PROG_INSTALL_SH.
1427
14282001-08-02 Tim Van Holder <tim.van.holder@pandora.be>
1429
1430 * automake.texi (EXEEXT): Clarify.
1431
14322001-08-01 Alexandre Duret-Lutz <duret_g@epita.fr>
1433
1434 * m4/missing.m4 (AM_MISSING_HAS_RUN): Typo.
1435
1436 * m4/auxdir.m4: More comments.
1437
14382001-07-31 Richard Boulton <richard@tartarus.org>
1439 Raja R Harinath <harinath@cs.umn.edu>
1440
1441 * automake.in (variable_conditions_sub): Remove @parent_conds
1442 argument. This was old logic - duplicate or impossible
1443 conditionals are removed later by &variable_conditions_reduce().
1444 Fixes tests/cond13.test.
1445 (conditionals_true_when): Removed.
1446 * tests/Makefile.am (XFAIL_TESTS): Removed cond13.test.
1447
14482001-07-31 Tom Tromey <tromey@redhat.com>
1449
1450 * tests/Makefile.am (TESTS): Added cond13.test.
1451 (XFAIL_TESTS): Likewise.
1452 * tests/cond13.test: New file.
1453
1454 * configure.in: Upped to version 1.4k.
1455
1456 * configure.in: Released 1.4j.
1457
1458 * lib/config.guess: Updated from master sources.
1459 * lib/config.sub: Likewise.
1460
14612001-07-30 Tom Tromey <tromey@redhat.com>
1462
1463 * automake.texi (A Program): Typo. Added subsections and more
1464 text about conditional compilation.
1465 (A Shared Library): Moved earlier.
1466 (Program variables): Updated LINK text. Added AM_CFLAGS.
1467 (C++ Support): Added AM_CXXFLAGS.
1468 (Fortran 77 Support): Added AM_FFLAGS and AM_RFLAGS.
1469 (EXEEXT): New node.
1470
1471 * tests/Makefile.am (TESTS): Added aclibobj.test.
1472 * tests/aclibobj.test: New file.
1473 * automake.in (handle_lib_objects_cond): Avoid undefined variable
1474 error.
1475 (scan_one_autoconf_file): Handle AC_LIBSOURCE and AC_LIBSOURCES.
1476
1477 * automake.texi (Dist): Mention other distribution types.
1478 (Install): Updates.
1479
14802001-07-29 Tom Tromey <tromey@redhat.com>
1481
1482 * automake.texi (Program and Library Variables): Texinfo fix.
1483 From Alexey Mahotkin.
1484
14852001-07-28 Tom Tromey <tromey@redhat.com>
1486
1487 * automake.texi (Strictness): Mention Cygnus mode.
1488 (Cygnus): Updated.
1489 (Uniform): Likewise.
1490 (Canonicalization): Likewise.
1491 (Install): Add `nobase_' to example; typo fix.
1492 (Clean): Typo.
1493 (Dist): Expand on putting a directory into EXTRA_DIST. Insert
1494 section markers.
1495 (Options): Texinfo fixes; some text updates.
1496 (Tags): Update.
1497
14982001-07-27 Tom Tromey <tromey@redhat.com>
1499
1500 * automake.texi (Invoking Automake): Document --Werror and
1501 --Wno-error.
1502
15032001-07-26 Tom Tromey <tromey@redhat.com>
1504
1505 * tests/nolink.test: Added no-exeext.
1506
1507 * automake.in (check_variable_defined_unconditionally): Don't call
1508 macro_dump.
1509
1510 * automake.texi (Optional): Don't mention ALL_LINGUAS.
1511 (gettext): Likewise.
1512 * automake.in (seen_linguas, all_linguas, all_linguas_line):
1513 Removed.
1514 (handle_gettext): Don't do any checking of the languages.
1515 (scan_one_autoconf_file): Don't look for ALL_LINGUAS.
1516
1517 * automake.in (am_print_error): New function.
1518 (am_error): Use it.
1519 (am_file_error): Likewise.
1520 (am_line_error): Likewise.
1521 (am_conf_error): Likewise.
1522 (am_conf_line_error): Likewise.
1523
1524 * automake.texi (Options): Document no-exeext.
1525 * automake.in (handle_options): Recognize no-exeext.
1526 (rule_define): Handle no-exeext.
1527 * tests/Makefile.am (TESTS): Added new file.
1528 * tests/exeext2.test: New file.
1529
1530 * automake.in (make_input_list): Removed.
1531 (scan_autoconf_config_files): Don't add to make_input_list.
1532 (scan_one_autoconf_file): Don't use make_input_list.
1533 (scan_autoconf_files): Use make_list, not make_input_list.
1534 (scan_autoconf_files): Likewise.
1535
1536 * automake.in (seen_exeext): Removed.
1537 (generate_makefile): Don't define EXEEXT or OBJEXT.
1538 (scan_one_autoconf_file): Don't check for AC_EXEEXT.
1539 (am_install_var): Don't check $seen_exeext.
1540 (handle_programs): Likewise.
1541 (rule_define): Allow x to override x$(EXEEXT), for now.
1542 (file_contents_internal): Only define rule if rule_define allows
1543 us to.
1544 * m4/init.m4 (AM_INIT_AUTOMAKE): Define EXEEXT and OBJEXT.
1545
15462001-07-25 Tom Tromey <tromey@redhat.com>
1547
1548 From Nicolas Joly:
1549 * tests/pr9.test: Require GNU make.
1550 * tests/dirname.test: Don't use `-u'.
1551
15522001-07-22 Tom Tromey <tromey@redhat.com>
1553
1554 * tests/Makefile.am (TESTS): Added auxdir2.test.
1555 (XFAIL_TESTS): Likewise.
1556 * tests/auxdir2.test: New file.
1557
1558 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
1559 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
1560
1561 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
1562 * automake.in (am_install_var): Add $(EXEEXT) even if program name
1563 holds `.'. Don't add $(EXEEXT) if program name already has it.
1564 (handle_programs): Don't add $(EXEEXT) if user already did.
1565 (make_paragraphs): Don't compute EXEEXT.
1566
1567 * tests/Makefile.am (TESTS): Added exeext.test.
1568 (XFAIL_TESTS): Likewise.
1569 * tests/exeext.test: New file.
1570
15712001-07-22 Tom Tromey <tromey@redhat.com>
1572
1573 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
1574 `prog.exe' on Cygwin with libtool. From Robert Collins.
1575
15762001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1577
1578 * tests/dirname.test: Explicitly use $SHELL to run the
1579 script; this avoids failures on DJGPP.
1580 * tests/install2.test: Skip if 'chmod 000' doesn't make
1581 a file unreadable.
1582
15832001-07-21 Tom Tromey <tromey@redhat.com>
1584
1585 * tests/libtool2.test: Check for libtoolize.
1586
1587 * tests/Makefile.am (TESTS): Added substtarg.test.
1588 (XFAIL_TESTS): Likewise.
1589 * tests/substtarg.test: New file.
1590
1591 * automake.in (handle_dist): Handle case where aux dir doesn't
1592 have a Makefile. Fixes depdist.test.
1593 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
1594 * tests/depdist.test: Look for config/depcomp.
1595
1596 * tests/Makefile.am (TESTS): Added depdist.test.
1597 (XFAIL_TESTS): Likewise.
1598 * tests/depdist.test: New file. From Eric Magnien.
1599
1600 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
1601 AC_PROG_CC_C_O does require AC_PROG_CC.
1602
1603 From Erik Lindahl:
1604 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
1605 `foo.o.d'.
1606 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
1607 output is suitable for make.
1608
1609 * automake.texi (Macros): Document AM_PROG_AS.
1610 (Assembly Support): New node.
1611 * m4/Makefile.am (m4data_DATA): Added as.m4.
1612 * m4/as.m4: New file.
1613
1614 * automake.texi (Tags): Added uref to global tags.
1615
16162001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
1617
1618 * automake.in (handle_single_transform_list): Use $(DEPDIR)
1619 instead of hardcoding '.deps'.
1620 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
1621
16222001-07-20 Derek Price <dprice@collab.net>
1623
1624 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
1625 locations.
1626 * tests/dirname.test: New test.
1627 * tests/stamph2.test: New test.
1628 * tests/Makefile.am: Add new tests.
1629 * tests/Makefile.in: Regenerated.
1630
16312001-07-19 Tom Tromey <tromey@redhat.com>
1632
1633 * automake.texi (Tags): Document GTAGS_ARGS.
1634 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
1635
16362001-07-19 Tom Tromey <tromey@redhat.com>
1637 Alexandre Duret-Lutz <duret_g@epita.fr>
1638
1639 Fix for ccnoco.test, subobj8.test:
1640 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
1641 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
1642 subobj8.test.
1643 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
1644 Use AM_AUX_DIR_EXPAND.
1645 * lib/compile: Handle case where `-o' argument is the name of an
1646 executable, not an object file.
1647 * m4/auxdir.m4: New file, from...
1648 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
1649 * automake.in (handle_single_transform_list, lang_c_rewrite):
1650 Require compile using `require_config_file'.
1651
16522001-07-19 Tom Tromey <tromey@redhat.com>
1653
1654 * automake.texi (Program and Library Variables): Added X example
1655 for _LDADD.
1656
16572001-07-19 Tom Tromey <tromey@redhat.com>
1658
1659 * automake.texi (Distributing): Updated to reflect new license.
1660
16612001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
1662
1663 * automake.in (require_build_directory): New function, extracted
1664 from ...
1665 (handle_single_transform_list): ... here.
1666 (require_build_directory_maybe): New function.
1667 (handle_prograns, handle_libraries, handle_ltlibraries): Call
1668 require_build_directory_maybe() to ensure the subdirectory
1669 in which a target may lie will exist when the target is created.
1670 (handle_libraries, handle_ltlibraries): Use basename before
1671 checking library name.
1672 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
1673 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
1674 * lib/am/program.am (%PROGRAM%): Likewise.
1675
16762001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
1677
1678 * m4/missing.m4: Reword comment.
1679
16802001-07-18 Pavel Roskin <proski@gnu.org>
1681
1682 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
1683 * tests/gcj.test: Likewise.
1684 * tests/gcj2.test: Likewise.
1685 * tests/gcj3.test: Likewise.
1686
16872001-07-18 Tom Tromey <tromey@redhat.com>
1688
1689 * lib/compile: Change how lockdir is computed. If linking or
1690 compiling without `-o', just run the compiler.
1691
1692 * tests/Makefile.am (TESTS): Added ccnoco.test.
1693 (XFAIL_TESTS): Likewise.
1694 * tests/ccnoco.test: New file.
1695
16962001-07-17 Tom Tromey <tromey@redhat.com>
1697
1698 * lib/ylwrap: Added special exception.
1699 * lib/py-compile: Added license.
1700 * lib/mdate-sh: Added special exception.
1701 * lib/elisp-comp: Added special exception.
1702 * lib/compile: Added special exception.
1703 * lib/depcomp: Added special exception.
1704
1705 Report from Motoyuki Kasahara:
1706 * tests/make.test: Use am__include.
1707 * tests/exsource.test: Use am__include.
1708 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
1709 * automake.in (handle_languages): Use am__include and am__quote.
1710
1711 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
1712 * m4/init.m4: Updated callers.
1713
17142001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
1715
1716 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
1717 * aclocal.in (scan_configure, add_file): Handle the full macro
1718 name even if it contains numbers, such as I18N.
1719
17202001-07-16 Tom Tromey <tromey@redhat.com>
1721
1722 * automake.texi (Dependencies): Link to dependency tracking page.
1723 (Data): Mention dist_.
1724 (Clean): Mention clean heuristics.
1725 (Install): Mention nobase_.
1726
1727 * automake.texi (Program and Library Variables): Document _LINK.
1728
17292001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1730
1731 * automake.in (handle_libraries): Allow libraries to lie in
1732 a subdirectory by constraining only the basename to start
1733 with 'lib', not the whole path.
1734
17352001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
1736
1737 * tests/subobj8.test: New file.
1738 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
1739
17402001-07-16 Tom Tromey <tromey@redhat.com>
1741
1742 Fix for PR automake/212:
1743 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
1744 (uninstall-%DIR%LISP): Likewise.
1745
17462001-07-15 Tom Tromey <tromey@redhat.com>
1747
1748 * automake.in (usage): Rewrote code to handle columnization.
1749 From Alexey Mahotkin and Maxim Sinev.
1750
1751 Report from Ralf Corsepius:
1752 * automake.in (TARGET_PATTERN): Add `+' as valid character.
1753 (SUFFIX_RULE_PATTERN): Likewise.
1754 * tests/Makefile.am (TESTS): Added cxx.test.
1755 * tests/cxx.test: New file.
1756
1757 * lib/am/tags.am (distclean-tags): Remove files for gtags.
1758 From Shigio Yamaguchi.
1759
17602001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
1761
1762 * lib/am/distdir.am (distcheck): Emit diagnostic when files
1763 remain after "make uninstall".
1764
17652001-07-14 Tom Tromey <tromey@redhat.com>
1766
1767 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
1768
1769 * lib/missing (makeinfo): Redirect stdout and stderr outside
1770 subshell. From Alexandre Oliva.
1771
17722001-07-14 Akim Demaille <akim@epita.fr>
1773
1774 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
1775 `\b(foo|bar)\b' is what we want.
1776 * aclocal.in: Likewise.
1777
17782001-07-14 Akim Demaille <akim@epita.fr>
1779
1780 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
1781 not used.
1782 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
1783 actually modified to require AM_DEPENDENCIES.
1784 Rename `confdir' as `conftest.dir' so that the configure trap
1785 remove it.
1786
17872001-07-04 Tom Tromey <tromey@redhat.com>
1788
1789 Fix for nolink.test:
1790 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
1791 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
1792 * automake.in (am_install_var): Only rewrite PROGRAMS if
1793 $seen_exeext.
1794 (make_paragraphs): Always define %EXEEXT%.
1795
17962001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
1797
1798 * tests/nolink.test: New file.
1799 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
1800
18012001-07-04 OKUJI Yoshinori <okuji@gnu.org>
1802
1803 * automake.in (scan_texinfo_file): Add the second argument to
1804 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
1805 itself may not be used directly.
1806
18072001-07-04 Tom Tromey <tromey@redhat.com>
1808
1809 * missing: Updated.
1810 * lib/missing (makeinfo): Use subshell, not explicit sh
1811 invocation.
1812
1813 * automake.texi (Headers): Mention that we prefer uninstalled
1814 headers in _SOURCES.
1815 (ANSI): Mention cross-compilation limitation.
1816
18172001-07-03 Tom Tromey <tromey@redhat.com>
1818
1819 * configure.in: Upped to 1.4i.
1820
1821 * configure.in: Released 1.4h.
1822
1823 * lib/config.guess, lib/config.sub: Updated.
1824
18252001-07-02 Tom Tromey <tromey@redhat.com>
1826
1827 Fix for libtool2.test:
1828 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
1829 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
1830 * automake.in (generate_makefile): Call handle_libtool
1831 unconditionally.
1832 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
1833
1834 * tests/libtool2.test: Look for `.lo' files to be removed.
1835
1836 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
1837
1838 * tests/Makefile.am (TESTS): Removed dup.test.
1839 * tests/dup.test: Removed.
1840 * aclocal.in (scan_file): Don't give error for duplicate macro.
1841
18422001-07-01 Tom Tromey <tromey@redhat.com>
1843
1844 * automake.texi (Program and Library Variables): Document
1845 subdir-objects. Document fact that per-object flags override AM_
1846 flags.
1847 (Options): Likewise.
1848 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
1849 (Multilibs): New node.
1850 (Macros): Documented missing macros.
1851 (Auxiliary Programs): New node.
1852
1853 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
1854 mode, then simply fail.
1855
18562001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
1857
1858 * lib/ylwrap: Improve support for DOS paths (and paths
1859 containing backslashes in general).
1860
18612001-07-01 Tom Tromey <tromey@redhat.com>
1862
1863 * lib/missing: Added special exception to license.
1864
1865 * missing: Updated.
1866 * lib/missing: Updated. Added comment explaining configure.ac
1867 oddity.
1868
1869 * lib/depcomp: Reorder arguments to gcc3.
1870 From Per Oyvind Hvidsten.
1871
1872 * tests/Makefile.am (TESTS): Added libtool2.test.
1873 * tests/libtool2.test: New file.
1874
1875 * automake.texi (Program and Library Variables): Added example for
1876 _AR.
1877
18782001-06-29 Tom Tromey <tromey@redhat.com>
1879
1880 * tests/cond11.test: Use `=', not `=='.
1881 * tests/cond12.test: Look for automake in build directory, not
1882 source directory.
1883
18842001-06-29 Richard Boulton <richard@tartarus.org>
1885
1886 * automake.in (conditionals_true_when): Pass first parameters by
1887 reference, avoiding bug which put all parameters in @CONDS instead
1888 of @WHENS. Report by Kalle Olavi Niemitalo.
1889 Take a single WHEN instead of an array of WHENS.
1890 Remove FIXME; can't now have an empty @WHENS.
1891 (conditional_is_redundant): New sub.
1892 (variable_conditions_reduce): Check whether each condition is
1893 implied by any of the other conditions (other those already
1894 discarded), rather than checking only against those already
1895 considered (and kept). Also, fix sense of check: was keeping
1896 tautologous terms instead of discarding them. Use
1897 conditional_is_redundant instead of conditionals_true_when.
1898 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
1899 * tests/cond11.test: New file.
1900 * tests/cond12.test: New file.
1901
19022001-06-29 Raja R Harinath <harinath@cs.umn.edu>
1903
1904 * automake.in (saw_sources_p): Work even if there are more
1905 than one header files, and more than of one type of header.
1906 * tests/Makefile.am (TESTS): Added new file.
1907 * tests/depend4.test: New file.
1908
19092001-06-28 Tom Tromey <tromey@redhat.com>
1910
1911 * lib/am/libs.am (RANLIB): Don't define.
1912
19132001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
1914
1915 * automake.in (am_install_var): Assign 1 to $first on
1916 first interation.
1917
19182001-06-23 Tom Tromey <tromey@redhat.com>
1919
1920 Fix for yacc5.test:
1921 * lib/ylwrap: Changed usage.
1922 * lib/am/yacc.am: Rewrote to use new substitutions.
1923 * lib/am/lex.am: Likewise.
1924 * automake.in (handle_languages): Skip files whose language
1925 doesn't have a compiler. Handle `define_flag' attribute.
1926 Changed '$' to "\$" to aid Emacs fontification.
1927 (struct): Added `rule_file'. Removed `derived_autodep'. Added
1928 `_target_hook' and `define_flag'.
1929 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
1930 and `compiler' attributes. Removed `linker', `derived_autodep',
1931 and `ansi' attributes. Added `define_flag'.
1932 (yacc, yaccxx): Added `_target_hook'.
1933 (saw_extension): Count number of times extension seen.
1934 (count_files_for_language): New sub.
1935 (saw_sources_p): Use it.
1936 (handle_single_transform_list): Allow language rewrite function
1937 to return a new source extension. Call target_hook.
1938 (yacc_sources, lex_sources): Removed.
1939 (initialize_per_input): Don't initialize yacc_sources or
1940 lex_sources.
1941 (lang_yacc_rewrite): Rewrote.
1942 (lang_yaccxx_rewrite): Likewise.
1943 (lang_lex_rewrite): Likewise.
1944 (lang_lexxx_rewrite): Likewise.
1945 (output_yacc_build_rule): Removed.
1946 (output_lex_build_rule): Removed.
1947 (lang_yacc_finish): Removed build rule generation.
1948 (lang_lex_finish): Likewise.
1949 (DASH_D_PATTERN): New global.
1950 (lang_yacc_target_hook): New function.
1951 (_target_hook): New function.
1952 (register_language): Default `define_flag'.
1953 * tests/yacc5.test: Updated test.
1954 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
1955 * tests/yacc3.test: Remove bogus `make' invocation. Added test
1956 for all YFLAGS variables.
1957
19582001-06-20 Tom Tromey <tromey@redhat.com>
1959
1960 * tests/yacc5.test: Check for per-executable YFLAGS.
1961
19622001-06-19 Tom Tromey <tromey@redhat.com>
1963
1964 * tests/Makefile.am (TESTS): Added yacc5.test.
1965 * tests/yacc5.test: New file.
1966
19672001-06-17 Tom Tromey <tromey@redhat.com>
1968
1969 * automake.in (require_file_internal): Check for already-required
1970 file after searching for it, and only if it is not found. Don't
1971 use `readlink' when checking for dangling symlink. Work if
1972 --force-missing specified.
1973 * tests/acoutput2.test: Also test --force-missing.
1974
1975 Fix for libtool.test:
1976 * automake.in (generate_makefile): Call handle_libtool.
1977 (handle_libtool): New sub.
1978 (handle_compile): Don't read `libtool' file.
1979
1980 * tests/acoutput2.test: New file.
1981 * tests/Makefile.am (TESTS): Added acoutput2.test.
1982
19832001-06-15 Tom Tromey <tromey@redhat.com>
1984
1985 * tests/Makefile.am (TESTS): Added libtool.test.
1986 * tests/libtool.test: New file.
1987
19882001-06-14 Tom Tromey <tromey@redhat.com>
1989
1990 Fix some lisp bugs reported by Bruno Haible:
1991 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
1992 echo.
1993 (install-%DIR%LISP): Handle case where lispdir is not defined.
1994 (uninstall-%DIR%LISP): Likewise.
1995 (.el.elc): Added `else' clause.
1996
1997 Fix for bug reported by Steve M. Robbins:
1998 * automake.in (handle_single_transform_list): When building a file
1999 from a subdirectory, continue to use `AM_' prefix.
2000 * tests/Makefile.am (TESTS): Added subobj7.test.
2001 * tests/subobj7.test: New file.
2002
2003 * lib/am/configure.am ($(top_builddir)/config.status): Added
2004 $(top_builddir) prefix to work around problems with some vendor
2005 makes. From Nicolas Joly.
2006
2007 * automake.in (yacc_lex_finish_helper): Find ylwrap in
2008 top_srcdir. From Tim Van Holder.
2009 * tests/Makefile.am (TESTS): Added yacc6.test.
2010 * tests/yacc6.test: New file.
2011
20122001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
2013
2014 * tests/defs, tests/installsh.test: Properly support
2015 DOS-style paths.
2016
20172001-06-14 Tom Tromey <tromey@redhat.com>
2018
2019 * tests/Makefile.am (TESTS): Added mdate4.test.
2020 * tests/mdate4.test: New file.
2021
2022 * aclocal.in (scan_m4_files): Removed unused variable.
2023
20242001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
2025
2026 * aclocal.in (scan_m4_files): Tweak the building of &search so
2027 that multiple macro names can be found on the same line. Ensure
2028 we match whole macro name, not only substrings.
2029
20302001-06-12 Tom Tromey <tromey@redhat.com>
2031
2032 * automake.texi (ANSI): Minor clarification.
2033 (Other GNU Tools): Don't mention Guile.
2034 (Guile): Removed.
2035 (Java Support): Mention file extensions.
2036 (Man pages): Mention dist_. Don't mention info pages.
2037
20382001-06-11 Tom Tromey <tromey@redhat.com>
2039
2040 * automake.texi (Program variables): Document AM_CPPFLAGS.
2041 Deprecate INCLUDES.
2042 (Java Support): Document AM_GCJFLAGS.
2043 (Support for Other Languages): Removed `fixme'; added link to
2044 suffix rule handling.
2045
2046 * automake.texi (Program and Library Variables): Document _LIBADD,
2047 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
2048
20492001-06-11 Kevin Dalley <kevind@rahul.net>
2050
2051 * missing: Support configure.ac.
2052
20532001-06-08 Tom Tromey <tromey@redhat.com>
2054
2055 * tests/version4.test: New file.
2056 * automake.in (version_check): New sub.
2057 (handle_options): Use it.
2058 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2059 (TESTS): Added version4.test.
2060 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
2061 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
2062
20632001-06-04 Kevin Dalley <kevind@rahul.net>
2064
2065 * lib/am/dejagnu.am (site.exp): Fix typo.
2066
20672001-06-02 Tom Tromey <tromey@redhat.com>
2068
2069 * automake.in (variable_conditions_sub): Move parent-only code
2070 from here...
2071 (variable_conditions): ... to here.
2072 (variable_conditions_sub): Include this variable's conditions in
2073 the resulting condition list.
2074 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
2075
20762001-06-01 Tom Tromey <tromey@redhat.com>
2077
2078 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
2079 (TESTS): Likewise.
2080 * tests/ltdeps.test: New file. Report from Lars J. Aas.
2081
20822001-05-31 Tom Tromey <tromey@redhat.com>
2083
2084 * automake.texi (Alternative): New node.
2085 (Macros): Use new name for gcc.
2086 (Java Support): Likewise.
2087 (Dependencies): Rewrote.
2088 (Invoking Automake): (Re-)document -i, --ignore-deps, and
2089 --include-deps.
2090
2091 * automake.texi (Top level): Removed erroneous spaces. Documented
2092 MAKE and MAKEFLAGS.
2093
20942001-05-29 Tom Tromey <tromey@redhat.com>
2095
2096 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
2097
2098 * automake.texi (Include): Rewrote.
2099 (Suffixes): Remove Java example.
2100 (Java): Added more explanation. Document variables.
2101 (Uniform): Mention JAVA as a primary.
2102 (Python): Updated for new Python support.
2103 (Sources): Added a weak example.
2104
2105 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
2106
2107 * automake.texi (A Program): Mention `check' prefix.
2108 (Program and Library Variables): New node.
2109 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
2110 AM_MAKEINFOFLAGS.
2111 (etags): Mention per-program flags.
2112 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
2113 updates.
2114
2115 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
2116 install-info-am.
2117
21182001-05-28 Tom Tromey <tromey@redhat.com>
2119
2120 * m4/Makefile.am (MAINT_CHARSET): Removed.
2121 * Makefile.am (MAINT_CHARSET): Removed.
2122 * automake.in (maint_charset, dist_charset): Removed.
2123 (local_maint_charset): Removed.
2124 (initialize_per_input): Don't use maint_charset.
2125 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
2126
2127 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
2128 AM_MAKEINFOFLAGS.
2129 (.%SUFFIX%.dvi): Likewise.
2130 (.%SUFFIX%): Likewise.
2131
21322001-05-27 Tom Tromey <tromey@redhat.com>
2133
2134 * automake.in (handle_multilib): Only add multilib support code at
2135 top level.
2136 * lib/am/multilib.am: Handle invocation of *-multi targets
2137 differently for SUBDIRS and non-SUBDIRS Makefiles.
2138 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
2139 Only add multilib code when the Makefile in question is actually
2140 rebuilt.
2141
2142 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
2143
21442001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2145
2146 * automake.in (handle_single_transform_list): Skip unknown
2147 extensions.
2148
21492001-05-25 Tom Tromey <tromey@redhat.com>
2150
2151 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
2152
21532001-05-24 Tom Tromey <tromey@redhat.com>
2154
2155 * automake.in (handle_texinfo_helper): Find mdate-sh in current
2156 directory in some situations.
2157
2158 * automake.in (generate_makefile): Better explanation for ansi2knr
2159 fix.
2160
21612001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2162
2163 * automake.in (handle_languages): Skip unknown extensions.
2164 (derive_suffix): Check whether $extension_map{$source_ext}
2165 is undefined, not empty.
2166
21672001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
2168
2169 * automake.in (read_am_file): Ignore trailing backslash on
2170 comment lines.
2171
21722001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
2173
2174 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
2175
21762001-05-21 Akim Demaille <akim@epita.fr>
2177
2178 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
2179 multiple times'' warning.
2180
21812001-05-20 Tom Tromey <tromey@redhat.com>
2182
2183 * configure.in: Updated to 1.4g.
2184
2185 * configure.in: Updated to 1.4f.
2186
2187 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
2188
2189 * lib/ansi2knr.c: New version.
2190
2191 * Makefile.am (FETCHFILES): Added ansi2knr.c.
2192 (fetch): Likewise.
2193
21942001-05-19 Tom Tromey <tromey@redhat.com>
2195
2196 * config.guess, config.sub: New versions from FSF.
2197
2198 * Makefile.am (fetch): Compare against files in srcdir.
2199
2200 For for ansi2knr report from Harlan Stenn:
2201 * automake.in (generate_makefile): Run handle_compile before
2202 handle_languages.
2203
22042001-05-18 Tom Tromey <tromey@redhat.com>
2205
2206 * automake.in: Reverted erroneous checkin.
2207
22082001-05-18 Akim Demaille <akim@epita.fr>
2209
2210 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
2211 to missing `install-info'.
2212
22132001-05-17 Tom Tromey <tromey@redhat.com>
2214
2215 * automake.in (lang_c_finish): Use `rm -f'.
2216
2217 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
2218 * tests/Makefile.am (TESTS): Added new file.
2219 * tests/ansi5.test: New file.
2220
22212001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
2222
2223 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
2224 STRIP is not empty.
2225 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
2226 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
2227 * automake.texi (Requirements): Document the use of the STRIP
2228 variable in cross-compilation environments.
2229
22302001-05-17 Tom Tromey <tromey@redhat.com>
2231
2232 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
2233 to no dependency tracking.
2234 * tests/Makefile.am (TESTS): Added depcomp2.test.
2235 * tests/depcomp2.test: New file. From Pavel Roskin.
2236
2237 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
2238
2239 * lib/depcomp (tru64): New dependency tracking mode.
2240
2241 Fix for PR automake/159:
2242 * lib/depcomp (aix): Rewrote.
2243 (sgi): Likewise.
2244
2245 Fix for PR automake/174:
2246 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
2247 * automake.in (read_am_file): Warn if `#' is at start of rule.
2248
22492001-05-16 Tom Tromey <tromey@redhat.com>
2250
2251 For PR automake/174:
2252 * tests/Makefile.am (TESTS): Added comment3.test.
2253 (XFAIL_TESTS): Likewise.
2254 * tests/comment3.test: New file.
2255
2256 Fix for PR automake/175:
2257 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
2258 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
2259 `Leaving directory' messages.
2260
2261 For PR automake/175:
2262 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
2263 * tests/make.test: Run test with `make -w'.
2264
2265 * tests/Makefile.am (TESTS): Removed maintclean.test.
2266 * lib/am/clean.am (maintainer-clean-generic): Don't remove
2267 Makefile.in.
2268 * lib/am/configure.am (maintainer-clean-am): Removed.
2269 (maintainer-clean-conf): Removed.
2270 * tests/maintclean.test: Removed.
2271
22722001-05-15 Tom Tromey <tromey@redhat.com>
2273
2274 Fix for PR automake/177:
2275 * Makefile.am (maintainer-clean): Set perllibdir before invoking
2276 automake or aclocal.
2277
2278 Fix for maintclean.test:
2279 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
2280 * lib/am/clean.am (distclean-generic): Don't remove config.cache
2281 or config.log.
2282 (distclean, maintainer-clean): Moved to...
2283 * lib/am/configure.am: ... here.
2284 (distclean): Remove config.cache and config.log.
2285 (maintainer-clean): Removed.
2286 (maintainer-clean-conf): New target.
2287 (maintainer-clean-am): New target.
2288
2289 * tests/Makefile.am (TESTS): Added maintclean.test.
2290 (XFAIL_TESTS): Likewise.
2291 * tests/maintclean.test: New file.
2292
2293 Fixes PR automake/175:
2294 * tests/target-cflags.test: Use $needs_gnu_make.
2295 * tests/exsource.test: Use $needs_gnu_make.
2296 * tests/make.test: Require GNU make.
2297 * tests/defs (needs_gnu_make): Compute.
2298
22992001-05-14 Tom Tromey <tromey@redhat.com>
2300
2301 * lib/ylwrap: Fixed quoting on regular expression. Fixes
2302 yacc4.test.
2303
2304 Fix for texinfo10.test.
2305 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
2306 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
2307 * automake.in (handle_texinfo_helper): New sub.
2308 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
2309 * tests/texinfo10.test: Added more cases.
2310
2311 Fix for yaccvpath.test:
2312 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
2313 * lib/am/distdir.am (distdir): Always look for file in build
2314 directory first.
2315 * lib/ylwrap: Quote the `#line' regular expression.
2316 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
2317 change; don't run sed on the generated file.
2318 * tests/yaccvpath.test: Create new parser in srcdir. Added test
2319 to make sure parser will be rebuilt at dist time.
2320
23212001-05-13 Pavel Roskin <proski@gnu.org>
2322
2323 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
2324 beginning with `##'.
2325 * automake.texi (General Operation): Document it.
2326
23272001-05-13 Tom Tromey <tromey@redhat.com>
2328
2329 Reported by Rainer Orth:
2330 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
2331 TOPDIR_P.
2332 * tests/Makefile.am (TESTS): Added distname.test.
2333 * tests/distname.test: New file.
2334
2335 * Makefile.am (dist_pkgdata_DATA): Removed.
2336
2337 * tests/defs: Find files to copy in lib/.
2338 * automake.in (perllibdir): Set to Automake directory.
2339 * ansi2knr.c, ansi2knr.1: Removed.
2340 * Makefile.am (dist_am_DATA): Removed.
2341 (amdir): Removed.
2342 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
2343 diffs.
2344 (scriptdir): Removed.
2345 (dist_script_DATA): Likewise.
2346 (install-data-hook): Likewise.
2347 (installcheck-local): Likewise.
2348 (TAGS_FILES): Removed amfiles.
2349 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
2350 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
2351 point it to the right directory.
2352 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
2353 compile.am, configure.am, data.am, dejagnu.am, depend.am,
2354 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
2355 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
2356 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
2357 mans.am, multilib.am, program.am, progs.am, python.am,
2358 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
2359 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
2360 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
2361 (AUTOMAKE): Use --libdir, not --amdir.
2362 Ues AC_CONFIG_AUX_DIR.
2363 * lib/Makefile.am (SUBDIRS): Added `am'.
2364 (scriptdir): New macro.
2365 (dist_script_DATA): Likewise.
2366 (dist_pkgdata_DATA): Likewise.
2367 (install-data-hook): New target.
2368 (installcheck-local): Likewise.
2369 * lib/am/Makefile.in: New file.
2370 * lib/am/Makefile.am: Removed everything except amdir and
2371 dist_am_DATA.
2372
23732001-05-13 Akim Demaille <akim@epita.fr>
2374
2375 * automake.in ($pkgdata_dir): Rename as...
2376 ($libdir): this.
2377 ($am_dir): Remove, replace its uses with $libdir.
2378 (&parse_arguments): Replace --amdir with --libdir.
2379 * automake.texi (Invoking Automake): Document --libdir, not
2380 --amdir.
2381 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
2382
23832001-05-13 Tom Tromey <tromey@redhat.com>
2384
2385 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
2386 not AMDEP.
2387 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
2388 Correctly look at AMDEP_TRUE, not AMDEP.
2389
2390 Report from Robert Boehne:
2391 * tests/Makefile.am (TESTS): Added depend2.test.
2392 * tests/depend2.test: New file.
2393
23942001-05-13 James Henstridge <james@daa.com.au>
2395
2396 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
2397 Point pythondir at site-packages directory. Rename
2398 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
2399 pyexecdir. Removed package/module argument. Removed
2400 PYTHON_SITE_INSTALL. Added version checking.
2401
24022001-05-14 Jim Meyering <meyering@lucent.com>
2403
2404 * automake.in (macro_define): Change one remaining use of
2405 `variable_dump' to `macro_dump'.
2406
24072001-05-13 Tom Tromey <tromey@redhat.com>
2408
2409 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
2410 and gcj.
2411
24122001-05-13 Akim Demaille <akim@epita.fr>
2413
2414 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
2415 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
2416 (&am_primary_prefixes): Use `map' rather than `grep'.
2417
24182001-05-13 Akim Demaille <akim@epita.fr>
2419
2420 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
2421 lexxx, asm.
2422 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
2423 (&lang_asm_finish): Remove, set asm's finisher to C's one.
2424
24252001-05-13 Akim Demaille <akim@epita.fr>
2426
2427 * lang-compile.am: New file, loaded once per language.
2428 * depend2.am: Move definitions loaded once per language in the
2429 aforementioned file.
2430 * automake.in (&handle_languages): Load it.
2431 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
2432 handled by lang-compile.am.
2433
24342001-05-13 Tom Tromey <tromey@redhat.com>
2435
2436 * tests/Makefile.am (TESTS): Added python.test.
2437 * tests/python.test: New file.
2438 * automake.in (handle_languages): Use
2439 config_aux_dir_set_in_configure_in.
2440 (handle_python): Correctly mention AM_PATH_PYTHON. Use
2441 py-compile, not py_comp. Define py_compile macro.
2442
24432001-05-13 Derek Price <dprice@openavenue.com>
2444
2445 * automake.in (require_file_with_conf_line,
2446 require_file_with_line, require_file): Pass a @require_file_path
2447 of $relative_dir instead of '.' to require_file_internal so that
2448 all the special casing of '.' can be removed elsewhere.
2449 (require_config_file, require_conf_file_with_line,
2450 require_conf_file_with_conf_line): Remove special casing for '.'
2451 and make sure $config_aux_dir is maintained properly.
2452 (require_file_internal): Remove special casing of '.' and set
2453 @require_file_path when missing files are added.
2454 (maybe_push_required_file): Remove special casing of '.'
2455 (handle_dependencies): Remove a workaround for a bug now fixed
2456 and remove $config_aux_dir special casing.
2457 (handle_configure): Remove special casing for $config_aux_dir
2458 (handle_python): Ditto.
2459 (yacc_lex_finish_helper): Change $config_aux_dir switch to
2460 switch on the value of $config_aux_dir_set_in_configure_in.
2461 (handle_texinfo): Ditto.
2462 (scan_one_configure_file): Set $config_aux_dir and
2463 $config_aux_dir_set_in_configure_in properly so special casing
2464 on the value of $config_aux_dir can be removed elsewhere.
2465 * tests/depcomp.test: New file.
2466 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
2467 first subdir containing a C file.
2468 * tests/libobj2.test: Ditto.
2469 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
2470
24712001-05-12 Tom Tromey <tromey@redhat.com>
2472
2473 * tests/gcj.test: Updated for gcj dependency tracking.
2474 * tests/gcj2.test: Likewise.
2475
2476 Fixes PR automake/169.
2477 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
2478 style for OBJC.
2479 * automake.in (java): Added autodep entry.
2480 * tests/Makefile.am (TESTS): Added gcj3.test.
2481 * tests/gcj3.test: New file.
2482
24832001-05-12 Raja R Harinath <harinath@cs.umn.edu>
2484
2485 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
2486 stop at the first '='.
2487 * tests/Makefile.am (TESTS): Added vars.test.
2488 * tests/vars.test: New file.
2489
24902001-05-12 Akim Demaille <akim@epita.fr>
2491
2492 * automake.in (&handle_single_transform_list): Simplify
2493 computation of $object and $this_obj_ext.
2494 * tests/lex3.test: Merge into...
2495 * tests/lex.test: here.
2496 * tests/pr19.test: Improve and rename as...
2497 * tests/lex3.test: this.
2498
24992001-05-09 Tom Tromey <tromey@redhat.com>
2500
2501 * automake.in (read_am_file): Correctly compute $saw_bk.
2502 (scan_autoconf_files): Ensure configure_dist_common is always
2503 set.
2504 * tests/defs (AUTOMAKE): Added --Werror.
2505
25062001-05-09 Pavel Roskin <proski@gnu.org>
2507
2508 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
2509 double quotes.
2510
25112001-05-09 Tom Tromey <tromey@redhat.com>
2512
2513 * tests/werror.test: Use `rm -f'.
2514
25152001-05-09 Akim Demaille <akim@epita.fr>
2516
2517 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
2518
25192001-05-09 Akim Demaille <akim@epita.fr>
2520
2521 * automake.in: Remove some code left from bad patches.
2522 (&handle_dependency): Remove, for the same reason.
2523
25242001-05-09 Akim Demaille <akim@epita.fr>
2525
2526 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
2527 (&handle_tests_dejagnu, &define_standard_variables): Don't.
2528 (&define_standard_variables): Don't transform %top_builddir% since...
2529 * header-vars.am: Use %TOPDIR% instead.
2530
25312001-05-09 Akim Demaille <akim@epita.fr>
2532
2533 * automake.in (@objects): Remove, unused.
2534 Remove all the code related to it, and to former `$(OBJECTS)'.
2535
25362001-05-08 Tom Tromey <tromey@redhat.com>
2537
2538 For PR automake/29:
2539 * ylwrap: Handle arguments to program. Remove old code that tried
2540 to avoid absolute paths and add new code to do it in all cases.
2541 Removed ancient logic that tried to deal with relative path.
2542 * tests/Makefile.am (TESTS): Added yacc4.test.
2543 * tests/yacc4.test: New file.
2544
2545 Fix for PR automake/149 and werror.test:
2546 * automake.in (require_file_internal): Use am_line_warning or
2547 am_conf_line_warning when suppressing error.
2548 (am_line_warning): New sub.
2549 (am_conf_line_warning): Save and restore warning signal.
2550 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
2551
2552 Fix for PR automake/36:
2553 * tests/Makefile.am (TESTS): Added asm.test.
2554 * tests/asm.test: New file.
2555 * automake.in (asm): Use ASFLAGS and AS.
2556 (lang_asm_finish): New sub.
2557
2558 * automake.in (read_am_file): Removed debugging code.
2559
2560 For PR automake/149:
2561 * tests/Makefile.am (TESTS): Added werror.test.
2562 (XFAIL_TESTS): Likewise.
2563 * tests/werror.test: New file.
2564
2565 * automake.in (conditional_true_when): Don't return if we see
2566 `TRUE'.
2567
2568 * tests/objc.test: Removed.
2569 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
2570 (TESTS): Likewise.
2571
2572 * automake.in (subst): New sub.
2573 (handle_languages): Use it.
2574 (output_lex_build_rule): Likewise; also use _am_quote.
2575 (check_libobjs_sources): Likewise.
2576 (make_paragraphs): Use subst.
2577
2578 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
2579 problem.
2580
2581 * automake.in (file_contents_internal): Prototype now `$$%'.
2582 (register_language): Prototype now `%'.
2583
2584 Fixes test subobj6.test and PR automake/160:
2585 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
2586 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
2587 (distclean-compile): Added DISTRMS.
2588 * tests/subobj6.test (wish_SOURCES): Updated to reflect
2589 `mostlyclean' use; added test for non-subdir case.
2590 * automake.in (compile_clean_files): New global.
2591 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
2592 (initialize_per_input): Initialize compile_clean_files.
2593 (handle_single_transform_list): Set compile_clean_files entries.
2594 (handle_compile): Handle compilation cleanups.
2595
25962001-05-08 Lars J. Aas <larsa@sim.no>
2597
2598 * automake.texi (Canonicalizing Automake macros): Document not
2599 canonicalizing strudels (@) anymore.
2600
26012001-05-08 Akim Demaille <akim@epita.fr>
2602
2603 * distdir.am (dist-all): Build all the flavors using a single
2604 distdir.
2605
26062001-05-08 Akim Demaille <akim@epita.fr>
2607
2608 * automake.in (&file_contents_internal): Apply the @cond_stack to
2609 the rules and assignments.
2610 Don't rely on `$.' as it's biased by &make_paragraphs.
2611 Don't remove backslashes in variable values.
2612
26132001-05-08 Akim Demaille <akim@epita.fr>
2614
2615 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
2616 ($RULE_PATTERN): Use that from `&make_paragraphs'.
2617 ($MACRO_PATTERN): Just catch the name of a macro.
2618 ($BOGUS_MACRO_PATTERN): Remove.
2619 ($ASSIGNMENT_PATTERN): New.
2620 (&file_contents_internal, &make_paragraphs): Adjust.
2621 (&macro_define): Catch bad macro names.
2622 (&cond_stack_endif): Better error message.
2623 (&file_contents_internal): Don't remove backslashes in variable
2624 values.
2625 (&macro_define): Do it for `+=' user variables.
2626 (&define_standard_variables): Use `undef' instead of a dummy
2627 variable.
2628 (&make_paragraph): Be sure not to chop the trail of hash only
2629 lines: adjust the `##' regexp.
2630 (&rule_define): Fix a bug: don't read $1 but $target.
2631 * tests/condincl.test: Strengthen.
2632
26332001-05-08 Akim Demaille <akim@epita.fr>
2634
2635 * automake.in (Language): Add attributes `Name' and `config_vars'.
2636 (&finish): Work properly if there is no _finish.
2637 (Automake): Register language Names and AC_SUBST dependencies.
2638 Register Fortran 77 variables upon which ratfor and ppf77 depend.
2639 (&handle_languages): Once per language, invoke
2640 `define_linker_variables', and check its config_vars.
2641 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2642 (&lang_java_finish): Remove.
2643 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
2644
26452001-05-08 Akim Demaille <akim@epita.fr>
2646
2647 * automake.in (&file_contents_internal): Accept $IS_AM.
2648 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
2649
26502001-05-08 Akim Demaille <akim@epita.fr>
2651
2652 * automake.in (am_install_var): Use `next' instead of `if' on the
2653 body of $X loop.
2654
26552001-05-08 Akim Demaille <akim@epita.fr>
2656
2657 * automake.in (Language): Add attributes `lder' and `ld'.
2658 (&register_language): Specify for cxx, objc, f77, gcj.
2659 (&define_linker_variable): New.
2660 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2661 (&lang_java_finish): Adjust.
2662 (&libtool_compiler): Remove.
2663
26642001-05-08 Akim Demaille <akim@epita.fr>
2665
2666 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
2667 argument, as you don't use it.
2668 Hence...
2669 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
2670 don't use it.
2671 Hence...
2672 (&handle_programs): Don't mess with %lex_sources, as you don't use
2673 it.
2674
26752001-05-08 Akim Demaille <akim@epita.fr>
2676
2677 * automake.in (Language): Add attribute `link'.
2678 (&register_language): Specify for cxx, objc, f77, gcj.
2679 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
2680 (&lang_java_finish): Adjust.
2681
26822001-05-08 Akim Demaille <akim@epita.fr>
2683
2684 * automake.in (&define_compiler_variables): Use only $LANG as
2685 argument.
2686 (&handle_languages): Adjust.
2687
26882001-05-08 Akim Demaille <akim@epita.fr>
2689
2690 * automake.in (&define_program_variable): Remove.
2691 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
2692 AM_MISSING_PROG.
2693 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
2694 * texinfos.am: Do it.
2695
26962001-05-08 Akim Demaille <akim@epita.fr>
2697
2698 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
2699 RUNTEST.
2700 * dejagnu.am: Do it.
2701 (site.exp): Use `if'.
2702
27032001-05-08 Akim Demaille <akim@epita.fr>
2704
2705 * automake.in: Formatting changes.
2706 (variable_dump, variables_dump): Rename as...
2707 (macro_dump, macros_dump): these.
2708
27092001-05-08 Akim Demaille <akim@epita.fr>
2710
2711 Support `if !COND', `else COND', `end COND'.
2712
2713 * automake.texi (Conditionals): Document it.
2714 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
2715 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
2716 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
2717 a leading `!' before the condition.
2718 (&handle_options): Use `\d'.
2719 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
2720 (&read_am_file, &file_contents_internal): Use them.
2721 (&transform): No longer substitute `%!COND%', forcing the use of
2722 `! %?COND%'.
2723 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
2724
27252001-05-08 Akim Demaille <akim@epita.fr>
2726
2727 Uniform handling of per-object compilation rules.
2728 Note: Automake is repaired.
2729
2730 * automake.in (&handle_languages): Output per object rules for all
2731 the objects, not only for those which language supports dependency
2732 tracking.
2733 Fix Automake: when outputting per-object rules, use `-o' if the
2734 language has no `output_flag', as it's really needed.
2735 (&handle_single_transform_list): Instead of special casing files
2736 which need per object rules but which language don't support
2737 dependency tracking, keep them in the queue for processing by
2738 `&handle_languages'.
2739
27402001-05-08 Akim Demaille <akim@epita.fr>
2741
2742 * automake.in (&handle_languages): `ext-compile.am' and
2743 `depend2.am' are now equivalent for generic rules: output only the
2744 latter.
2745 * ext-compile.am: Remove.
2746
27472001-05-08 Akim Demaille <akim@epita.fr>
2748
2749 Note: This patch breaks Automake. Repaired within two patches.
2750
2751 * automake.in (Language): Replace the attribute `output_arg' with
2752 `compile_flag' and `output_flag'.
2753 (Automake): Adjust language registrations.
2754 (&handle_languages): Transform `-c' and `-o' for both suffix and
2755 per object rules, instead of `OUTARG' and `LTOUTARG' only for
2756 generic rules.
2757 (&handle_single_transform_list): Adjust to `compile_flag' and
2758 `output_flag'.
2759 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
2760
27612001-05-08 Akim Demaille <akim@epita.fr>
2762
2763 * automake.in (&handle_languages): Don't transform %COMPILER%.
2764 Use `$lang->compiler' instead of `$pfx' to transform generic
2765 %COMPILE% and %LTCOMPILE%.
2766 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
2767 of %COMPILER% and $<.
2768
27692001-05-07 Akim Demaille <akim@epita.fr>
2770
2771 * automake.in (&handle_languages): Use the same `%transform' for
2772 both `depend2.am' and `ext-compile.am'.
2773 Delay the definition of `$flag' so it is right before the first use,
2774 and rename as `$flags'.
2775
27762001-05-07 Akim Demaille <akim@epita.fr>
2777
2778 * automake.in (&handle_languages): Compute `$ltoutarg' and
2779 `$outarg' independently of dependency code.
2780 There is no use looping on a language's possible extensions since
2781 we loop over used extensions.
2782 Therefore, there is no use for a local `%transform'.
2783
27842001-05-07 Akim Demaille <akim@epita.fr>
2785
2786 * automake.in (&handle_languages): Don't use $comp.
2787
27882001-05-07 Akim Demaille <akim@epita.fr>
2789
2790 * automake.in (&handle_languages): Merge the two loops over
2791 %extension_seen/%languages into one and group code to be run once
2792 per language together.
2793
27942001-05-07 Akim Demaille <akim@epita.fr>
2795
2796 * automake.in (&handle_languages): Move the `if
2797 ($use_dependencies)' block so that loops over extensions and
2798 languages are next to each other.
2799
28002001-05-07 Akim Demaille <akim@epita.fr>
2801
2802 * automake.in (&depend2): Remove, merged into...
2803 (&handle_languages): here.
2804
28052001-05-07 Akim Demaille <akim@epita.fr>
2806
2807 * automake.in (&finish_languages): Rename as...
2808 (&handle_languages): this.
2809 Include the body of...
2810 (&handle_dependency): this.
2811 Remove.
2812
28132001-05-06 Tom Tromey <tromey@redhat.com>
2814
2815 For PR automake/46:
2816 * tests/Makefile.am (TESTS): Add subdir5.test.
2817 (XFAIL_TESTS): Likewise.
2818 * tests/subdir5.test: New file.
2819
2820 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
2821 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
2822
2823 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
2824 identifier'.
2825 (handle_options): Handle fork identifier in version number.
2826
2827 * automake.texi (Dist): Document distcheck-hook.
2828
2829 * tests/confh4.test: Update to reflect DEFS change.
2830 For PR automake/132.
2831
2832 Fix for PR automake/132:
2833 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
2834 compilation.
2835 (java): Remove INCLUDES and DEFS from compilation.
2836 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
2837 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
2838 (DEFAULT_INCLUDES): New macro.
2839
2840 * automake.in (usage): Re-align explanatory text.
2841 Fixes PR automake/148.
2842
2843 * automake.texi (Uniform): Don't use @PROGRAMS@.
2844 Fixes PR automake/154.
2845
2846 For PR automake/160:
2847 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
2848 (XFAIL_TESTS): Add subobj6.test.
2849 * tests/subobj6.test: New file.
2850
2851 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
2852 (Top level): Don't mention `flat'.
2853 (Extending): Likewise.
2854 (User Variables): New node.
2855
2856 * distdir.am (distdir): Make subdirectory for each file.
2857 Fixes test subobj5.test.
2858
2859 * tests/Makefile.am (TESTS): Add new file.
2860 (XFAIL_TESTS): Likewise.
2861 * tests/texinfo10.test: New file.
2862
28632001-05-05 Pavel Roskin <proski@gnu.org>
2864
2865 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
2866 in the same way as @defcodeindex and @syncodeindex respectively.
2867
28682001-05-05 Tom Tromey <tromey@redhat.com>
2869
2870 * mans.am (install-man%SECTION%): Minor cleanup.
2871 (uninstall-man%SECTION%): Likewise.
2872
2873 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
2874 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
2875 prefixes.
2876 (uninstall-man%SECTION%): Likewise.
2877 * automake.in (handle_man_pages): Handle dist_ and nodist_
2878 prefixes.
2879
2880 * automake.texi (Future): Removed.
2881 (Depth): Removed.
2882 (Hello): Don't mention `deep'.
2883 (Top level): Likewise.
2884
2885 * automake.in (conditional_true_when): Use a hash, not index().
2886 Also, a TRUE component always results in a true return.
2887 Fixes test cond10.test. For PR automake/164.
2888 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
2889
28902001-05-05 Raja R Harinath <harinath@cs.umn.edu>
2891
2892 For PR automake/164:
2893 * tests/Makefile.am (TESTS): Added new file.
2894 (XFAIL_TESTS): Likewise.
2895 * tests/cond10.test: New file.
2896
28972001-05-05 Tom Tromey <tromey@redhat.com>
2898
2899 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
2900 prints to stderr.
2901 (install-info-am): Likewise.
2902
29032001-05-05 Pavel Roskin <proski@gnu.org>
2904
2905 * automake.in (scan_texinfo_file): Don't push undefined values
2906 to @clean_suffixes.
2907
29082001-05-05 Richard Boulton <richard@tartarus.org>
2909
2910 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
2911 first.
2912
29132001-05-05 Robert Collins <robert.collins@itdomain.com.au>
2914
2915 * automake.in (required_targets): Added uninstall-am.
2916
29172001-05-05 Tom Tromey <tromey@redhat.com>
2918
2919 Fix bug reported by Robert Boehne:
2920 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
2921 substituted.
2922 (handle_dependencies): Likewise.
2923 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
2924 substitution. Correct diff now has 30 lines. Look for space
2925 after losing `undef'.
2926
29272001-05-04 Peter Eisentraut <peter_e@gmx.net>
2928
2929 * m4/sanity.m4: Remove the temp file before possible error exits.
2930
29312001-05-04 Akim Demaille <akim@epita.fr>
2932
2933 * configure.in: Set perllibdir.
2934 From Dave Morrison.
2935
29362001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2937
2938 * automake.in ($pkgdata_dir): New.
2939 (&require_file_internal): Use it.
2940
29412001-05-03 Akim Demaille <akim@epita.fr>
2942
2943 Case insensitive FS choke on Automake/ vs automake.
2944 Reported by Tim Van Holder.
2945
2946 * Automake/: Move into...
2947 * lib/: this new directory.
2948
29492001-05-03 Raja R Harinath <harinath@cs.umn.edu>
2950
2951 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
2952 echoed.
2953
29542001-04-30 Jim Meyering <meyering@lucent.com>
2955
2956 * automake.in: Remove `/lib' from include directory.
2957
29582001-04-27 Akim Demaille <akim@epita.fr>
2959
2960 AM_INIT_AUTOMAKE is no longer optional.
2961
2962 * automake.in ($seen_make_set, $seen_prog_install)
2963 ($seen_arg_prog): Remove.
2964 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
2965 Remove related code.
2966
29672001-04-27 Akim Demaille <akim@epita.fr>
2968
2969 * tests/specflags4.test, tests/specflags5.test: Remove, merged
2970 into...
2971 * tests/specflags3.test: here.
2972
29732001-04-27 Akim Demaille <akim@epita.fr>
2974
2975 * automake.in ($seen_path_xtra): Remove.
2976 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
2977 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
2978
29792001-04-27 Akim Demaille <akim@epita.fr>
2980
2981 * automake.in (&file_contents_internal): Declare it.
2982
29832001-04-27 Akim Demaille <akim@epita.fr>
2984
2985 * automake.in (&read_am_file, &file_contents_internal): Don't
2986 define macros when `FALSE', to avoid errors on doubly defined
2987 variables but under condition `FALSE'. In order to allow...
2988 (&am_install_var): When reading the associated file for the first
2989 time, enable `%?FIRST%'.
2990 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
2991 * libs.am: Do it when `%?FIRST%'.
2992
29932001-04-27 Akim Demaille <akim@epita.fr>
2994
2995 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
2996 * ansi2knr.am: Do it.
2997 Prefer `if %?FOO%' to `if %!FOO%'.
2998
29992001-04-27 Akim Demaille <akim@epita.fr>
3000
3001 * automake.in (&register_language, &finish_languages): Use `pure'
3002 as a Boolean.
3003 (&register_language): Use %done properly with objects, not names.
3004 (&finish_languages): Replace `$non_c' with `$needs_c'.
3005
30062001-04-27 Akim Demaille <akim@epita.fr>
3007
3008 Unify LISP, PYTHON and JAVA primaries.
3009
3010 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
3011 return if there are no files, hook elisp-comp on the Autoconf
3012 macro, rely on lisp.am to define variables.
3013 (&handle_python, &handle_java): Likewise.
3014 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
3015 `PYTHON' must be handled here, not in `&handle_python'.
3016 * java.am: Define needed variables and rules.
3017
30182001-04-27 Akim Demaille <akim@epita.fr>
3019
3020 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
3021 * data.am: Use it.
3022 * header.am: Include data.am.
3023
30242001-04-27 Akim Demaille <akim@epita.fr>
3025
3026 * automake.in (&am_install_var): Transform `PRIMARY'.
3027 * data.am: Equip with %PRIMARY%.
3028
30292001-04-27 Akim Demaille <akim@epita.fr>
3030
3031 * automake.in (@conditional_stack): Rename as...
3032 (@cond_stack): this.
3033 (&file_contents_internal): Support inclusion of files.
3034
30352001-04-27 Akim Demaille <akim@epita.fr>
3036
3037 * automake.in (&lang_extensions): Remove.
3038 (&add_depend2, &saw_sources_p): Adjust.
3039 * depend2.am: `%EXT%' no longer includes the dot.
3040
30412001-04-27 Akim Demaille <akim@epita.fr>
3042
3043 * automake.in (&finish_languages, &handle_single_transform_list)
3044 (&add_depend2, &handle_dependencies): No longer use the language
3045 name in `$lang'. Rename `$lang_obj' as `$lang'.
3046
30472001-04-27 Akim Demaille <akim@epita.fr>
3048
3049 * automake.in (&register_language): Use `new Language' with a hash.
3050
30512001-04-27 Akim Demaille <akim@epita.fr>
3052
3053 * automake.in (&register_language): Rename `output-arg' and
3054 `derived-autodep' as `output_arg' and `derived_autodep' to match
3055 the Language attribute.
3056 Set the defaults in %option instead of $lang.
3057
30582001-04-27 Akim Demaille <akim@epita.fr>
3059
3060 * Automake/: New directory.
3061 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
3062 * automake.in (Language): Use Automake::Struct.
3063 * tests/defs: Adjust to find Struct.
3064
30652001-04-23 Pavel Roskin <proski@gnu.org>
3066
3067 * automake.in: Add forward declaration for register_language().
3068 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
3069 passes now.
3070
30712001-04-20 Akim Demaille <akim@epita.fr>
3072
3073 * automake.in (%required_targets): Add `uninstall'.
3074 From Robert Collins.
3075
30762001-04-12 Akim Demaille <akim@epita.fr>
3077
3078 * automake.in (Language): Add attribute `name'.
3079 (&register_language): The name of the language is now given in the
3080 hash.
3081 No longer use `$lang' as the name of the language.
3082 Rename `$lang_obj' as `$lang'.
3083
30842001-04-12 Akim Demaille <akim@epita.fr>
3085
3086 * automake.in (Language): Add attribute `_finish'.
3087 (&finish): New.
3088 (Automake): Adjust.
3089 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
3090 (&lang_asm_finish): Remove.
3091
30922001-04-12 Akim Demaille <akim@epita.fr>
3093
3094 * automake.in (Language): Add attribute `extensions'.
3095 (Automake): Pass a hash to `&register_language' instead of a
3096 list of pseudo assignments.
3097 (&register_language): Adjust.
3098 (&finish_languages): Initialize `$ltoutarg'.
3099
31002001-04-12 Akim Demaille <akim@epita.fr>
3101
3102 * automake.in (Language): Add attribute `output_arg'.
3103 (%language_map): Remove.
3104 (&register_language): Build only the object, and store in
3105 %languages only.
3106 (&finish_languages, &handle_single_transform_list): Adjust.
3107
31082001-04-12 Akim Demaille <akim@epita.fr>
3109
3110 * automake.in (Language): Add attributes `flags', `compile' and
3111 `compiler'.
3112 (&finish_languages, &handle_single_transform_list, &handle_dist)
3113 (&add_depend2, &register_language): Use them and the `linker' and
3114 `pure' attributes.
3115
31162001-04-12 Akim Demaille <akim@epita.fr>
3117
3118 * automake.in (&handle_single_transform_list, &finish_languages)
3119 (&handle_dist, &handle_dependencies): Use the language object for
3120 autodep and derived-autodep too.
3121
31222001-04-12 Akim Demaille <akim@epita.fr>
3123
3124 * automake.in (&macro_define): Ignore Automake definition for
3125 ($var, $cond) if there is already a user definition for ($var, $cond).
3126
31272001-04-12 Akim Demaille <akim@epita.fr>
3128
3129 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
3130 but also @deffn and so on which push data in indexes.
3131 Reported by Derek R. Price.
3132
31332001-04-12 Akim Demaille <akim@epita.fr>
3134
3135 * automake.in (Language): New package, temporarily in this file.
3136 Use Class::Struct.
3137 (Automake): New package.
3138 (%languages): New.
3139 (&handle_single_transform_list): Use the language object's `ansi'
3140 attribute instead of `$language_map{"$lang-ansi-p"}'.
3141 (&register_language): Build and register the language too.
3142
31432001-04-11 Tom Tromey <tromey@redhat.com>
3144
3145 Fixes report from Larry Jones:
3146 * automake.in (handle_dependencies): Add `@_am_quote@' where
3147 appropriate.
3148 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
3149
31502001-04-11 Akim Demaille <akim@epita.fr>
3151
3152 * depend2.am: Fix the `if' condition for Libtool.
3153 Reported by Robert Boehne.
3154
31552001-04-10 Robert Collins <robert.collins@itdomain.com.au>
3156
3157 * tests/subobj5.test: New file.
3158
31592001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3160
3161 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
3162 * tests/Makefile.am (TESTS): Added make.test.
3163 * tests/make.test: New file.
3164
31652001-04-10 Tom Tromey <tromey@redhat.com>
3166
3167 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
3168
31692001-04-10 Derek R. Price <dprice@collab.net>
3170
3171 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
3172
31732001-04-10 Akim Demaille <akim@epita.fr>
3174
3175 * distdir.am: Add a missing backslash.
3176
31772001-04-10 Akim Demaille <akim@epita.fr>
3178
3179 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
3180 variables.
3181 Specify to the caller whether $regen_aclocal_m4.
3182 (&handle_configure): Adjust.
3183 Transform `REGEN-ACLOCAL-M4'.
3184 Reported by Tom.
3185 * configure.am: Use it.
3186 * tests/defs (me): New.
3187 * tests/confdeps.test: New.
3188
31892001-04-09 Tom Tromey <tromey@redhat.com>
3190
3191 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
3192 Fixes report from Jim Meyering.
3193
31942001-04-09 Akim Demaille <akim@epita.fr>
3195
3196 * automake.in (&handle_configure): Don't bother with optimizing
3197 macro uses.
3198
31992001-04-09 Akim Demaille <akim@epita.fr>
3200
3201 * tests/cond3.test (expected): Adjust.
3202
32032001-04-09 Akim Demaille <akim@epita.fr>
3204
3205 * automake.in (&handle_single_transform_list): Remove $xbase,
3206 unused.
3207 (&handle_source_transform): All the variables have conditions now,
3208 simplify.
3209 (&variable_delete): Admit an argument @conds.
3210
32112001-04-09 Akim Demaille <akim@epita.fr>
3212
3213 * automake.in ($source_suffix_pattern): Remove, unused.
3214 %extension_map seems to have replaced it.
3215
32162001-04-09 Akim Demaille <akim@epita.fr>
3217
3218 * ext-compile.am: New file.
3219 * automake.in (&finish_languages): Output it.
3220 Require a C linker if there are several registered source suffixes.
3221 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
3222 extensions, which are discovered in ext-compile.am.
3223 With the help from Robert Boehne.
3224
32252001-04-09 Akim Demaille <akim@epita.fr>
3226
3227 * automake.in (&handle_compile): Extract from...
3228 (&get_object_extension): here.
3229 (&read_am_file): Call it.
3230 ($included_generic_compile, $included_knr_compile)
3231 ($included_libtool_compile): Remove.
3232 ($get_object_extension_was_run): New.
3233
32342001-04-09 Akim Demaille <akim@epita.fr>
3235
3236 Use AM_CONDITIONAL and if/endif for AMDEP.
3237
3238 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
3239 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
3240 to a configure time if/endif), or to `FALSE' (static removal of
3241 the code).
3242 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
3243 * depend2.am: Use if/endif.
3244
3245 Adjust the 101 tests that use dependencies so that they
3246 properly invoke aclocal before automake. They need to `see'
3247 `AM_CONDITIONAL([AMDEP], ...)'.
3248
32492001-04-09 Akim Demaille <akim@epita.fr>
3250
3251 * tags.am: Fix missing leading tabs.
3252
32532001-04-09 Akim Demaille <akim@epita.fr>
3254
3255 * automake.in: Use simple quotes to define the _PATTERN variables
3256 to unobfuscate the regexps.
3257 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
3258
32592001-04-09 Akim Demaille <akim@epita.fr>
3260
3261 * automake.in (&rule_define): When you discover a suffix rules,
3262 register the extensions for .SUFFIXES.
3263 (&handle_texinfo): Don't register the suffixes.
3264 (&get_object_extension): Don't register suffixes, let them be
3265 discovered in depend2.am.
3266 (&handle_emacs_lisp): Depend on your lisp.am.
3267 * lisp.am: Include the rule &handle_emacs_lisp used to output.
3268
32692001-04-09 Akim Demaille <akim@epita.fr>
3270
3271 * subdirs.am: Don't define info related recursive targets.
3272 * texinfos.am: Do.
3273
32742001-04-09 Akim Demaille <akim@epita.fr>
3275
3276 * subdirs.am (RECURSIVE_TARGETS): New variable.
3277 Use it.
3278 * automake.in (&handle_subdirs): Output it.
3279 (&file_contents_internal): Support value spread on several lines.
3280
32812001-04-09 Akim Demaille <akim@epita.fr>
3282
3283 * automake.in (&handle_man_pages): Rely on mans.am to define
3284 man%SECTION%dir and MANS.
3285 * mans.am: Do it.
3286
32872001-04-09 Akim Demaille <akim@epita.fr>
3288
3289 * automake.in (&variable_dump): Use %var_type properly.
3290 (&macro_define): Enforce better overriding rules.
3291 Handle the special case that used to handle...
3292 (&define_pretty_variable): this.
3293 Hence, don't.
3294 The variables you define are owned by Automake.
3295 (&generate_makefile): PRE_INSTALL and co must not be defined *by
3296 the user*.
3297 (&variable_defined): Now independent of the owner.
3298 (&variable_output, &variable_pretty_output): Adjust to %var_type.
3299
33002001-04-09 Akim Demaille <akim@epita.fr>
3301
3302 * automake.in (%var_was_plus_eq): Rename as...
3303 (%var_type): this.
3304 (%def_type): Remove.
3305 (&macro_define): %var_type may now hold `', `+', or `:'.
3306 (%conditional, %am_vars, %content_lines): Rename as...
3307 (%var_value, %var_comment, %var_line): these.
3308
33092001-04-09 Akim Demaille <akim@epita.fr>
3310
3311 * automake.in (&variable_output): Admit a list of @CONDS.
3312 (&variable_pretty_output): New.
3313 (&define_pretty_variable): Use it.
3314 (&read_am_file, &file_contents_internal): Prepend a separator to
3315 $am_vars only if there is none yet.
3316 (&file_contents_internal): Rename $separator as $spacing to
3317 harmonize with &read_am_file.
3318
33192001-04-09 Akim Demaille <akim@epita.fr>
3320
3321 * automake.in (&am_install_var): Transform DIST, and let the *.am
3322 files handle DIST_COMMON.
3323 * data.am, header.am, java.am, list.am, python.am, script.am: Set
3324 DIST_COMMON.
3325
33262001-04-09 Akim Demaille <akim@epita.fr>
3327
3328 * automake.in (%dist_common): Remove.
3329 (%configure_dist_common): Replace with...
3330 ($configure_dist_common): this.
3331 (&generate_makefile): Read the user file before using
3332 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
3333 that no variable is defined before it is run.
3334 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
3335 (&dist_cmp): Rename as...
3336 (&for_dist_common): this.
3337 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
3338 it.
3339 Adjust to $configure_dist_common.
3340 * configure.am, texi-vers.am: Set DIST_COMMON.
3341
33422001-04-09 Akim Demaille <akim@epita.fr>
3343
3344 * automake.in (&handle_aclocal_m4): Rename as...
3345 (&scan_aclocal_m4): this.
3346 Return the list of aclocal.m4 dependencies.
3347 (&handle_configure): Invoke it, and use it when loading...
3348 * configure.am: Template the rules to recreate aclocal.m4.
3349
33502001-04-09 Akim Demaille <akim@epita.fr>
3351
3352 * automake.in (&get_object_extension): Use ansi2knr.am.
3353 * clean-kr.am, kr-extra.am: Remove, merged into...
3354 * ansi2knr.am: this new file.
3355
33562001-04-09 Akim Demaille <akim@epita.fr>
3357
3358 * automake.in (&transform): Fix an incredible bug which was
3359 breaking the if/endif system.
3360 ($ELSE_PATTERN): Admit an optional argument.
3361
33622001-04-09 Akim Demaille <akim@epita.fr>
3363
3364 * comp-vars.am: Remove, merged into...
3365 * compile.am: here.
3366 * automake.in (&get_object_extension): Adjust.
3367
33682001-04-09 Akim Demaille <akim@epita.fr>
3369
3370 * remake.am: Merge into...
3371 * configure.am: ... here.
3372 * automake.in (&handle_configure): Adjust.
3373
33742001-04-09 Akim Demaille <akim@epita.fr>
3375
3376 * automake.in (&output_lex_build_rule): Output this...
3377 * lex.am: New file.
3378
33792001-04-09 Akim Demaille <akim@epita.fr>
3380
3381 * automake.in (&condition_negate): New.
3382 (&variable_conditions_permutations): Use it.
3383 (&read_am_file, &file_contents): Use it on `else' clauses to
3384 support `if FALSE'.
3385 (&output_yacc_build_rule): Output this...
3386 * yacc.am: New file.
3387
33882001-04-09 Akim Demaille <akim@epita.fr>
3389
3390 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
3391 (&handle_dist): Don't.
3392 (&handle_clean): Don't handle config.status here, let...
3393 * clean.am: ... do it.
3394 * distdir.am: Adjust.
3395
33962001-04-09 Akim Demaille <akim@epita.fr>
3397
3398 * automake.in: Use strict vars and subs.
3399 Declare `%require_file_found'.
3400 (&handle_source_transform, &make_paragraphs): Declare my variables.
3401
34022001-04-09 Akim Demaille <akim@epita.fr>
3403
3404 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
3405 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
3406 * java.am (_am_installdirs): Be sure to set it.
3407
34082001-04-09 Akim Demaille <akim@epita.fr>
3409
3410 * automake.in (&make_condition): Return '#' when FALSE.
3411 (&conditional_string): Return FALSE, not '#' in the corresponding
3412 cases.
3413 (&file_contents_internal): Adjust.
3414 (&check_variable_defined_unconditional): Dump the guilty variable.
3415
34162001-04-09 Akim Demaille <akim@epita.fr>
3417
3418 * distdir.am: Use and abuse of if/endif.
3419 * scripts.am: Using if/endif with variables is fine.
3420
34212001-04-09 Akim Demaille <akim@epita.fr>
3422
3423 * automake.in (&make_paragraphs): Extract from &file_contents.
3424 Make it more robust than the previous RE based scheme.
3425 (&file_contents): Use it.
3426
34272001-04-09 Akim Demaille <akim@epita.fr>
3428
3429 * automake.in (&make_paragraphs): Extract from &file_contents.
3430 Make it more robust than the previous RE based scheme.
3431 (&file_contents): Use it.
3432
34332001-04-09 Akim Demaille <akim@epita.fr>
3434
3435 * tests/yacc2.test: Don't define several times a variable, as
3436 automake complains.
3437
34382001-04-09 Akim Demaille <akim@epita.fr>
3439
3440 * automake.in (&handle_source_transform): Fix pr72: don't define
3441 $linker if there are no @files.
3442
34432001-04-09 Akim Demaille <akim@epita.fr>
3444
3445 Avoid reading twice header-vars.am as now macro_define
3446 complains.
3447
3448 * automake.in (&define_standard_variables): Don't output the
3449 variables.
3450 (&read_main_am_file): Output first user variables, then Automake
3451 variables.
3452 Don't call twice &define_standard_variables.
3453 Save variable comments in $am_vars.
3454 (&variable_output): New.
3455 (&file_contents_internal): New.
3456 Save variable comments in $am_vars.
3457 (&file_contents): Use it.
3458
34592001-04-09 Akim Demaille <akim@epita.fr>
3460
3461 * automake.in (&macro_define): The user is allowed to override
3462 a value if it was set by Automake, or if it was found in AC_SUBST.
3463
34642001-04-09 Akim Demaille <akim@epita.fr>
3465
3466 * automake.in (&handle_source_transform): Better locality of the
3467 variables.
3468 Use `next' to skip nonexistent variables.
3469
34702001-04-09 Akim Demaille <akim@epita.fr>
3471
3472 * automake.in (&variable_dump): If a variable is undefined, say
3473 it.
3474 (&check_ambiguous_conditional): Give finer error messages.
3475 (&macro_define): Check that a `+=' variable is not set with `='.
3476 Check for ambiguous definitions each time you _set_ (even with `+=')
3477 a variable.
3478 (&read_main_am_file): Perform a deep copy of %conditional.
3479
34802001-04-09 Akim Demaille <akim@epita.fr>
3481
3482 * automake.in (&variable_defined): Some callers, e.g.,
3483 &am_primary_prefixes, really want to know if the variable is
3484 defined for any condition, not `TRUE' by default.
3485 (&am_primary_prefixes): Give a more precise error message.
3486
34872001-04-09 Akim Demaille <akim@epita.fr>
3488
3489 (&variable_conditions): Don't include `FALSE' in the result.
3490
34912001-04-09 Akim Demaille <akim@epita.fr>
3492
3493 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
3494 (&variable_conditions): Don't include `FALSE' in the result.
3495
34962001-04-09 Akim Demaille <akim@epita.fr>
3497
3498 * tests/defs, tests/depend3.test: Remove useless code.
3499
35002001-04-09 Akim Demaille <akim@epita.fr>
3501
3502 * automake.in (&handle_source_transform): Use
3503 &variable_conditions, don't read $conditional{$var}.
3504 (&variable_conditions_sub): When the call is the top level call,
3505 generate all the permutations of the conditions.
3506
35072001-04-09 Akim Demaille <akim@epita.fr>
3508
3509 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
3510 that it does not get noticed twice by automake, which now
3511 complains for multiple definitions.
3512 * tests/vartar.test: s/INSTALL/install/g, automake now complains
3513 because we defined INSTALL.
3514
35152001-04-09 Akim Demaille <akim@epita.fr>
3516
3517 * automake.in (&generate_makefile) Use macro_define to define
3518 SOURCES and OBJECTS.
3519 (&variable_defined): Don't check for $conditional{VAR}{COND} as
3520 this would make perl create $condition{VAR}, which we don't want.
3521
35222001-04-09 Akim Demaille <akim@epita.fr>
3523
3524 * automake.in (&variable_defined, &define_pretty_variable):
3525 Simplify code which used to handle the cases where not all
3526 variables were in %conditional.
3527 (&define_variable): Use &define_pretty_variable.
3528 (&variable_conditions_sub, &variable_value_as_list_worker)
3529 (&variable_value_as_list, &rule_define): Simplify syntax.
3530 (&read_main_am_file): Dump the guilty predefined variables.
3531
35322001-04-09 Akim Demaille <akim@epita.fr>
3533
3534 * automake.in (&variable_conditions_sub)
3535 (&variable_value_as_list_worker): Remove dead code which used to
3536 handle the cases where not all variables were in %conditional.
3537
35382001-04-09 Akim Demaille <akim@epita.fr>
3539
3540 * automake.in (&handle_source_transform, &read_main_am_file):
3541 Simplify loops which were split in two parts, conditional vs
3542 unconditional variables.
3543
35442001-04-09 Akim Demaille <akim@epita.fr>
3545
3546 Handle unconditional values of variables as conditioned by
3547 `TRUE'.
3548
3549 * automake.in (%contents): Remove.
3550 (&generate_makefile, &handle_ltlibraries, &macro_define)
3551 (&read_am_file, &variable_defined, &variable_conditions_sub)
3552 (&variable_value, &variable_value_as_list_worker)
3553 (&variable_value_as_list, &define_pretty_variable)
3554 (&read_main_am_file): Use
3555 $conditional, not %contents.
3556 (&variable_conditions_permutations): Don't return TRUE and FALSE.
3557 (&variable_conditionally_defined): New.
3558 (&handle_dist): Use it.
3559 (&check_ambiguous_conditional): When multiply defined, specify
3560 under which condition.
3561 (&macro_define): Use it.
3562 (&variable_delete): New.
3563 (&read_am_file): Use it.
3564 (&am_install_var): Simplify, as all the variables are in
3565 %conditional now.
3566
35672001-04-07 Tom Tromey <tromey@redhat.com>
3568
3569 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
3570 (TESTS): Likewise.
3571 * tests/man.test: New file.
3572
35732001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3574
3575 * depcomp (gcc3): Invert test condition.
3576
35772001-04-07 Tom Tromey <tromey@redhat.com>
3578
3579 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
3580 statement. Report from Larry Jones.
3581
35822001-04-07 Raja R Harinath <harinath@cs.umn.edu>
3583
3584 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
3585
35862001-04-01 Tom Tromey <tromey@redhat.com>
3587
3588 * java.am (.PHONY clean-am): Removed trailing ":".
3589 From Per Bothner. Fixes PR automake/139.
3590
35912001-03-28 Akim Demaille <akim@epita.fr>
3592
3593 * program.am: Fix a stupid typo: now *all* (not none) the programs
3594 use `$(EXEEXT)'.
3595 Reported by Robert Boehne.
3596
35972001-03-23 Akim Demaille <akim@epita.fr>
3598
3599 * automake.in (&read_am_file, &file_contents): Avoid name clashes
3600 on $cond.
3601
36022001-03-23 Akim Demaille <akim@epita.fr>
3603
3604 * automake.in (&variable_conditionally_defined): Rename as...
3605 (&check_variable_unconditionally_defined): this.
3606 (&variable_dump): Fix the output.
3607 (&variable_defined, &macro_define): Since conditions are
3608 canonicalized, don't use a loop to look for a condition: read the
3609 hash.
3610 (&macro_define, &rule_define, &read_am_file, &file_contents):
3611 Rename $cond_string as $cond.
3612 * distdir.am (PACKAGE, VERSION): Remove; since they are already
3613 discovered via AC_SUBST, they now trigger a `defined twice' error.
3614
36152001-03-23 Akim Demaille <akim@epita.fr>
3616
3617 * automake.in (&handle_footer, &handle_installdirs)
3618 (&read_main_am_file): Don't read %contents directly, use
3619 &variable_value.
3620
36212001-03-23 Akim Demaille <akim@epita.fr>
3622
3623 * automake.in (&read_am_file): Define the variables in a single
3624 shot.
3625 Factor the $saw_bk code.
3626
36272001-03-23 Akim Demaille <akim@epita.fr>
3628
3629 * automake.in (&read_am_file): Keep $cond_string up to date.
3630
36312001-03-23 Akim Demaille <akim@epita.fr>
3632
3633 * automake.in (&define_variable): Use &macro_define.
3634
36352001-03-23 Akim Demaille <akim@epita.fr>
3636
3637 * automake.in (&macro_define): Don't lose the location if we
3638 redefine a variable.
3639 Don't push all the variables in @var_list, let...
3640 (&read_am_file, &file_contents): ... do it.
3641 (&define_pretty_variable): Use macro_define.
3642 (&am_install_var): Delete the value of variables being redefined
3643 to pacify &macro_define which checks that variables are not
3644 doubly defined.
3645
36462001-03-23 Akim Demaille <akim@epita.fr>
3647
3648 * automake.in (&conditional_dump): Rename as...
3649 (&variables_dump): this. Use...
3650 (&variable_dump): this new sub.
3651
36522001-03-23 Akim Demaille <akim@epita.fr>
3653
3654 * automake.in (&file_contents): Maintain $cond_string sync with
3655 @cond_stack.
3656 Output rules only if not under `FALSE'.
3657 Define variables under $cond_string.
3658 * scripts.am: For the time being if/endif does not work properly
3659 with macros.
3660
36612001-03-23 Akim Demaille <akim@epita.fr>
3662
3663 * automake.in (IF_PATTERN): Unobfuscate the parens.
3664 (ENDIF_PATTERN): Allow a condition to be specified.
3665 (&file_contents): Use a @cond_stack.
3666 (&transform): At least for an easy transition, also transform
3667 %?FOO% and %!FOO%, as suggested by Lars.
3668 * scripts.am: First test bed for static if/endif use.
3669
36702001-03-23 Akim Demaille <akim@epita.fr>
3671
3672 * automake.in (&file_contents): Use rule_define.
3673
36742001-03-23 Akim Demaille <akim@epita.fr>
3675
3676 * automake.in (&macro_define): Don't rely on $1.
3677 Initialize the variable.
3678 Set its Automakism only if not defined or if given to the user.
3679 When concatenating values, insert a separator only if the value
3680 was not empty.
3681 (&read_am_file): When dumping the @var_list, skip Automake
3682 variables.
3683 (&file_contents): Use macro_define.
3684
36852001-03-23 Akim Demaille <akim@epita.fr>
3686
3687 * automake.in (&rule_define): Extract from...
3688 (&read_am_file): here.
3689
36902001-03-23 Akim Demaille <akim@epita.fr>
3691
3692 * automake.in (&macro_define, &read_am_file): More work for the
3693 former from the latter. Reorganize the latter.
3694
36952001-03-23 Akim Demaille <akim@epita.fr>
3696
3697 * automake.in (&macro_define): Extract from...
3698 (&read_am_file): here.
3699
37002001-03-23 Akim Demaille <akim@epita.fr>
3701
3702 * automake.in (%am_var_defs): Replace with...
3703 (%var_is_am): this.
3704 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
3705 (&file_contents, am_primary_&prefixes): Adjust.
3706 (&variable_defined, &define_variable): The actual semantics is
3707 `user defined'.
3708 (&read_main_am_file): Assert the var is user defined when
3709 outputting @var_list.
3710
37112001-03-23 Akim Demaille <akim@epita.fr>
3712
3713 * automake.in (read_am_file): TRUE and FALSE are predefined
3714 conditionals.
3715 (&by_condition): Adjust.
3716 (&conditional_string): Recognize `TRUE' and `FALSE'.
3717 (&make_condition): Use it.
3718 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
3719 * automake.texi (Conditionals): Adjust.
3720 * tests/cond9.test: s/FALSE/WRONG/.
3721
37222001-03-12 Pavel Roskin <proski@gnu.org>
3723
3724 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
3725 now.
3726
37272001-03-12 Akim Demaille <akim@epita.fr>
3728
3729 * automake.in (&variable_conditions_permutations): Separate the
3730 conditions.
3731 * tests/cond3.test: Improve the sed expression.
3732
37332001-03-09 Pavel Roskin <proski@gnu.org>
3734
3735 * Makefile.am (maintainer-check): Scan all *.am files and tests
3736 for invocations of `rm' without `-f'.
3737 * tests/mclean.test: Adjusted to prevent triggering the above
3738 test.
3739
37402001-03-09 Tom Tromey <tromey@redhat.com>
3741
3742 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
3743 maintainer-check failure.
3744
37452001-03-09 Akim Demaille <akim@epita.fr>
3746
3747 * tests/cond3.test: Strengthen.
3748
37492001-03-09 Akim Demaille <akim@epita.fr>
3750
3751 * automake.in (&conditional_string): Produce a unique string
3752 characterizing a condition stack.
3753 (&conditional_same): Remove, comparing two strings is now enough.
3754 (&variable_defined): Adjust.
3755 (&read_am_file): Use conditional_string.
3756
37572001-03-08 Akim Demaille <akim@epita.fr>
3758
3759 * automake.in: Use -w.
3760 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
3761 (&parse_arguments): Support --Werror and --Wno-error as a
3762 temporary hack until --warning/-W is properly implemented.
3763 (&handle_single_transform_list): Prototype.
3764 Be sure to define $directory.
3765 Use `exists' instead of testing the value of a maybe undefined
3766 hash value.
3767 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
3768 (&handle_factored_dependencies): Use defined values.
3769 (&scan_one_autoconf_file): Save $_.
3770 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
3771 Run automake with --Wno-error.
3772
37732001-03-07 Akim Demaille <akim@epita.fr>
3774
3775 * automake.in (&handle_all): Use an array instead of a scalar for
3776 local_headers.
3777 Get rid of all-redirect: let `all' be that target.
3778
37792001-03-07 Akim Demaille <akim@epita.fr>
3780
3781 * automake.in (&handle_merge_targets): Ventilate its non `all'
3782 related content into...
3783 (&generate_makefile): here.
3784 (&handle_merge_targets): Rename as...
3785 (&handle_all): this.
3786 Remove a useless `if': `@all' is obviously not empty, since it
3787 contains at least the `basename ($makefile)' which has just been
3788 unshifted.
3789
37902001-03-07 Akim Demaille <akim@epita.fr>
3791
3792 * automake.in, aclocal.in: Backquote is inert in double quotes.
3793
37942001-03-06 Akim Demaille <akim@epita.fr>
3795
3796 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
3797 into `grep -v ...'.
3798
37992001-03-06 Pavel Roskin <proski@gnu.org>
3800
3801 * java.am: Use `rm -f' instead of `rm'.
3802
38032001-03-06 Akim Demaille <akim@epita.fr>
3804
3805 * automake.in (&push_dist_common): Simplify.
3806
38072001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
3808
3809 * ltlib.am: Replaced spaces with tab.
3810
38112001-03-06 Pavel Roskin <proski@gnu.org>
3812
3813 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
3814 fixed now.
3815
38162001-03-05 Pavel Roskin <proski@gnu.org>
3817
3818 * header.am, scripts.am: Use ?INSTALL? in the install and
3819 uninstall rules.
3820
38212001-03-05 Pavel Roskin <proski@gnu.org>
3822
3823 * tests/copy.test: Never use `rm' without `-f' - it may ask
3824 questions, notably for read-only files during `make distcheck'.
3825 * tests/insh.test: Likewise.
3826 * tests/installsh.test: Likewise.
3827 * tests/symlink.test: Likewise.
3828 * tests/symlink2.test: Likewise.
3829 * tests/symlink3.test: Likewise.
3830
38312001-03-05 Pavel Roskin <proski@gnu.org>
3832
3833 * noinstdir.test: New test.
3834 * tests/Makefile.am (TESTS): Add noinstdir.test.
3835 (XFAIL_TESTS): Likewise.
3836
38372001-03-05 Akim Demaille <akim@epita.fr>
3838
3839 * automake.in (&handle_options): Change the RE so that the third
3840 part of the versions always exist.
3841 (&file_contents): Don't pass uninitialized values to &transform.
3842
38432001-03-05 Akim Demaille <akim@epita.fr>
3844
3845 * automake.in (&file_contents): Require a hash as second argument.
3846 Adjust callers.
3847
38482001-03-05 Akim Demaille <akim@epita.fr>
3849
3850 Always use hashes with &file_contents.
3851
3852 * automake.in (&handle_texinfo): texibuild.am does not need
3853 TEXINFODIR.
3854 texinfos.am wants only TEXICLEANS.
3855 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
3856 %transform.
3857 * texinfos.am: Adjust.
3858
38592001-03-05 Akim Demaille <akim@epita.fr>
3860
3861 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
3862 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
3863 (&am_install_var): Forget about `-clean'.
3864 Transform ?INSTALL?.
3865 Always output the *.am file.
3866 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
3867 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
3868 Remove, merged into the corresponding *.am file.
3869 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
3870 ?INSTALL?.
3871
38722001-03-05 Pavel Roskin <proski@gnu.org>
3873
3874 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
3875
38762001-03-05 Akim Demaille <akim@epita.fr>
3877
3878 If OBJEXT and EXEEXT are not set, provide a default value, and use
3879 them unconditionally.
3880
3881 * automake.in (&generate_makefile): Provide default values for
3882 EXEEXT and OBJEXT.
3883 (&get_object_extension, &finish_languages)
3884 (&handle_single_transform_list, &handle_programs, &add_depend2)
3885 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
3886 them, they are defined.
3887 * compile.am, depend2.am, program.am, progs.am: Likewise.
3888 * remake-hdr.am: Fix a typo.
3889 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
3890 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
3891 * tests/suffix2.test: Adjust.
3892
38932001-03-05 Akim Demaille <akim@epita.fr>
3894
3895 * automake.in (&file_contents): Map MAINTAINER-MODE to
3896 @MAINTAINER_MODE_TRUE@ or nothing.
3897 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
3898 Suggested by Tom.
3899
39002001-03-05 Akim Demaille <akim@epita.fr>
3901
3902 * automake.in (&do_one_merge_target): Remove, was only called from...
3903 (&handle_merge_targets): here for `all'.
3904 Adjust.
3905
39062001-03-05 Akim Demaille <akim@epita.fr>
3907
3908 Make the installation/uninstallation of Info pages follow the
3909 regular am/recursive scheme.
3910
3911 * automake.in (%required_targets, %dependencies): Add
3912 install-info.
3913 (%dependencies): Add install-info, install-info-am, and
3914 unstall-info.
3915 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
3916 reversed BTW. Does anybody use the option `no-installinfo'?
3917 (&handle_merge_targets): Let the handling of info related targets
3918 to...
3919 (&handle_factored_dependencies): this.
3920 * subdirs.am: Use ?INSTALL-INFO?.
3921 * texinfos.am: Define the install-info, uninstall-info and
3922 uninstall-info-am targets.
3923
39242001-03-05 Akim Demaille <akim@epita.fr>
3925
3926 * automake.in (%required_targets, %dependencies): Add dvi, info,
3927 dvi-am, info-am.
3928 (@info, @dvi): Remove.
3929 (&handle_texinfo, &handle_merge_targets): Adjust.
3930 (&handle_factored_dependencies): Required targets are phony.
3931 * texinfos.am: Build info, dvi, and the corresponding -am or
3932 -recursive targets.
3933
39342001-03-05 Akim Demaille <akim@epita.fr>
3935
3936 * automake.in (&am_install_var): Remove $cygxform, unused.
3937
39382001-03-05 Akim Demaille <akim@epita.fr>
3939
3940 * automake.in (&file_contents): Transform LIBTOOL.
3941 (&am_install_var): Remove $ltxform.
3942 * ltlib.am, progs.am: Adjust.
3943
39442001-03-05 Akim Demaille <akim@epita.fr>
3945
3946 * automake.in: Require AC_PROG_INSTALL in...
3947 (&scan_autoconf_files): here.
3948
39492001-03-05 Akim Demaille <akim@epita.fr>
3950
3951 * configure.am: New file.
3952 * automake.in (&file_contents): Transform CONFIGURE-AC.
3953 (&handle_texinfo, &handle_configure): Don't transform
3954 CONFIGURE_AM.
3955 (&handle_configure): Use `configure.am'.
3956 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
3957 MAINTAINER-MODE and CONFIGURE-AC.
3958
39592001-03-05 Akim Demaille <akim@epita.fr>
3960
3961 * automake.in (&pretty_print_internal): Don't output useless
3962 spaces.
3963 (define_pretty_variable): Don't issue the space after the `=' sign
3964 to avoid trailing spaces in Makefile.ins.
3965
39662001-03-05 Akim Demaille <akim@epita.fr>
3967
3968 * automake.in (&generate_makefile): Invoke &initialize_per_input
3969 *before* setting $am_file_name and $in_file_name.
3970
39712001-03-05 Akim Demaille <akim@epita.fr>
3972
3973 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
3974 Globals, initialized...
3975 (&initialize_per_input): here.
3976
39772001-03-05 Akim Demaille <akim@epita.fr>
3978
3979 * automake.in ($am_relative_dir): Global.
3980 (&initialize_per_input): Init it.
3981 (%make_list, @make_input_list): My them from
3982 (&scan_autoconf_files): here.
3983 (&require_file_internal): Mying changes.
3984
39852001-03-05 Akim Demaille <akim@epita.fr>
3986
3987 * automake.in (%am_vars, @var_list, %def_type): Globals.
3988 (&initialize_per_input): Initialize them.
3989 (&read_main_am_file): Don't local them.
3990 (&get_object_extension): $objext is private.
3991 (&handle_single_transform_list): $lang is.
3992 (&handle_ltlibraries): $libname_rx is.
3993 (&scan_autoconf_config_files): How about actually paying attention
3994 to your arguments, instead of working on $_? (this is no Perl
3995 variable, it's a Perl variable followed by a question mark).
3996 (&file_contents): $contents and $separator are private.
3997 (&am_install_var): Declare @condvals, not $condvals.
3998 (%make_dirs): My.
3999
40002001-03-05 Akim Demaille <akim@epita.fr>
4001
4002 * automake.in (&initialize_per_input): Move to the top.
4003 Precede with the `my' list of its variables.
4004
40052001-03-05 Akim Demaille <akim@epita.fr>
4006
4007 * automake.in ($am_file): Use vars.
4008 ($am_file_name, $in_file_name): Private to &generate_makefile.
4009
40102001-03-05 Akim Demaille <akim@epita.fr>
4011
4012 * automake.in: Preparation for `use strict': Move the
4013 initialization of the constants to the top, from...
4014 (&initialize_global_constants): here.
4015
40162001-03-05 Akim Demaille <akim@epita.fr>
4017
4018 * automake.in (&handle_single_transform_list, &add_depend2): Let
4019 $lang_specific_files{$lang} be a list instead of a string.
4020
40212001-03-05 Akim Demaille <akim@epita.fr>
4022
4023 Let's make it run ten times faster...
4024
4025 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
4026 transformations.
4027 (&file_contents): Let `$command' remove the Automake commands, and
4028 normalize the series of `\n'.
4029 Slurp the file and apply $command in a single step.
4030 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
4031 is already normalized to be handled by &transform.
4032
40332001-03-05 Tom Tromey <tromey@redhat.com>
4034
4035 * automake.in (register_language): Add entry for `-pure'.
4036 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
4037 (finish_languages): Use `-pure' field of language map.
4038
40392001-03-03 Tom Tromey <tromey@redhat.com>
4040
4041 * tests/yaccvpath.test: No need to remove dummy files.
4042 * tests/subobj3.test: No need to remove dummy files.
4043 * tests/pr9.test: No need to remove dummy files.
4044 * tests/pr87.test: No need to remove dummy files.
4045 * tests/pr19.test: No need to remove dummy files.
4046 * tests/install2.test: No need to remove dummy files.
4047 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
4048 and depcomp.
4049
40502001-02-27 Pavel Roskin <proski@gnu.org>
4051
4052 * tests/yaccvpath.test: Add a delay to make parse.c really out
4053 of date. Detect the problem earlier, after `make distdir'. Drop
4054 dependency on flex. Always use the `-y' flag for bison. Comment
4055 changes.
4056 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
4057
40582001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
4059
4060 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
4061
40622001-02-28 Akim Demaille <akim@epita.fr>
4063
4064 * automake.in (&add_depend2): Transform `GENERIC'.
4065 Get rid of the ad hoc transformation of `@EXT@.o:' which in
4066 addition was broken by the `@ -> %' patch.
4067 * depend2.am: Adjust to use ?GENERIC?.
4068
40692001-02-28 Akim Demaille <akim@epita.fr>
4070
4071 * Makefile.am (maintainer-check): `undef $/' is OK.
4072
40732001-02-28 Akim Demaille <akim@epita.fr>
4074
4075 * automake.in (&handle_configure): Fortunately, $top_reldir,
4076 the definition of which was highly suspicious, was unused.
4077
40782001-02-27 Akim Demaille <akim@epita.fr>
4079
4080 * automake.in (%exec_dir_p): Move to the top so that it is visible
4081 to all routines.
4082
40832001-02-27 Pavel Roskin <proski@gnu.org>
4084
4085 * tests/yaccvpath.test: Prevent automake from looking into ..
4086 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
4087
40882001-02-27 Akim Demaille <akim@epita.fr>
4089
4090 * automake.in (%exec_dir_p): Pulled out from...
4091 (&am_primary_prefixes): here.
4092
40932001-02-27 Akim Demaille <akim@epita.fr>
4094
4095 * automake.in (&usage): Display $0, not $me.
4096
40972001-02-27 Akim Demaille <akim@epita.fr>
4098
4099 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
4100 * automake.in (&handle_clean): Don't escape what's given to
4101 &transform.
4102
41032001-02-27 Akim Demaille <akim@epita.fr>
4104
4105 Distinguish automake substitutions from config.status
4106 substitutions.
4107
4108 * automake.in (&add_depend2): Transform AMDEP.
4109 (&handle_clean): Transform MCFILES and MFILES.
4110 (&file_contents): Transform MAINTAINER_MODE.
4111 (&transform, &am_install_var): Use `%', not `@'.
4112 Adjust all the *.am files.
4113 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
4114 * depend2.am: Display the double dependency on both ?AMDEP? and
4115 @AMDEP@.
4116
41172001-02-27 Tom Tromey <tromey@redhat.com>
4118
4119 * distdir.am (distcheck): Fixed new code.
4120
4121 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
4122 Only configure once.
4123
4124 * distdir.am (distcheck): Print error message if distclean failed
4125 to fully clean.
4126
41272001-02-27 Pavel Roskin <proski@gnu.org>
4128
4129 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
4130
41312001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4132
4133 * tests/Makefile.am (TESTS): Added yaccvpath.test.
4134 * tests/yaccvpath.test: New file.
4135
41362001-02-26 Akim Demaille <akim@epita.fr>
4137
4138 * automake.in (&am_install_var): Recognize whether predefined
4139 directories are `data' or `exec'.
4140 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
4141 ?EXEC?.
4142 * tests/instdata2.test: Update.
4143
41442001-02-26 Akim Demaille <akim@epita.fr>
4145
4146 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
4147 necessarily in infodir.
4148
41492001-02-26 Akim Demaille <akim@epita.fr>
4150
4151 * automake.in ($am_file): Be `local', as my'd variables used in
4152 `foreach' loops are always private to the loop.
4153
41542001-02-26 Pavel Roskin <proski@gnu.org>
4155
4156 * Makefile.am: Add install.am.
4157
41582001-02-26 Akim Demaille <akim@epita.fr>
4159
4160 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
4161 routines, otherwise the elements to compare are passed in @_
4162 instead of $a and $b.
4163
41642001-02-26 Akim Demaille <akim@epita.fr>
4165
4166 * automake.in (%required_targets): `installcheck-am' is needed.
4167
41682001-02-26 Akim Demaille <akim@epita.fr>
4169
4170 * automake.in (&transform_cond): Merge into...
4171 (&transform): this.
4172 Adjust all uses.
4173
41742001-02-26 Akim Demaille <akim@epita.fr>
4175
4176 * automake.in (&handle_dist): Use &transform instead of dedicated
4177 magic for DISTDIRS.
4178 But be sure to always do it.
4179 * distdir.am: Adjust.
4180
41812001-02-26 Akim Demaille <akim@epita.fr>
4182
4183 * automake.in: Use File::Basename.
4184 (&dirname, &basename): Remove.
4185
41862001-02-26 Akim Demaille <akim@epita.fr>
4187
4188 * automake.in ($me): New.
4189 Use it.
4190 (&usage): Display your full name.
4191
41922001-02-26 Akim Demaille <akim@epita.fr>
4193
4194 * automake.texi (Invoking Automake): Remove dead options.
4195
41962001-02-26 Akim Demaille <akim@epita.fr>
4197
4198 * automake.in (&scan_texinfo_file): Also compute the list of files
4199 to clean.
4200 Handle local errors.
4201 (&handle_texinfo): Use it.
4202
42032001-02-26 Akim Demaille <akim@epita.fr>
4204
4205 * automake.in: Don't pass arguments to...
4206 (&parse_arguments): Work on @ARGV.
4207 Use Getopt.
4208 Add support for `-f'.
4209 (&version): New.
4210 (&usage): Update.
4211
42122001-02-26 Akim Demaille <akim@epita.fr>
4213
4214 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4215 handle installcheck and installcheck-am.
4216 * install.am: Do it.
4217
42182001-02-26 Akim Demaille <akim@epita.fr>
4219
4220 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4221 handle install and install-am.
4222 * install.am: Do it.
4223
42242001-02-26 Akim Demaille <akim@epita.fr>
4225
4226 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
4227 work on targets handled by %dependencies.
4228 (&handle_factored_dependencies): Do it.
4229 * install.am: Install install-exec, install-data and uninstall's
4230 suites.
4231
42322001-02-26 Akim Demaille <akim@epita.fr>
4233
4234 * automake.in (&handle_merge_targets): Move `install-strip' from
4235 here...
4236 * install.am: to here.
4237
42382001-02-26 Akim Demaille <akim@epita.fr>
4239
4240 * automake.in (@installdirs): Remove.
4241 (&file_contents): Be able to grow Automake macros with `+='.
4242 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
4243 files define _am_installdirs.
4244 (&handle_installdirs): Remove the code, just output `install.am'.
4245 * install.am: New.
4246 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
4247 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
4248
42492001-02-26 Akim Demaille <akim@epita.fr>
4250
4251 * tests/instdata2.test (libexec_DATA): Exercise more
4252 possibilities.
4253
42542001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4255
4256 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
4257
42582001-02-25 Tom Tromey <tromey@redhat.com>
4259
4260 * tests/instdata2.test: Added `sbin_DATA' check.
4261
4262 * tests/Makefile.am (TESTS): Added subdircond.test.
4263 * tests/subdircond.test: New file.
4264 * automake.in (handle_gettext): Don't fail if SUBDIRS
4265 conditionally defined.
4266
4267 * automake.in: Use IO::File.
4268 (generate_makefile): Use IO::File.
4269 (scan_texinfo_file): Likewise.
4270 (handle_aclocal_m4): Likewise.
4271 (scan_autoconf_traces): Likewise.
4272 (scan_one_autoconf_file): Likewise.
4273 (read_am_file): Likewise.
4274 (file_contents): Likewise.
4275 (create): Likewise.
4276
42772001-02-25 Akim Demaille <akim@epita.fr>
4278
4279 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
4280
42812001-02-25 Akim Demaille <akim@epita.fr>
4282
4283 * automake.in (&transform): Also call &transform_cond on your
4284 arguments.
4285 (&handle_dist): Adjust.
4286 (&handle_factored_dependencies): Uniq dependencies.
4287
42882001-02-25 Akim Demaille <akim@epita.fr>
4289
4290 * automake.in (&handle_gettext): Simplify redundant `if'.
4291 Used &variable_value, don't read %contents directly.
4292
42932001-02-25 Akim Demaille <akim@epita.fr>
4294
4295 * automake.in ($install_recursive): Remove, replaced with calls to
4296 `&variable_defined ('SUBDIRS')'.
4297 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
4298 (&file_contents): now does.
4299
43002001-02-25 Akim Demaille <akim@epita.fr>
4301
4302 * automake.in (&handle_man_pages): $found is dead.
4303
43042001-02-25 Akim Demaille <akim@epita.fr>
4305
4306 Internally just store the conditionals as space separated lists of
4307 CONDITIONS (instead of @CONDITIONS@).
4308
4309 * automake.in (&conditional_true_when, &variable_conditions_sub):
4310 Split conditions at spaces.
4311 (&handle_dependencies, &variable_conditions_permutations): Don't
4312 put @ around conditions.
4313 (&variable_conditions_cmp): There are no @ to strip.
4314 (&make_condition): New.
4315 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
4316 it.
4317 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
4318 Join @conditional_stack with spaces.
4319 (&read_main_am_file): Adjust the output of variables.
4320 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
4321 true' and no longer `@TEST@TRUE = @TEST@true'.
4322 (&variable_conditions_cmp): Rename as...
4323 (&by_condition): this.
4324 Sort in a human pleasant order.
4325 Use it everywhere a human can see conditions.
4326 (&variable_conditions_reduce): Don't sort conditions, that's
4327 pointless.
4328 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
4329
43302001-02-25 Akim Demaille <akim@epita.fr>
4331
4332 * automake.in: `my' the globals.
4333
43342001-02-25 Akim Demaille <akim@epita.fr>
4335
4336 * automake.in (&initialize_per_input): %targets_conditionals is
4337 new.
4338 (&read_am_file): When slurping a rule, set the target related
4339 variable, and no variable related variable.
4340 (&file_contents): Likewise.
4341 * tests/vartar.test, tests/ctarget1.test: New.
4342
43432001-02-25 Akim Demaille <akim@epita.fr>
4344
4345 * automake.in (&variable_defined, &variable_value_as_list_worker):
4346 If $VAR is effectively a variable, don't die if it's also a
4347 target.
4348 Plus some formatting changes.
4349
43502001-02-25 Akim Demaille <akim@epita.fr>
4351
4352 * automake.in: Mying changes.
4353 * Makefile.am (maintainer-check): Check the stability of the
4354 number of uses of `local'.
4355
43562001-02-25 Akim Demaille <akim@epita.fr>
4357
4358 * automake.in: Mying changes.
4359
43602001-02-25 Akim Demaille <akim@epita.fr>
4361
4362 * automake.in: Mying changes.
4363
43642001-02-25 Akim Demaille <akim@epita.fr>
4365
4366 * automake.in: Mying changes.
4367 (&handle_tags): Fix a bug uncovered by the previous mying changes:
4368 transform CONFIG into $config, not $xform.
4369
43702001-02-25 Akim Demaille <akim@epita.fr>
4371
4372 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
4373 Don't deal with install-data-am, install-exec-am and unstall-am.
4374 (&initialize_per_input): Add them to %dependencies.
4375 Remove %exec_dir_p since the *.am files are now in charge of it.
4376 Remove @uninstall, @install_data, @install_exec.
4377 (&handle_merge_targets): Adjust to these removals.
4378 (&file_contents): Also &transform_cond for --no-installman and
4379 --no-installinfo.
4380 (&do_one_merge_target): Add some magic to install hooks on
4381 %dependencies' targets.
4382 (%required_targets): New.
4383 (&handle_factored_dependencies): Output required targets.
4384 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
4385 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
4386 * texinfos.am: Declare your dependencies on install-data-am,
4387 install-exec-am and uninstall-am.
4388 * tests/instdata2.test (incldata_HEADERS): New test.
4389
43902001-02-24 Tom Tromey <tromey@redhat.com>
4391
4392 * Makefile.am (amfiles): Added texibuild.am.
4393 * texibuild.am: New file.
4394 * tests/Makefile.am (TESTS): Added texinfo9.test.
4395 * tests/texinfo9.test: New file.
4396 * automake.in (handle_texinfo): Keep track of suffixes used. Give
4397 error if suffix unrecognized. Removed extraneous newline.
4398
43992001-02-23 Akim Demaille <akim@epita.fr>
4400
4401 * automake.in (&am_install_var): Don't hook on the clean targets
4402 and .PHONY.
4403 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
4404 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
4405 Do it.
4406
44072001-02-23 Akim Demaille <akim@epita.fr>
4408
4409 * automake.in: Promote local `my' over `local'.
4410
44112001-02-23 Akim Demaille <akim@epita.fr>
4412
4413 * automake.in: Formatting and mying changes.
4414
44152001-02-23 Akim Demaille <akim@epita.fr>
4416
4417 * automake.in: Formatting and mying changes.
4418
44192001-02-23 Akim Demaille <akim@epita.fr>
4420
4421 * automake.in (&handle_man_pages): Let install-man and
4422 uninstall-man be handled by the dependency tracker.
4423 (&initialize_per_input): Let %dependencies track them.
4424 * mans.am: Add the needed hooks with the proper dependencies.
4425
44262001-02-22 Pavel Roskin <proski@gnu.org>
4427
4428 * tests/target-cflags.test: Don't use subshell to configure in
4429 subdirectory. Typo fix - run `./foo', not `/foo'.
4430
44312001-02-22 Akim Demaille <akim@epita.fr>
4432
4433 * automake.in: Formatting and mying changes.
4434
44352001-02-21 Tom Tromey <tromey@redhat.com>
4436
4437 * automake.in (handle_dist): Introduce new variable to avoid extra
4438 keys in %dist_dirs. Fixes distdir.test.
4439
4440 * automake.in (handle_texinfo): Only remove suffixes we can
4441 handle.
4442
4443 * tests/distdir.test: Check to make sure directory isn't made in
4444 build directory.
4445
4446 * automake.in (handle_dist): Do nothing in Cygnus mode.
4447
44482001-02-21 Pavel Roskin <proski@gnu.org>
4449
4450 * header-vars.am: Remove tabs before variable definitions.
4451
44522001-02-21 Akim Demaille <akim@epita.fr>
4453
4454 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
4455 false diagnostics.
4456
44572001-02-21 Akim Demaille <akim@epita.fr>
4458
4459 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
4460 numeric value as required by Perl 5.6.
4461
44622001-02-21 Akim Demaille <akim@epita.fr>
4463
4464 * dist-vars.am: Remove, merge into...
4465 * distdir.am: this.
4466 * automake.in (dirname, basename, backname): Move to the top of
4467 the file so that prototypes are checked,
4468 Use them without `&'.
4469 (&handle_dist): Adjust.
4470
44712001-02-21 Akim Demaille <akim@epita.fr>
4472
4473 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
4474 Use a uniform naming scheme.
4475 (&quote_cond_val, &unquote_cond_val): Delete, dead code.
4476 (&read_am_file): Fix conditional definition of backslash continued
4477 items.
4478
44792001-02-21 Akim Demaille <akim@epita.fr>
4480
4481 Change the handling of conditionals: instead of using an ad-hoc
4482 encoding to store a hash in a string, use hashes.
4483
4484 * automake.in (&conditional_dump): New.
4485 (&check_ambiguous_conditional, &variable_defined)
4486 (&variable_conditions_sub, &variable_value_as_list_worker)
4487 (&define_variable, read_am_file, &read_main_am_file): Be sure to
4488 handle `$conditional{$vars}' as a hash instead of a plain string.
4489
44902001-02-21 Akim Demaille <akim@epita.fr>
4491
4492 * automake.in (&conditional_true_when): Modernize, simplify.
4493 Warning: `$comp' is now private (my), while it used to be
4494 `inherited' from a `local' elsewhere in the code. AFAICT it was
4495 wrong, but some dirty side effect might show up.
4496 (&conditionals_true_when): New.
4497 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
4498
44992001-02-21 Akim Demaille <akim@epita.fr>
4500
4501 * automake.in ($top_builddir): Remove, used in one place.
4502 (&define_standard_variables): Adjust.
4503 Move the definition of triplet variables into...
4504 * header-vars.am: here.
4505
45062001-02-21 Akim Demaille <akim@epita.fr>
4507
4508 * automake.in (&initialize_global_constants): Don't define $USAGE.
4509 (&usage): Handle the former content of $USAGE.
4510 Don't pretend autoconf cares about Makefile.in.
4511 Classify the options.
4512 (&handle_tests): Formatting and mying changes.
4513
45142001-02-21 Akim Demaille <akim@epita.fr>
4515
4516 * automake.in (&handle_tests_dejagnu): Move the definition of a
4517 default `site.exp' into...
4518 * dejagnu.am (site.exp): here.
4519 Use DOS compliant file names.
4520
45212001-02-21 Akim Demaille <akim@epita.fr>
4522
4523 * automake.in (&dist_cmp): New.
4524 (&handle_dist): Use it.
4525 Promote `my' over `local'.
4526
45272001-02-21 Akim Demaille <akim@epita.fr>
4528
4529 * dist.am: Remove, merge into...
4530 * distdir.am: here. Use the neat sed snippet for banners.
4531 BTW, distcheck is phony.
4532 * automake.in (&handle_dist_worker): Remove, merge into...
4533 (&handle_dist): this.
4534 (&file_contents): Strip leading new lines.
4535 Be sure to end comments with new lines.
4536
45372001-02-21 Akim Demaille <akim@epita.fr>
4538
4539 * distdir.am (GZIP_ENV): Define.
4540 * automake.in (&handle_dist): Don't.
4541 (&uniq): New.
4542 (&handle_dist_worker, &am_install_var): Use it.
4543
45442001-02-21 Akim Demaille <akim@epita.fr>
4545
4546 * distdir.am (distdir): Handle the DIST-TARGETS.
4547 * automake.in (&handle_dist_worker): Don't.
4548
45492001-02-21 Akim Demaille <akim@epita.fr>
4550
4551 * automake.in (&file_contents): Transform the global options (such
4552 as CYGNUS).
4553 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
4554
45552001-02-21 Akim Demaille <akim@epita.fr>
4556
4557 * distdir.am (distdir): Be sure to have permissive rights on its
4558 contents.
4559 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
4560 targets.
4561 And BTW, all these guys are phony.
4562 * automake.in (&handle_dist_worker): As its name doesn't indicate,
4563 output distributions.
4564 (&handle_dist): As its name doesn't indicate, don't.
4565 (&initialize_global_constants): Don't define variables which
4566 content is now handled by distdir.am.
4567 But register `dist-all' as a factored target.
4568 (&handle_factored_dependencies): Don't output empty targets.
4569
45702001-02-20 Tom Tromey <tromey@redhat.com>
4571
4572 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
4573 invocation.
4574
45752001-02-18 Tom Tromey <tromey@redhat.com>
4576
4577 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
4578 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
4579 (AM_PROG_STRIP): Commented out.
4580
45812001-02-17 Raja R Harinath <harinath@cs.umn.edu>
4582
4583 * depcomp (gcc3): Protect against the compiler deleting
4584 the dependency output file.
4585
45862001-02-17 Tom Tromey <tromey@redhat.com>
4587
4588 * automake.in (handle_merge_targets): Use double quotes around
4589 setting of INSTALL_STRIP_PROGRAM.
4590 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
4591 to absolute path at runtime.
4592 (AM_PROG_STRIP): Don't explicitly test $STRIP.
4593
45942001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
4595
4596 * m4/strip.m4: New file.
4597 * m4/Makefile.am (m4data_DATA): Add strip.m4.
4598 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
4599 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
4600 * automake.in (handle_merge_targets): In the install-strip rule,
4601 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
4602 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
4603 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
4604 don't use INSTALL_STRIP_FLAG any longer.
4605
46062001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4607
4608 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
4609 argument.
4610
46112001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
4612
4613 * automake.in (unquote_m4_arg): New function.
4614 (scan_one_configure_file): Call unquote_m4_arg on
4615 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
4616 works.
4617
46182001-02-15 Tom Tromey <tromey@redhat.com>
4619
4620 * config.guess, config.sub: New versions from FSF.
4621
4622 * Makefile.am (WGET): New macro.
4623 (FETCHFILES): New macro.
4624 (fetch): New target.
4625
4626 * tests/subobj3.test: Exit with status 77 if gcc not found.
4627 * tests/pr9.test: Exit with status 77 if gzip not found.
4628 * tests/pr87.test: Exit with status 77 if gcc not found.
4629 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
4630 * tests/install2.test: Exit with status 77 if gzip not found.
4631 * tests/exsource.test: Exit with status 77 if GNU make not found.
4632 * tests/ansi3.test: Exit with status 77 if gcc not found.
4633
4634 * tests/target-cflags.test: Require GNU make. Exit with status 77
4635 if gcc or make not found. Fixes PR automake/121.
4636
4637 * configure.in: Require Perl 5.005.
4638 * automake.in: Require 5.005.
4639
4640 * automake.texi (Top): Conditionalize on `nottex', not `info'.
4641 Fixes PR automake/122.
4642
46432001-02-14 Tom Tromey <tromey@redhat.com>
4644
4645 * automake.in (add_depend2): Only emit a given object rule once.
4646 Fixes specflags6.test.
4647
46482001-02-14 Richard Boulton <richard@tartarus.org>
4649
4650 * tests/specflags6.test: New file.
4651
46522001-02-14 Tom Tromey <tromey@redhat.com>
4653
4654 * automake.texi (A Shared Library): Mention -module.
4655
46562001-02-13 Tom Tromey <tromey@redhat.com>
4657
4658 * automake.in (do_one_merge_target): Always register $name and
4659 $name-am as phony.
4660
4661 * automake.in (do_one_merge_target): Register `all' as phony
4662 target.
4663
4664 * configure.in: Updated to 1.4e for cvs.
4665
46662001-02-12 Tom Tromey <tromey@redhat.com>
4667
4668 * configure.in: Updated to 1.4d and released.
4669
4670 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
4671 names through autoconf.
4672
4673 Fix for subdirbuiltsources.test:
4674 * automake.in (initialize_per_input): [all_target] Initialize to
4675 empty string.
4676 (handle_merge_targets): Use all-redirect target to handle built
4677 sources.
4678 (do_one_merge_target): Don't generate all-redirect rule.
4679
46802001-02-11 Peter Muir <iyhi@yahoo.com>
4681
4682 * tests/subdirbuiltsources.test: New file.
4683 * tests/Makefile.am (TESTS): Added new file.
4684
46852001-02-10 Tom Tromey <tromey@redhat.com>
4686
4687 * tests/condlib.test: New file.
4688 * tests/Makefile.am (TESTS): Added new file.
4689
46902001-02-10 Lars J. Aas <larsa@sim.no>
4691
4692 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
4693 (&canonicalize): New. Includes '@' in canonical range.
4694 (&check_canonical_spelling, &handle_programs, &handle_libraries,
4695 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
4696
46972001-02-10 Raja R Harinath <harinath@cs.umn.edu>
4698
4699 * automake.in (handle_configure): Revert part of
4700 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
4701 set CONFIG_COMMANDS explicitly.
4702
47032001-02-09 Raja R Harinath <harinath@cs.umn.edu>
4704
4705 * depcomp (gcc3): Propagate exit code.
4706
47072001-02-09 Lars J. Aas <larsa@sim.no>
4708
4709 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
4710
47112001-02-09 Tom Tromey <tromey@redhat.com>
4712
4713 Clean up maintainer-check warnings:
4714 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
4715 check.
4716 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
4717
47182001-02-09 Akim Demaille <akim@epita.fr>
4719
4720 * automake.in (&file_contents): Remove a dead branch.
4721
47222001-02-09 Akim Demaille <akim@epita.fr>
4723
4724 * automake.in (&transform): Use `my', not `local'.
4725 (&transform_cond): New.
4726 (&get_object_extension, &handle_texinfo, &handle_tags)
4727 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
4728 (&handle_tests_dejagnu): Use it.
4729 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
4730 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
4731
47322001-02-09 Akim Demaille <akim@epita.fr>
4733
4734 * automake.in: Various formatting changes, and modernization of
4735 Perl constructs.
4736 (&backname): New.
4737 (&handle_configure, define_standard_variables): Use it.
4738
47392001-02-08 Tom Tromey <tromey@redhat.com>
4740
4741 * automake.in (file_contents): Only add $actions if any are
4742 found. Fixes new failure in pr87.test.
4743
47442001-02-08 Pavel Roskin <proski@gnu.org>
4745
4746 * tests/pr87.test: Check foo/Makfile.in after it is created.
4747
47482001-02-08 Tom Tromey <tromey@redhat.com>
4749
4750 * tests/pr87.test: Added check for blank line after `.c.o' rule.
4751 Report from Lars J. Aas.
4752
47532001-02-07 Lars J. Aas <larsa@sim.no>
4754
4755 * lisp.am (install-@DIR@LISP): Removed extra space.
4756 * header.am (install-@DIR@HEADERS): Removed extra space.
4757 * data.am (install-@DIR@DATA): Removed extra space.
4758
47592001-02-07 Tom Tromey <tromey@redhat.com>
4760
4761 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
4762
4763 * automake.in (handle_dependencies): Use _am_include, not
4764 AMINCLUDE.
4765 * tests/exsource.test: Use _am_include, not AMINCLUDE.
4766 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
4767
4768 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
4769
4770 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
4771
4772 * automake.in (handle_configure): Handle case where output file is
4773 in subdir with no Makefile of its own. Fixes remake3.test,
4774 distcommon.test.
4775
47762001-02-06 Pavel Roskin <proski@gnu.org>
4777
4778 * automake.in (handle_dependencies): Rename AM_INCLUDE to
4779 AMINCLUDE.
4780 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
4781 * tests/exsource.test: Likewise.
4782
47832001-02-06 Derek Price <derek.price@openavenue.com>
4784
4785 * automake.in (handle_configure): Fix syntax error.
4786
47872001-02-06 Akim Demaille <akim@epita.fr>
4788
4789 * subdirs.am: This file is the exception: clean recursive targets
4790 are called by the clean targets, not the clean-am targets.
4791 Otherwise we have a circular dependency: clean -> clean-am ->
4792 clean-recursive -> clean.
4793 * automake.in (handle_clean): Bind `-local' targets to `-am'
4794 targets, not top targets.
4795 Don't declare -recursive dependencies of the clean targets:
4796 `subdirs.am' did it. Less hard coded knowledge, transfered
4797 into...
4798 * clean.am: here.
4799
48002001-02-06 Akim Demaille <akim@epita.fr>
4801
4802 Monstro unsplitable patch.
4803
4804 The aim is to remove hard coded knowledge about clean targets from
4805 automake.in, leaving them in the *.am files.
4806 In addition to the mechanic needed to factor some dependencies, it
4807 appears some rules (most notably distclean and maintainer-clean)
4808 need factored actions. So first, be ready to catch factored
4809 rules.
4810
4811 * automake.in (&file_contents): For the time being, use an extended
4812 $RULE_PATTERN which is able to match any kind of rules, with or
4813 without dependency, with or without actions.
4814 Handle all the rules uniformly, storing in %actions the factored
4815 actions.
4816 (&flatten, &target_cmp): New.
4817 (&handle_factored_dependencies): Output the %actions.
4818 No longer special case `clean'.
4819 Output the rules in alphabetical order, but keeping `.PHONY' last.
4820
4821 Now we must not use &push_phony_cleaners, which is doing all sort
4822 of magic to push a bit of everything in all the clean targets.
4823 The biggest problem being that, making a Cartesian product, it
4824 requires many useless targets. The `*.am' file know better.
4825 But first, register the new factored rules.
4826
4827 * automake.in (&initialize_per_input): Include clean, mostlyclean,
4828 maintainer-clean, distclean and their `*-am' counterpart in
4829 %dependencies.
4830 Initialize %actions.
4831 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
4832 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
4833 (handle_emacs_lisp, handle_python): Don't play with
4834 &push_phony_cleaners nor &depend and `clean'.
4835 * texinfos.am, texi-vers.am, tags-clean.am:
4836 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
4837 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
4838 * clean-kr.am, clean-hdr.am: Do it.
4839 Whenever a target is empty, just remove it, it will no longer be
4840 called.
4841
4842 There is still some magic about clean to hard code. But really,
4843 that's the end of &do_one_clean_target.
4844
4845 * automake.in (&do_one_clean_target): Kaboom out.
4846 (&handle_clean): Rewrite the magic code.
4847 (&am_install_var): No longer use &push_phony_cleaners, nor depend
4848 on `clean'.
4849 (&push_phony_cleaners): Kaboom too.
4850
48512001-02-06 Akim Demaille <akim@epita.fr>
4852
4853 * automake.in (do_one_clean_target): Don't hard code knowledge
4854 about libtool, and maintainer-clean.
4855 * clean.am, libtool.am: Handle these.
4856
48572001-02-05 Akim Demaille <akim@epita.fr>
4858
4859 * automake.in (handle_texinfo): No longer hard code the clean
4860 targets.
4861 (texinfos.am): Include them.
4862
48632001-02-05 Akim Demaille <akim@epita.fr>
4864
4865 * Makefile.am (perl4-check): Remove, we now require Perl 5.
4866 (maintainer-check): Don't be silent when you find a problem, and
4867 actually, even specify the locations.
4868 Also check that @_ is assigned to arrays.
4869
48702001-02-05 Akim Demaille <akim@epita.fr>
4871
4872 * m4/regex.m4: Use AC_LIBSOURCES.
4873 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
4874 _AC_LIBOBJ_DECL.
4875
48762001-02-04 Tom Tromey <tromey@redhat.com>
4877
4878 * m4/Makefile.am (m4data_DATA): Added make.m4.
4879 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
4880 dependency files.
4881 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
4882 Copy depcomp to subdir.
4883 * m4/make.m4: New file.
4884
48852001-02-04 Pavel Roskin <proski@gnu.org>
4886
4887 * automake.in (handle_dist_worker): Remove a line that is now
4888 in distdir.am.
4889
48902001-02-04 Kevin Ryde <user42@zip.com.au>
4891
4892 * automake.in (handle_configure): Call config.status with empty
4893 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
4894
48952001-02-04 Tom Tromey <tromey@redhat.com>
4896
4897 * depcomp (ddashmd): Removed case.
4898 (sgi): Handle failure exit correctly
4899 (aix): Likewise. Also, add dummy `.h' targets.
4900
49012001-02-04 Akim Demaille <akim@epita.fr>
4902
4903 * distdir.am (distdir): New file, extracted from...
4904 * automake.in (handle_dist_worker): here.
4905 Adjust.
4906
49072001-02-04 Akim Demaille <akim@epita.fr>
4908
4909 * automake.in (@clean): Remove, replaced by...
4910 ($dependencies{'clean'}): this.
4911 Use `&depend' instead of push'ing into @clean.
4912 (handle_factored_dependencies): For the time being, skip 'clean'.
4913 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
4914 always `clean', and `@clean'.
4915
49162001-02-04 Akim Demaille <akim@epita.fr>
4917
4918 * automake.in (%dependencies): Don't be initialize globally for
4919 all the files, but in...
4920 (&initialize_per_input): here.
4921 (&depend): New.
4922 (@phony): Replace all occurrences with the corresponding &depend
4923 invocation.
4924
49252001-02-03 Tom Tromey <tromey@redhat.com>
4926
4927 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
4928 * header-vars.am (INSTALL_HEADER): New macro.
4929
4930 * automake.texi (Rebuilding): New node.
4931
4932-----
4933
4934Copyright (C) 2001, 2003 Free Software Foundation, Inc.
4935
4936This file is part of GNU Automake.
4937
4938GNU Automake is free software; you can redistribute it and/or modify
4939it under the terms of the GNU General Public License as published by
4940the Free Software Foundation; either version 2, or (at your option)
4941any later version.
4942
4943GNU Automake is distributed in the hope that it will be useful,
4944but WITHOUT ANY WARRANTY; without even the implied warranty of
4945MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4946GNU General Public License for more details.
4947
4948You should have received a copy of the GNU General Public License
4949along with autoconf; see the file COPYING. If not, write to
4950the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
4951Boston, MA 02111-1307, USA.
Note: See TracBrowser for help on using the repository browser.