1 2001-07-22 Tom Tromey <tromey@redhat.com>
3 * tests/Makefile.am (TESTS): Added auxdir2.test.
4 (XFAIL_TESTS): Likewise.
5 * tests/auxdir2.test: New file.
7 * tests/Makefile.am (XFAIL_TESTS): Removed substtarg.test.
8 * automake.in (TARGET_PATTERN): Add `@' as allowable character.
10 * tests/Makefile.am (XFAIL_TESTS): Removed exeext.test.
11 * automake.in (am_install_var): Add $(EXEEXT) even if program name
12 holds `.'. Don't add $(EXEEXT) if program name already has it.
13 (handle_programs): Don't add $(EXEEXT) if user already did.
14 (make_paragraphs): Don't compute EXEEXT.
16 * tests/Makefile.am (TESTS): Added exeext.test.
17 (XFAIL_TESTS): Likewise.
18 * tests/exeext.test: New file.
20 2001-07-22 Tom Tromey <tromey@redhat.com>
22 * lib/am/progs.am (install-%DIR%PROGRAMS): Test for `prog', not
23 `prog.exe' on Cygwin with libtool. From Robert Collins.
25 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
27 * tests/dirname.test: Explicitly use $SHELL to run the
28 script; this avoids failures on DJGPP.
29 * tests/install2.test: Skip if 'chmod 000' doesn't make
32 2001-07-21 Tom Tromey <tromey@redhat.com>
34 * tests/libtool2.test: Check for libtoolize.
36 * tests/Makefile.am (TESTS): Added substtarg.test.
37 (XFAIL_TESTS): Likewise.
38 * tests/substtarg.test: New file.
40 * automake.in (handle_dist): Handle case where aux dir doesn't
41 have a Makefile. Fixes depdist.test.
42 * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test.
43 * tests/depdist.test: Look for config/depcomp.
45 * tests/Makefile.am (TESTS): Added depdist.test.
46 (XFAIL_TESTS): Likewise.
47 * tests/depdist.test: New file. From Eric Magnien.
49 * tests/ccnoco.test: Removed `configure.2' test; in autoconf 2.50
50 AC_PROG_CC_C_O does require AC_PROG_CC.
53 * lib/depcomp (tru64): Some Tru64 compilers use `foo.d' and not
55 * m4/depend.m4 (_AM_DEPENDENCIES): Check to make sure compilation
56 output is suitable for make.
58 * automake.texi (Macros): Document AM_PROG_AS.
59 (Assembly Support): New node.
60 * m4/Makefile.am (m4data_DATA): Added as.m4.
63 * automake.texi (Tags): Added uref to global tags.
65 2001-07-21 Tim Van Holder <tim.van.holder@pandora.be>
67 * automake.in (handle_single_transform_list): Use $(DEPDIR)
68 instead of hardcoding '.deps'.
69 * m4/depend.m4 (AM_SET_DEPDIR): Sync with libtool's libdir check.
71 2001-07-20 Derek Price <dprice@collab.net>
73 * m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct
75 * tests/dirname.test: New test.
76 * tests/stamph2.test: New test.
77 * tests/Makefile.am: Add new tests.
78 * tests/Makefile.in: Regenerated.
80 2001-07-19 Tom Tromey <tromey@redhat.com>
82 * automake.texi (Tags): Document GTAGS_ARGS.
83 * lib/am/tags.am (GTAGS): Added GTAGS_ARGS. From Shigio Yamaguchi.
85 2001-07-19 Tom Tromey <tromey@redhat.com>
86 Alexandre Duret-Lutz <duret_g@epita.fr>
88 Fix for ccnoco.test, subobj8.test:
89 * m4/Makefile.am (m4data_DATA): Added auxdir.m4.
90 * tests/Makefile.am (XFAIL_TESTS): Removed ccnoco.test,
92 * m4/minuso.m4 (AM_PROG_CC_C_O): Use absolute path to compile.
93 Use AM_AUX_DIR_EXPAND.
94 * lib/compile: Handle case where `-o' argument is the name of an
95 executable, not an object file.
96 * m4/auxdir.m4: New file, from...
97 * m4/missing.m4: ... here. Moved AM_AUX_DIR_EXPAND.
98 * automake.in (handle_single_transform_list, lang_c_rewrite):
99 Require compile using `require_config_file'.
101 2001-07-19 Tom Tromey <tromey@redhat.com>
103 * automake.texi (Program and Library Variables): Added X example
106 2001-07-19 Tom Tromey <tromey@redhat.com>
108 * automake.texi (Distributing): Updated to reflect new license.
110 2001-07-18 Alexandre Duret-Lutz <duret_g@epita.fr>
112 * automake.in (require_build_directory): New function, extracted
114 (handle_single_transform_list): ... here.
115 (require_build_directory_maybe): New function.
116 (handle_prograns, handle_libraries, handle_ltlibraries): Call
117 require_build_directory_maybe() to ensure the subdirectory
118 in which a target may lie will exist when the target is created.
119 (handle_libraries, handle_ltlibraries): Use basename before
120 checking library name.
121 * lib/am/library.am (%LIBRARY%): Depend on %DIRSTAMP%.
122 * lib/am/ltlibrary.am (%LTLIBRARY%): Likewise.
123 * lib/am/program.am (%PROGRAM%): Likewise.
125 2001-07-18 Tim Van Holder <tim.van.holder@pandora.be>
127 * m4/missing.m4: Reword comment.
129 2001-07-18 Pavel Roskin <proski@gnu.org>
131 * automake.texi: Rename AM_DEPENDENCIES to _AM_DEPENDENCIES.
132 * tests/gcj.test: Likewise.
133 * tests/gcj2.test: Likewise.
134 * tests/gcj3.test: Likewise.
136 2001-07-18 Tom Tromey <tromey@redhat.com>
138 * lib/compile: Change how lockdir is computed. If linking or
139 compiling without `-o', just run the compiler.
141 * tests/Makefile.am (TESTS): Added ccnoco.test.
142 (XFAIL_TESTS): Likewise.
143 * tests/ccnoco.test: New file.
145 2001-07-17 Tom Tromey <tromey@redhat.com>
147 * lib/ylwrap: Added special exception.
148 * lib/py-compile: Added license.
149 * lib/mdate-sh: Added special exception.
150 * lib/elisp-comp: Added special exception.
151 * lib/compile: Added special exception.
152 * lib/depcomp: Added special exception.
154 Report from Motoyuki Kasahara:
155 * tests/make.test: Use am__include.
156 * tests/exsource.test: Use am__include.
157 * m4/make.m4 (AM_MAKE_INCLUDE): Use am__include and am__quote.
158 * automake.in (handle_languages): Use am__include and am__quote.
160 * m4/depend.m4 (AM_DEPENDENCIES): Renamed to _AM_DEPENDENCIES.
161 * m4/init.m4: Updated callers.
163 2001-06-10 Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
165 * aclocal.in (parse_arguments, write_aclocal): Update Copyrights.
166 * aclocal.in (scan_configure, add_file): Handle the full macro
167 name even if it contains numbers, such as I18N.
169 2001-07-16 Tom Tromey <tromey@redhat.com>
171 * automake.texi (Dependencies): Link to dependency tracking page.
172 (Data): Mention dist_.
173 (Clean): Mention clean heuristics.
174 (Install): Mention nobase_.
176 * automake.texi (Program and Library Variables): Document _LINK.
178 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
180 * automake.in (handle_libraries): Allow libraries to lie in
181 a subdirectory by constraining only the basename to start
182 with 'lib', not the whole path.
184 2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
186 * tests/subobj8.test: New file.
187 * tests/Makefile.am (XFAIL_TESTS, TESTS): Add subobj8.test.
189 2001-07-16 Tom Tromey <tromey@redhat.com>
191 Fix for PR automake/212:
192 * lib/am/lisp.am (install-%DIR%LISP): Added missing `\'.
193 (uninstall-%DIR%LISP): Likewise.
195 2001-07-15 Tom Tromey <tromey@redhat.com>
197 * automake.in (usage): Rewrote code to handle columnization.
198 From Alexey Mahotkin and Maxim Sinev.
200 Report from Ralf Corsepius:
201 * automake.in (TARGET_PATTERN): Add `+' as valid character.
202 (SUFFIX_RULE_PATTERN): Likewise.
203 * tests/Makefile.am (TESTS): Added cxx.test.
204 * tests/cxx.test: New file.
206 * lib/am/tags.am (distclean-tags): Remove files for gtags.
207 From Shigio Yamaguchi.
209 2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
211 * lib/am/distdir.am (distcheck): Emit diagnostic when files
212 remain after "make uninstall".
214 2001-07-14 Tom Tromey <tromey@redhat.com>
216 * lib/am/tags.am (.PHONY): Depend on GTAGS. From Shigio Yamaguchi.
218 * lib/missing (makeinfo): Redirect stdout and stderr outside
219 subshell. From Alexandre Oliva.
221 2001-07-14 Akim Demaille <akim@epita.fr>
223 * automake.in ($obsolete_rx): No need for `\b(foo\b|\bbar)\b',
224 `\b(foo|bar)\b' is what we want.
225 * aclocal.in: Likewise.
227 2001-07-14 Akim Demaille <akim@epita.fr>
229 * m4/depend.m4 (AM_DEPENDENCIES): Don't define `depcpp' which is
231 Do not require the corresponding AC_PROG_CC as AC_PROG_CC is
232 actually modified to require AM_DEPENDENCIES.
233 Rename `confdir' as `conftest.dir' so that the configure trap
236 2001-07-04 Tom Tromey <tromey@redhat.com>
239 * tests/Makefile.am (XFAIL_TESTS): Removed nolink.test.
240 * lib/am/program.am (%PROGRAM%%EXEEXT%): Use %EXEEXT%.
241 * automake.in (am_install_var): Only rewrite PROGRAMS if
243 (make_paragraphs): Always define %EXEEXT%.
245 2001-07-04 Alexandre Duret-Lutz <duret_g@epita.fr>
247 * tests/nolink.test: New file.
248 * tests/Makefile.am (TEST, XFAIL_TESTS): Add nolink.test.
250 2001-07-04 OKUJI Yoshinori <okuji@gnu.org>
252 * automake.in (scan_texinfo_file): Add the second argument to
253 `@syncodeindex' into @CLEAN_SUFFIXES, because the combined index
254 itself may not be used directly.
256 2001-07-04 Tom Tromey <tromey@redhat.com>
259 * lib/missing (makeinfo): Use subshell, not explicit sh
262 * automake.texi (Headers): Mention that we prefer uninstalled
264 (ANSI): Mention cross-compilation limitation.
266 2001-07-03 Tom Tromey <tromey@redhat.com>
268 * configure.in: Upped to 1.4i.
270 * configure.in: Released 1.4h.
272 * lib/config.guess, lib/config.sub: Updated.
274 2001-07-02 Tom Tromey <tromey@redhat.com>
276 Fix for libtool2.test:
277 * tests/libtool2.test: Use `rm -f' to placate maintainer-check.
278 * lib/am/libtool.am (distclean-libtool): Conditional on TOPDIR.
279 * automake.in (generate_makefile): Call handle_libtool
281 * tests/Makefile.am (XFAIL_TESTS): Removed libtool2.test.
283 * tests/libtool2.test: Look for `.lo' files to be removed.
285 * tests/Makefile.am (XFAIL_TESTS): Added libtool2.test.
287 * tests/Makefile.am (TESTS): Removed dup.test.
288 * tests/dup.test: Removed.
289 * aclocal.in (scan_file): Don't give error for duplicate macro.
291 2001-07-01 Tom Tromey <tromey@redhat.com>
293 * automake.texi (Program and Library Variables): Document
294 subdir-objects. Document fact that per-object flags override AM_
297 (Yacc and Lex): Document YFLAGS, AM_YFLAGS, LFLAGS, AM_LFLAGS.
298 (Multilibs): New node.
299 (Macros): Documented missing macros.
300 (Auxiliary Programs): New node.
302 * lib/missing (makeinfo): If makeinfo exists, and we're in --run
303 mode, then simply fail.
305 2001-07-01 Tim Van Holder <tim.van.holder@pandora.be>
307 * lib/ylwrap: Improve support for DOS paths (and paths
308 containing backslashes in general).
310 2001-07-01 Tom Tromey <tromey@redhat.com>
312 * lib/missing: Added special exception to license.
315 * lib/missing: Updated. Added comment explaining configure.ac
318 * lib/depcomp: Reorder arguments to gcc3.
319 From Per Oyvind Hvidsten.
321 * tests/Makefile.am (TESTS): Added libtool2.test.
322 * tests/libtool2.test: New file.
324 * automake.texi (Program and Library Variables): Added example for
327 2001-06-29 Tom Tromey <tromey@redhat.com>
329 * tests/cond11.test: Use `=', not `=='.
330 * tests/cond12.test: Look for automake in build directory, not
333 2001-06-29 Richard Boulton <richard@tartarus.org>
335 * automake.in (conditionals_true_when): Pass first parameters by
336 reference, avoiding bug which put all parameters in @CONDS instead
337 of @WHENS. Report by Kalle Olavi Niemitalo.
338 Take a single WHEN instead of an array of WHENS.
339 Remove FIXME; can't now have an empty @WHENS.
340 (conditional_is_redundant): New sub.
341 (variable_conditions_reduce): Check whether each condition is
342 implied by any of the other conditions (other those already
343 discarded), rather than checking only against those already
344 considered (and kept). Also, fix sense of check: was keeping
345 tautologous terms instead of discarding them. Use
346 conditional_is_redundant instead of conditionals_true_when.
347 * tests/Makefile.am (TESTS): Added cond11.test and cond12.test.
348 * tests/cond11.test: New file.
349 * tests/cond12.test: New file.
351 2001-06-29 Raja R Harinath <harinath@cs.umn.edu>
353 * automake.in (saw_sources_p): Work even if there are more
354 than one header files, and more than of one type of header.
355 * tests/Makefile.am (TESTS): Added new file.
356 * tests/depend4.test: New file.
358 2001-06-28 Tom Tromey <tromey@redhat.com>
360 * lib/am/libs.am (RANLIB): Don't define.
362 2001-06-28 Alexandre Duret-Lutz <duret_g@epita.fr>
364 * automake.in (am_install_var): Assign 1 to $first on
367 2001-06-23 Tom Tromey <tromey@redhat.com>
370 * lib/ylwrap: Changed usage.
371 * lib/am/yacc.am: Rewrote to use new substitutions.
372 * lib/am/lex.am: Likewise.
373 * automake.in (handle_languages): Skip files whose language
374 doesn't have a compiler. Handle `define_flag' attribute.
375 Changed '$' to "\$" to aid Emacs fontification.
376 (struct): Added `rule_file'. Removed `derived_autodep'. Added
377 `_target_hook' and `define_flag'.
378 (yacc, yaccxx, lex, lexxx): Set `rule_file', `flags', `compile',
379 and `compiler' attributes. Removed `linker', `derived_autodep',
380 and `ansi' attributes. Added `define_flag'.
381 (yacc, yaccxx): Added `_target_hook'.
382 (saw_extension): Count number of times extension seen.
383 (count_files_for_language): New sub.
384 (saw_sources_p): Use it.
385 (handle_single_transform_list): Allow language rewrite function
386 to return a new source extension. Call target_hook.
387 (yacc_sources, lex_sources): Removed.
388 (initialize_per_input): Don't initialize yacc_sources or
390 (lang_yacc_rewrite): Rewrote.
391 (lang_yaccxx_rewrite): Likewise.
392 (lang_lex_rewrite): Likewise.
393 (lang_lexxx_rewrite): Likewise.
394 (output_yacc_build_rule): Removed.
395 (output_lex_build_rule): Removed.
396 (lang_yacc_finish): Removed build rule generation.
397 (lang_lex_finish): Likewise.
398 (DASH_D_PATTERN): New global.
399 (lang_yacc_target_hook): New function.
400 (_target_hook): New function.
401 (register_language): Default `define_flag'.
402 * tests/yacc5.test: Updated test.
403 * tests/yacc4.test: Exit with status 77 if bison doesn't work.
404 * tests/yacc3.test: Remove bogus `make' invocation. Added test
405 for all YFLAGS variables.
407 2001-06-20 Tom Tromey <tromey@redhat.com>
409 * tests/yacc5.test: Check for per-executable YFLAGS.
411 2001-06-19 Tom Tromey <tromey@redhat.com>
413 * tests/Makefile.am (TESTS): Added yacc5.test.
414 * tests/yacc5.test: New file.
416 2001-06-17 Tom Tromey <tromey@redhat.com>
418 * automake.in (require_file_internal): Check for already-required
419 file after searching for it, and only if it is not found. Don't
420 use `readlink' when checking for dangling symlink. Work if
421 --force-missing specified.
422 * tests/acoutput2.test: Also test --force-missing.
424 Fix for libtool.test:
425 * automake.in (generate_makefile): Call handle_libtool.
426 (handle_libtool): New sub.
427 (handle_compile): Don't read `libtool' file.
429 * tests/acoutput2.test: New file.
430 * tests/Makefile.am (TESTS): Added acoutput2.test.
432 2001-06-15 Tom Tromey <tromey@redhat.com>
434 * tests/Makefile.am (TESTS): Added libtool.test.
435 * tests/libtool.test: New file.
437 2001-06-14 Tom Tromey <tromey@redhat.com>
439 Fix some lisp bugs reported by Bruno Haible:
440 * lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
442 (install-%DIR%LISP): Handle case where lispdir is not defined.
443 (uninstall-%DIR%LISP): Likewise.
444 (.el.elc): Added `else' clause.
446 Fix for bug reported by Steve M. Robbins:
447 * automake.in (handle_single_transform_list): When building a file
448 from a subdirectory, continue to use `AM_' prefix.
449 * tests/Makefile.am (TESTS): Added subobj7.test.
450 * tests/subobj7.test: New file.
452 * lib/am/configure.am ($(top_builddir)/config.status): Added
453 $(top_builddir) prefix to work around problems with some vendor
454 makes. From Nicholas Joly.
456 * automake.in (yacc_lex_finish_helper): Find ylwrap in
457 top_srcdir. From Tim Van Holder.
458 * tests/Makefile.am (TESTS): Added yacc6.test.
459 * tests/yacc6.test: New file.
461 2001-06-14 Tim Van Holder <tim.van.holder@pandora.be>
463 * tests/defs, tests/installsh.test: Properly support
466 2001-06-14 Tom Tromey <tromey@redhat.com>
468 * tests/Makefile.am (TESTS): Added mdate4.test.
469 * tests/mdate4.test: New file.
471 * aclocal.in (scan_m4_files): Removed unused variable.
473 2001-06-14 Alexandre Duret-Lutz <duret_g@epita.fr>
475 * aclocal.in (scan_m4_files): Tweak the building of &search so
476 that multiple macro names can be found on the same line. Ensure
477 we match whole macro name, not only substrings.
479 2001-06-12 Tom Tromey <tromey@redhat.com>
481 * automake.texi (ANSI): Minor clarification.
482 (Other GNU Tools): Don't mention Guile.
484 (Java Support): Mention file extensions.
485 (Man pages): Mention dist_. Don't mention info pages.
487 2001-06-11 Tom Tromey <tromey@redhat.com>
489 * automake.texi (Program variables): Document AM_CPPFLAGS.
491 (Java Support): Document AM_GCJFLAGS.
492 (Support for Other Languages): Removed `fixme'; added link to
493 suffix rule handling.
495 * automake.texi (Program and Library Variables): Document _LIBADD,
496 _LDADD, _LDFLAGS, _AR, and _DEPENDENCIES.
498 2001-06-11 Kevin Dalley <kevind@rahul.net>
500 * missing: Support configure.ac.
502 2001-06-08 Tom Tromey <tromey@redhat.com>
504 * tests/version4.test: New file.
505 * automake.in (version_check): New sub.
506 (handle_options): Use it.
507 * tests/Makefile.am (AUTOMAKE_OPTIONS): Removed.
508 (TESTS): Added version4.test.
509 * m4/Makefile.am (AUTOMAKE_OPTIONS): Removed.
510 * Makefile.am (AUTOMAKE_OPTIONS): Remove `gnits'.
512 2001-06-04 Kevin Dalley <kevind@rahul.net>
514 * lib/am/dejagnu.am (site.exp): Fix typo.
516 2001-06-02 Tom Tromey <tromey@redhat.com>
518 * automake.in (variable_conditions_sub): Move parent-only code
520 (variable_conditions): ... to here.
521 (variable_conditions_sub): Include this variable's conditions in
522 the resulting condition list.
523 * tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
525 2001-06-01 Tom Tromey <tromey@redhat.com>
527 * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
529 * tests/ltdeps.test: New file. Report from Lars J. Aas.
531 2001-05-31 Tom Tromey <tromey@redhat.com>
533 * automake.texi (Alternative): New node.
534 (Macros): Use new name for gcc.
535 (Java Support): Likewise.
536 (Dependencies): Rewrote.
537 (Invoking Automake): (Re-)document -i, --ignore-deps, and
540 * automake.texi (Top level): Removed erroneous spaces. Documented
543 2001-05-29 Tom Tromey <tromey@redhat.com>
545 * m4/init.m4 (AM_INIT_AUTOMAKE): Allow any AM_*FLAGS variable.
547 * automake.texi (Include): Rewrote.
548 (Suffixes): Remove Java example.
549 (Java): Added more explanation. Document variables.
550 (Uniform): Mention JAVA as a primary.
551 (Python): Updated for new Python support.
552 (Sources): Added a weak example.
554 * lib/am/java.am (class%DIR%.stamp): Use AM_JAVACFLAGS.
556 * automake.texi (A Program): Mention `check' prefix.
557 (Program and Library Variables): New node.
558 (Texinfo): Document UPDATED-MONTH, MAKEINFOFLAGS, and
560 (etags): Mention per-program flags.
561 (Tests): Document AM_RUNTESTFLAGS; added sectioning; more
564 * lib/am/texinfos.am (.PHONY): Always list uninstall-info-am and
567 2001-05-28 Tom Tromey <tromey@redhat.com>
569 * m4/Makefile.am (MAINT_CHARSET): Removed.
570 * Makefile.am (MAINT_CHARSET): Removed.
571 * automake.in (maint_charset, dist_charset): Removed.
572 (local_maint_charset): Removed.
573 (initialize_per_input): Don't use maint_charset.
574 (handle_dist): Don't compute maint_charset or check DIST_CHARSET.
576 * lib/am/texibuild.am (.%SUFFIX%.info): Use MAKEINFOFLAGS and
578 (.%SUFFIX%.dvi): Likewise.
579 (.%SUFFIX%): Likewise.
581 2001-05-27 Tom Tromey <tromey@redhat.com>
583 * automake.in (handle_multilib): Only add multilib support code at
585 * lib/am/multilib.am: Handle invocation of *-multi targets
586 differently for SUBDIRS and non-SUBDIRS Makefiles.
587 * m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
588 Only add multilib code when the Makefile in question is actually
591 * lib/am/dejagnu.am (check-DEJAGNU): Added AM_RUNTESTFLAGS.
593 2001-05-25 Alexandre Duret-Lutz <duret_g@epita.fr>
595 * automake.in (handle_single_transform_list): Skip unknown
598 2001-05-25 Tom Tromey <tromey@redhat.com>
600 * m4/init.m4 (AM_INIT_AUTOMAKE): Ignore AM_RUNTESTFLAGS.
602 2001-05-24 Tom Tromey <tromey@redhat.com>
604 * automake.in (handle_texinfo_helper): Find mdate-sh in current
605 directory in some situations.
607 * automake.in (generate_makefile): Better explanation for ansi2knr
610 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
612 * automake.in (handle_languages): Skip unknown extensions.
613 (derive_suffix): Check whether $extension_map{$source_ext}
614 is undefined, not empty.
616 2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
618 * automake.in (read_am_file): Ignore trailing backslash on
621 2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
623 * automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.
625 2001-05-21 Akim Demaille <akim@epita.fr>
627 * automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
628 multiple times'' warning.
630 2001-05-20 Tom Tromey <tromey@redhat.com>
632 * configure.in: Updated to 1.4g.
634 * configure.in: Updated to 1.4f.
636 * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
638 * lib/ansi2knr.c: New version.
640 * Makefile.am (FETCHFILES): Added ansi2knr.c.
643 2001-05-19 Tom Tromey <tromey@redhat.com>
645 * config.guess, config.sub: New versions from FSF.
647 * Makefile.am (fetch): Compare against files in srcdir.
649 For for ansi2knr report from Harlan Stenn:
650 * automake.in (generate_makefile): Run handle_compile before
653 2001-05-18 Tom Tromey <tromey@redhat.com>
655 * automake.in: Reverted erroneous checkin.
657 2001-05-18 Akim Demaille <akim@epita.fr>
659 * lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
660 to missing `install-info'.
662 2001-05-17 Tom Tromey <tromey@redhat.com>
664 * automake.in (lang_c_finish): Use `rm -f'.
666 * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
667 * tests/Makefile.am (TESTS): Added new file.
668 * tests/ansi5.test: New file.
670 2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
672 * lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
674 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
675 to install-sh unconditionally. Don't set INSTALL_STRIP_PROGRAM_ENV.
676 * automake.texi (Requirements): Document the use of the STRIP
677 variable in cross-compilation environments.
679 2001-05-17 Tom Tromey <tromey@redhat.com>
681 * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
682 to no dependency tracking.
683 * tests/Makefile.am (TESTS): Added depcomp2.test.
684 * tests/depcomp2.test: New file. From Pavel Roskin.
686 * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
688 * lib/depcomp (tru64): New dependency tracking mode.
690 Fix for PR automake/159:
691 * lib/depcomp (aix): Rewrote.
694 Fix for PR automake/174:
695 * tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
696 * automake.in (read_am_file): Warn if `#' is at start of rule.
698 2001-05-16 Tom Tromey <tromey@redhat.com>
701 * tests/Makefile.am (TESTS): Added comment3.test.
702 (XFAIL_TESTS): Likewise.
703 * tests/comment3.test: New file.
705 Fix for PR automake/175:
706 * tests/Makefile.am (XFAIL_TESTS): Removed make.test.
707 * m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
708 `Leaving directory' messages.
711 * tests/Makefile.am (XFAIL_TESTS): Added make.test.
712 * tests/make.test: Run test with `make -w'.
714 * tests/Makefile.am (TESTS): Removed maintclean.test.
715 * lib/am/clean.am (maintainer-clean-generic): Don't remove
717 * lib/am/configure.am (maintainer-clean-am): Removed.
718 (maintainer-clean-conf): Removed.
719 * tests/maintclean.test: Removed.
721 2001-05-15 Tom Tromey <tromey@redhat.com>
723 Fix for PR automake/177:
724 * Makefile.am (maintainer-clean): Set perllibdir before invoking
727 Fix for maintclean.test:
728 * tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
729 * lib/am/clean.am (distclean-generic): Don't remove config.cache
731 (distclean, maintainer-clean): Moved to...
732 * lib/am/configure.am: ... here.
733 (distclean): Remove config.cache and config.log.
734 (maintainer-clean): Removed.
735 (maintainer-clean-conf): New target.
736 (maintainer-clean-am): New target.
738 * tests/Makefile.am (TESTS): Added maintclean.test.
739 (XFAIL_TESTS): Likewise.
740 * tests/maintclean.test: New file.
742 Fixes PR automake/175:
743 * tests/target-cflags.test: Use $needs_gnu_make.
744 * tests/exsource.test: Use $needs_gnu_make.
745 * tests/make.test: Require GNU make.
746 * tests/defs (needs_gnu_make): Compute.
748 2001-05-14 Tom Tromey <tromey@redhat.com>
750 * lib/ylwrap: Fixed quoting on regular expression. Fixes
753 Fix for texinfo10.test.
754 * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
755 * lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
756 * automake.in (handle_texinfo_helper): New sub.
757 (handle_texinfo): Rewrote. Now defines LOCAL-TEXIS.
758 * tests/texinfo10.test: Added more cases.
760 Fix for yaccvpath.test:
761 * tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
762 * lib/am/distdir.am (distdir): Always look for file in build
764 * lib/ylwrap: Quote the `#line' regular expression.
765 * lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
766 change; don't run sed on the generated file.
767 * tests/yaccvpath.test: Create new parser in srcdir. Added test
768 to make sure parser will be rebuilt at dist time.
770 2001-05-13 Pavel Roskin <proski@gnu.org>
772 * automake.in ($IGNORE_PATTERN): Allow spaces before comments
774 * automake.texi (General Operation): Document it.
776 2001-05-13 Tom Tromey <tromey@redhat.com>
778 Reported by Rainer Orth:
779 * lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
781 * tests/Makefile.am (TESTS): Added distname.test.
782 * tests/distname.test: New file.
784 * Makefile.am (dist_pkgdata_DATA): Removed.
786 * tests/defs: Find files to copy in lib/.
787 * automake.in (perllibdir): Set to Automake directory.
788 * ansi2knr.c, ansi2knr.1: Removed.
789 * Makefile.am (dist_am_DATA): Removed.
791 (maintainer-check): Look for lib/am/*.am. Expect 28 lines of
793 (scriptdir): Removed.
794 (dist_script_DATA): Likewise.
795 (install-data-hook): Likewise.
796 (installcheck-local): Likewise.
797 (TAGS_FILES): Removed amfiles.
798 (dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
799 * tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
800 point it to the right directory.
801 * ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
802 compile.am, configure.am, data.am, dejagnu.am, depend.am,
803 depend2.am, distdir.am, footer.am, header-vars.am, header.am,
804 install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
805 libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
806 mans.am, multilib.am, program.am, progs.am, python.am,
807 remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
808 texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
809 * configure.in (AC_OUTPUT): Added lib/am/Makefile.
810 (AUTOMAKE): Use --libdir, not --amdir.
811 Ues AC_CONFIG_AUX_DIR.
812 * lib/Makefile.am (SUBDIRS): Added `am'.
813 (scriptdir): New macro.
814 (dist_script_DATA): Likewise.
815 (dist_pkgdata_DATA): Likewise.
816 (install-data-hook): New target.
817 (installcheck-local): Likewise.
818 * lib/am/Makefile.in: New file.
819 * lib/am/Makefile.am: Removed everything except amdir and
822 2001-05-13 Akim Demaille <akim@epita.fr>
824 * automake.in ($pkgdata_dir): Rename as...
826 ($am_dir): Remove, replace its uses with $libdir.
827 (&parse_arguments): Replace --amdir with --libdir.
828 * automake.texi (Invoking Automake): Document --libdir, not
830 * tests/defs (AUTOMAKE): Use --libdir, not --amdir.
832 2001-05-13 Tom Tromey <tromey@redhat.com>
834 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
836 * m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
837 Correctly look at AMDEP_TRUE, not AMDEP.
839 Report from Robert Boehne:
840 * tests/Makefile.am (TESTS): Added depend2.test.
841 * tests/depend2.test: New file.
843 2001-05-13 James Henstridge <james@daa.com.au>
845 * m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
846 Point pythondir at site-packages directory. Rename
847 PYTHON_SITE_PACKAGE to pkgpythondir. Rename PYTHON_SITE_EXEC to
848 pyexecdir. Removed package/module argument. Removed
849 PYTHON_SITE_INSTALL. Added version checking.
851 2001-05-14 Jim Meyering <meyering@lucent.com>
853 * automake.in (macro_define): Change one remaining use of
854 `variable_dump' to `macro_dump'.
856 2001-05-13 Tom Tromey <tromey@redhat.com>
858 * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
861 2001-05-13 Akim Demaille <akim@epita.fr>
863 * automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
864 (&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
865 (&am_primary_prefixes): Use `map' rather than `grep'.
867 2001-05-13 Akim Demaille <akim@epita.fr>
869 * automake.in (Language): Set config_vars for yacc, yaccxx, lex,
871 (&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
872 (&lang_asm_finish): Remove, set asm's finisher to C's one.
874 2001-05-13 Akim Demaille <akim@epita.fr>
876 * lang-compile.am: New file, loaded once per language.
877 * depend2.am: Move definitions loaded once per language in the
879 * automake.in (&handle_languages): Load it.
880 (&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
881 handled by lang-compile.am.
883 2001-05-13 Tom Tromey <tromey@redhat.com>
885 * tests/Makefile.am (TESTS): Added python.test.
886 * tests/python.test: New file.
887 * automake.in (handle_languages): Use
888 config_aux_dir_set_in_configure_in.
889 (handle_python): Correctly mention AM_PATH_PYTHON. Use
890 py-compile, not py_comp. Define py_compile macro.
892 2001-05-13 Derek Price <dprice@openavenue.com>
894 * automake.in (require_file_with_conf_line,
895 require_file_with_line, require_file): Pass a @require_file_path
896 of $relative_dir instead of '.' to require_file_internal so that
897 all the special casing of '.' can be removed elsewhere.
898 (require_config_file, require_conf_file_with_line,
899 require_conf_file_with_conf_line): Remove special casing for '.'
900 and make sure $config_aux_dir is maintained properly.
901 (require_file_internal): Remove special casing of '.' and set
902 @require_file_path when missing files are added.
903 (maybe_push_required_file): Remove special casing of '.'
904 (handle_dependencies): Remove a workaround for a bug now fixed
905 and remove $config_aux_dir special casing.
906 (handle_configure): Remove special casing for $config_aux_dir
907 (handle_python): Ditto.
908 (yacc_lex_finish_helper): Change $config_aux_dir switch to
909 switch on the value of $config_aux_dir_set_in_configure_in.
910 (handle_texinfo): Ditto.
911 (scan_one_configure_file): Set $config_aux_dir and
912 $config_aux_dir_set_in_configure_in properly so special casing
913 on the value of $config_aux_dir can be removed elsewhere.
914 * tests/depcomp.test: New file.
915 * tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
916 first subdir containing a C file.
917 * tests/libobj2.test: Ditto.
918 * tests/Makefile.am (TESTS): Added 'depcomp.test'.
920 2001-05-12 Tom Tromey <tromey@redhat.com>
922 * tests/gcj.test: Updated for gcj dependency tracking.
923 * tests/gcj2.test: Likewise.
925 Fixes PR automake/169.
926 * m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ. Don't assume gcc
928 * automake.in (java): Added autodep entry.
929 * tests/Makefile.am (TESTS): Added gcj3.test.
930 * tests/gcj3.test: New file.
932 2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
934 * automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
935 stop at the first '='.
936 * tests/Makefile.am (TESTS): Added vars.test.
937 * tests/vars.test: New file.
939 2001-05-12 Akim Demaille <akim@epita.fr>
941 * automake.in (&handle_single_transform_list): Simplify
942 computation of $object and $this_obj_ext.
943 * tests/lex3.test: Merge into...
944 * tests/lex.test: here.
945 * tests/pr19.test: Improve and rename as...
946 * tests/lex3.test: this.
948 2001-05-09 Tom Tromey <tromey@redhat.com>
950 * automake.in (read_am_file): Correctly compute $saw_bk.
951 (scan_autoconf_files): Ensure configure_dist_common is always
953 * tests/defs (AUTOMAKE): Added --Werror.
955 2001-05-09 Pavel Roskin <proski@gnu.org>
957 * automake.in (define_compiler_variable): Escape $(LIBTOOL) in
960 2001-05-09 Tom Tromey <tromey@redhat.com>
962 * tests/werror.test: Use `rm -f'.
964 2001-05-09 Akim Demaille <akim@epita.fr>
966 * automake.in (&am_line_warning): Invoke `am_line_error', not itself.
968 2001-05-09 Akim Demaille <akim@epita.fr>
970 * automake.in: Remove some code left from bad patches.
971 (&handle_dependency): Remove, for the same reason.
973 2001-05-09 Akim Demaille <akim@epita.fr>
975 * automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
976 (&handle_tests_dejagnu, &define_standard_variables): Don't.
977 (&define_standard_variables): Don't transform %top_builddir% since...
978 * header-vars.am: Use %TOPDIR% instead.
980 2001-05-09 Akim Demaille <akim@epita.fr>
982 * automake.in (@objects): Remove, unused.
983 Remove all the code related to it, and to former `$(OBJECTS)'.
985 2001-05-08 Tom Tromey <tromey@redhat.com>
988 * ylwrap: Handle arguments to program. Remove old code that tried
989 to avoid absolute paths and add new code to do it in all cases.
990 Removed ancient logic that tried to deal with relative path.
991 * tests/Makefile.am (TESTS): Added yacc4.test.
992 * tests/yacc4.test: New file.
994 Fix for PR automake/149 and werror.test:
995 * automake.in (require_file_internal): Use am_line_warning or
996 am_conf_line_warning when suppressing error.
997 (am_line_warning): New sub.
998 (am_conf_line_warning): Save and restore warning signal.
999 * tests/Makefile.am (XFAIL_TESTS): Removed werror.test.
1001 Fix for PR automake/36:
1002 * tests/Makefile.am (TESTS): Added asm.test.
1003 * tests/asm.test: New file.
1004 * automake.in (asm): Use ASFLAGS and AS.
1005 (lang_asm_finish): New sub.
1007 * automake.in (read_am_file): Removed debugging code.
1009 For PR automake/149:
1010 * tests/Makefile.am (TESTS): Added werror.test.
1011 (XFAIL_TESTS): Likewise.
1012 * tests/werror.test: New file.
1014 * automake.in (conditional_true_when): Don't return if we see
1017 * tests/objc.test: Removed.
1018 * tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
1021 * automake.in (subst): New sub.
1022 (handle_languages): Use it.
1023 (output_lex_build_rule): Likewise; also use _am_quote.
1024 (check_libobjs_sources): Likewise.
1025 (make_paragraphs): Use subst.
1027 * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
1030 * automake.in (file_contents_internal): Prototype now `$$%'.
1031 (register_language): Prototype now `%'.
1033 Fixes test subobj6.test and PR automake/160:
1034 * tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
1035 * compile.am (mostlyclean-compile): Added MOSTLYRMS.
1036 (distclean-compile): Added DISTRMS.
1037 * tests/subobj6.test (wish_SOURCES): Updated to reflect
1038 `mostlyclean' use; added test for non-subdir case.
1039 * automake.in (compile_clean_files): New global.
1040 (MOSTLY_CLEAN, DIST_CLEAN): New constants.
1041 (initialize_per_input): Initialize compile_clean_files.
1042 (handle_single_transform_list): Set compile_clean_files entries.
1043 (handle_compile): Handle compilation cleanups.
1045 2001-05-08 Lars J. Aas <larsa@sim.no>
1047 * automake.texi (Canonicalizing Automake macros): Document not
1048 canonicalizing strudels (@) anymore.
1050 2001-05-08 Akim Demaille <akim@epita.fr>
1052 * distdir.am (dist-all): Build all the flavors using a single
1055 2001-05-08 Akim Demaille <akim@epita.fr>
1057 * automake.in (&file_contents_internal): Apply the @cond_stack to
1058 the rules and assignments.
1059 Don't rely on `$.' as it's biased by &make_paragraphs.
1060 Don't remove backslashes in variable values.
1062 2001-05-08 Akim Demaille <akim@epita.fr>
1064 * automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
1065 ($RULE_PATTERN): Use that from `&make_paragraphs'.
1066 ($MACRO_PATTERN): Just catch the name of a macro.
1067 ($BOGUS_MACRO_PATTERN): Remove.
1068 ($ASSIGNMENT_PATTERN): New.
1069 (&file_contents_internal, &make_paragraphs): Adjust.
1070 (¯o_define): Catch bad macro names.
1071 (&cond_stack_endif): Better error message.
1072 (&file_contents_internal): Don't remove backslashes in variable
1074 (¯o_define): Do it for `+=' user variables.
1075 (&define_standard_variables): Use `undef' instead of a dummy
1077 (&make_paragraph): Be sure not to chop the trail of hash only
1078 lines: adjust the `##' regexp.
1079 (&rule_define): Fix a bug: don't read $1 but $target.
1080 * tests/condincl.test: Strengthen.
1082 2001-05-08 Akim Demaille <akim@epita.fr>
1084 * automake.in (Language): Add attributes `Name' and `config_vars'.
1085 (&finish): Work properly if there is no _finish.
1086 (Automake): Register language Names and AC_SUBST dependencies.
1087 Register Fortran 77 variables upon which ratfor and ppf77 depend.
1088 (&handle_languages): Once per language, invoke
1089 `define_linker_variables', and check its config_vars.
1090 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1091 (&lang_java_finish): Remove.
1092 (&lang_ppf77_finish, &lang_ratfor_finish): Adjust.
1094 2001-05-08 Akim Demaille <akim@epita.fr>
1096 * automake.in (&file_contents_internal): Accept $IS_AM.
1097 (&handle_compile, &define_standard_variables, &file_contents): Adjust.
1099 2001-05-08 Akim Demaille <akim@epita.fr>
1101 * automake.in (am_install_var): Use `next' instead of `if' on the
1104 2001-05-08 Akim Demaille <akim@epita.fr>
1106 * automake.in (Language): Add attributes `lder' and `ld'.
1107 (®ister_language): Specify for cxx, objc, f77, gcj.
1108 (&define_linker_variable): New.
1109 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1110 (&lang_java_finish): Adjust.
1111 (&libtool_compiler): Remove.
1113 2001-05-08 Akim Demaille <akim@epita.fr>
1115 * automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
1116 argument, as you don't use it.
1118 (&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
1121 (&handle_programs): Don't mess with %lex_sources, as you don't use
1124 2001-05-08 Akim Demaille <akim@epita.fr>
1126 * automake.in (Language): Add attribute `link'.
1127 (®ister_language): Specify for cxx, objc, f77, gcj.
1128 (&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
1129 (&lang_java_finish): Adjust.
1131 2001-05-08 Akim Demaille <akim@epita.fr>
1133 * automake.in (&define_compiler_variables): Use only $LANG as
1135 (&handle_languages): Adjust.
1137 2001-05-08 Akim Demaille <akim@epita.fr>
1139 * automake.in (&define_program_variable): Remove.
1140 (&scan_one_autoconf_file): Skip MAKEINFO when found in an
1142 (&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
1143 * texinfos.am: Do it.
1145 2001-05-08 Akim Demaille <akim@epita.fr>
1147 * automake.in (&handle_tests_dejagnu): Don't define EXPECT and
1149 * dejagnu.am: Do it.
1150 (site.exp): Use `if'.
1152 2001-05-08 Akim Demaille <akim@epita.fr>
1154 * automake.in: Formatting changes.
1155 (variable_dump, variables_dump): Rename as...
1156 (macro_dump, macros_dump): these.
1158 2001-05-08 Akim Demaille <akim@epita.fr>
1160 Support `if !COND', `else COND', `end COND'.
1162 * automake.texi (Conditionals): Document it.
1163 * automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
1164 ($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `\d' and `\s'.
1165 ($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
1166 a leading `!' before the condition.
1167 (&handle_options): Use `\d'.
1168 (&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
1169 (&read_am_file, &file_contents_internal): Use them.
1170 (&transform): No longer substitute `%!COND%', forcing the use of
1172 * ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.
1174 2001-05-08 Akim Demaille <akim@epita.fr>
1176 Uniform handling of per-object compilation rules.
1177 Note: Automake is repaired.
1179 * automake.in (&handle_languages): Output per object rules for all
1180 the objects, not only for those which language supports dependency
1182 Fix Automake: when outputting per-object rules, use `-o' if the
1183 language has no `output_flag', as it's really needed.
1184 (&handle_single_transform_list): Instead of special casing files
1185 which need per object rules but which language don't support
1186 dependency tracking, keep them in the queue for processing by
1187 `&handle_languages'.
1189 2001-05-08 Akim Demaille <akim@epita.fr>
1191 * automake.in (&handle_languages): `ext-compile.am' and
1192 `depend2.am' are now equivalent for generic rules: output only the
1194 * ext-compile.am: Remove.
1196 2001-05-08 Akim Demaille <akim@epita.fr>
1198 Note: This patch breaks Automake. Repaired within two patches.
1200 * automake.in (Language): Replace the attribute `output_arg' with
1201 `compile_flag' and `output_flag'.
1202 (Automake): Adjust language registrations.
1203 (&handle_languages): Transform `-c' and `-o' for both suffix and
1204 per object rules, instead of `OUTARG' and `LTOUTARG' only for
1206 (&handle_single_transform_list): Adjust to `compile_flag' and
1208 * depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.
1210 2001-05-08 Akim Demaille <akim@epita.fr>
1212 * automake.in (&handle_languages): Don't transform %COMPILER%.
1213 Use `$lang->compiler' instead of `$pfx' to transform generic
1214 %COMPILE% and %LTCOMPILE%.
1215 * ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
1216 of %COMPILER% and $<.
1218 2001-05-07 Akim Demaille <akim@epita.fr>
1220 * automake.in (&handle_languages): Use the same `%transform' for
1221 both `depend2.am' and `ext-compile.am'.
1222 Delay the definition of `$flag' so it is right before the first use,
1223 and rename as `$flags'.
1225 2001-05-07 Akim Demaille <akim@epita.fr>
1227 * automake.in (&handle_languages): Compute `$ltoutarg' and
1228 `$outarg' independently of dependency code.
1229 There is no use looping on a language's possible extensions since
1230 we loop over used extensions.
1231 Therefore, there is no use for a local `%transform'.
1233 2001-05-07 Akim Demaille <akim@epita.fr>
1235 * automake.in (&handle_languages): Don't use $comp.
1237 2001-05-07 Akim Demaille <akim@epita.fr>
1239 * automake.in (&handle_languages): Merge the two loops over
1240 %extension_seen/%languages into one and group code to be run once
1241 per language together.
1243 2001-05-07 Akim Demaille <akim@epita.fr>
1245 * automake.in (&handle_languages): Move the `if
1246 ($use_dependencies)' block so that loops over extensions and
1247 languages are next to each other.
1249 2001-05-07 Akim Demaille <akim@epita.fr>
1251 * automake.in (&depend2): Remove, merged into...
1252 (&handle_languages): here.
1254 2001-05-07 Akim Demaille <akim@epita.fr>
1256 * automake.in (&finish_languages): Rename as...
1257 (&handle_languages): this.
1258 Include the body of...
1259 (&handle_dependency): this.
1262 2001-05-06 Tom Tromey <tromey@redhat.com>
1265 * tests/Makefile.am (TESTS): Add subdir5.test.
1266 (XFAIL_TESTS): Likewise.
1267 * tests/subdir5.test: New file.
1269 * tests/subobj6.test (wish_SOURCES): Use $MAKE.
1270 * tests/subobj5.test (wish_SOURCES): Use $MAKE.
1272 * automake.in (GNITS_VERSION_PATTERN): Document. Add `fork
1274 (handle_options): Handle fork identifier in version number.
1276 * automake.texi (Dist): Document distcheck-hook.
1278 * tests/confh4.test: Update to reflect DEFS change.
1279 For PR automake/132.
1281 Fix for PR automake/132:
1282 * automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
1284 (java): Remove INCLUDES and DEFS from compilation.
1285 (lang_c_finish): Add DEFAULT_INCLUDES to compilation.
1286 * compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
1287 (DEFAULT_INCLUDES): New macro.
1289 * automake.in (usage): Re-align explanatory text.
1290 Fixes PR automake/148.
1292 * automake.texi (Uniform): Don't use @PROGRAMS@.
1293 Fixes PR automake/154.
1295 For PR automake/160:
1296 * tests/Makefile.am (TESTS): Add subobj5.test and subobj6.test.
1297 (XFAIL_TESTS): Add subobj6.test.
1298 * tests/subobj6.test: New file.
1300 * automake.texi (Uniform): Mention dist_, nodist_, and nobase_.
1301 (Top level): Don't mention `flat'.
1302 (Extending): Likewise.
1303 (User Variables): New node.
1305 * distdir.am (distdir): Make subdirectory for each file.
1306 Fixes test subobj5.test.
1308 * tests/Makefile.am (TESTS): Add new file.
1309 (XFAIL_TESTS): Likewise.
1310 * tests/texinfo10.test: New file.
1312 2001-05-05 Pavel Roskin <proski@gnu.org>
1314 * automake.in (scan_texinfo_file): Treat @defindex and @synindex
1315 in the same way as @defcodeindex and @syncodeindex respectively.
1317 2001-05-05 Tom Tromey <tromey@redhat.com>
1319 * mans.am (install-man%SECTION%): Minor cleanup.
1320 (uninstall-man%SECTION%): Likewise.
1322 * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
1323 * mans.am (install-man%SECTION%): Handle dist_ and nodist_
1325 (uninstall-man%SECTION%): Likewise.
1326 * automake.in (handle_man_pages): Handle dist_ and nodist_
1329 * automake.texi (Future): Removed.
1331 (Hello): Don't mention `deep'.
1332 (Top level): Likewise.
1334 * automake.in (conditional_true_when): Use a hash, not index().
1335 Also, a TRUE component always results in a true return.
1336 Fixes test cond10.test. For PR automake/164.
1337 * tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
1339 2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
1341 For PR automake/164:
1342 * tests/Makefile.am (TESTS): Added new file.
1343 (XFAIL_TESTS): Likewise.
1344 * tests/cond10.test: New file.
1346 2001-05-05 Tom Tromey <tromey@redhat.com>
1348 * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
1350 (install-info-am): Likewise.
1352 2001-05-05 Pavel Roskin <proski@gnu.org>
1354 * automake.in (scan_texinfo_file): Don't push undefined values
1357 2001-05-05 Richard Boulton <richard@tartarus.org>
1359 * automake.in (handle_dist): Check for existence of DIST_SUBDIRS
1362 2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
1364 * automake.in (required_targets): Added uninstall-am.
1366 2001-05-05 Tom Tromey <tromey@redhat.com>
1368 Fix bug reported by Robert Boehne:
1369 * automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
1371 (handle_dependencies): Likewise.
1372 * Makefile.am (maintainer-check): Look for AMDEP_TRUE
1373 substitution. Correct diff now has 30 lines. Look for space
1374 after losing `undef'.
1376 2001-05-04 Peter Eisentraut <peter_e@gmx.net>
1378 * m4/sanity.m4: Remove the temp file before possible error exits.
1380 2001-05-04 Akim Demaille <akim@epita.fr>
1382 * configure.in: Set perllibdir.
1385 2001-05-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1387 * automake.in ($pkgdata_dir): New.
1388 (&require_file_internal): Use it.
1390 2001-05-03 Akim Demaille <akim@epita.fr>
1392 Case insensitive FS choke on Automake/ vs automake.
1393 Reported by Tim Van Holder.
1395 * Automake/: Move into...
1396 * lib/: this new directory.
1398 2001-05-03 Raja R Harinath <harinath@cs.umn.edu>
1400 * data.am (install-%DIR%%PRIMARY%): Execute the same command as
1403 2001-04-30 Jim Meyering <meyering@lucent.com>
1405 * automake.in: Remove `/lib' from include directory.
1407 2001-04-27 Akim Demaille <akim@epita.fr>
1409 AM_INIT_AUTOMAKE is no longer optional.
1411 * automake.in ($seen_make_set, $seen_prog_install)
1412 ($seen_arg_prog): Remove.
1413 (&handle_programs, &handle_scripts, &scan_one_autoconf_file):
1414 Remove related code.
1416 2001-04-27 Akim Demaille <akim@epita.fr>
1418 * tests/specflags4.test, tests/specflags5.test: Remove, merged
1420 * tests/specflags3.test: here.
1422 2001-04-27 Akim Demaille <akim@epita.fr>
1424 * automake.in ($seen_path_xtra): Remove.
1425 (&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
1426 (&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
1428 2001-04-27 Akim Demaille <akim@epita.fr>
1430 * automake.in (&file_contents_internal): Declare it.
1432 2001-04-27 Akim Demaille <akim@epita.fr>
1434 * automake.in (&read_am_file, &file_contents_internal): Don't
1435 define macros when `FALSE', to avoid errors on doubly defined
1436 variables but under condition `FALSE'. In order to allow...
1437 (&am_install_var): When reading the associated file for the first
1438 time, enable `%?FIRST%'.
1439 (&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
1440 * libs.am: Do it when `%?FIRST%'.
1442 2001-04-27 Akim Demaille <akim@epita.fr>
1444 * automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
1445 * ansi2knr.am: Do it.
1446 Prefer `if %?FOO%' to `if %!FOO%'.
1448 2001-04-27 Akim Demaille <akim@epita.fr>
1450 * automake.in (®ister_language, &finish_languages): Use `pure'
1452 (®ister_language): Use %done properly with objects, not names.
1453 (&finish_languages): Replace `$non_c' with `$needs_c'.
1455 2001-04-27 Akim Demaille <akim@epita.fr>
1457 Unify LISP, PYTHON and JAVA primaries.
1459 * automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
1460 return if there are no files, hook elisp-comp on the Autoconf
1461 macro, rely on lisp.am to define variables.
1462 (&handle_python, &handle_java): Likewise.
1463 (&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
1464 `PYTHON' must be handled here, not in `&handle_python'.
1465 * java.am: Define needed variables and rules.
1467 2001-04-27 Akim Demaille <akim@epita.fr>
1469 * automake.in (&am_install_var): Transform `ONE_PRIMARY'.
1471 * header.am: Include data.am.
1473 2001-04-27 Akim Demaille <akim@epita.fr>
1475 * automake.in (&am_install_var): Transform `PRIMARY'.
1476 * data.am: Equip with %PRIMARY%.
1478 2001-04-27 Akim Demaille <akim@epita.fr>
1480 * automake.in (@conditional_stack): Rename as...
1481 (@cond_stack): this.
1482 (&file_contents_internal): Support inclusion of files.
1484 2001-04-27 Akim Demaille <akim@epita.fr>
1486 * automake.in (&lang_extensions): Remove.
1487 (&add_depend2, &saw_sources_p): Adjust.
1488 * depend2.am: `%EXT%' no longer includes the dot.
1490 2001-04-27 Akim Demaille <akim@epita.fr>
1492 * automake.in (&finish_languages, &handle_single_transform_list)
1493 (&add_depend2, &handle_dependencies): No longer use the language
1494 name in `$lang'. Rename `$lang_obj' as `$lang'.
1496 2001-04-27 Akim Demaille <akim@epita.fr>
1498 * automake.in (®ister_language): Use `new Language' with a hash.
1500 2001-04-27 Akim Demaille <akim@epita.fr>
1502 * automake.in (®ister_language): Rename `output-arg' and
1503 `derived-autodep' as `output_arg' and `derived_autodep' to match
1504 the Language attribute.
1505 Set the defaults in %option instead of $lang.
1507 2001-04-27 Akim Demaille <akim@epita.fr>
1509 * Automake/: New directory.
1510 * Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
1511 * automake.in (Language): Use Automake::Struct.
1512 * tests/defs: Adjust to find Struct.
1514 2001-04-23 Pavel Roskin <proski@gnu.org>
1516 * automake.in: Add forward declaration for register_language().
1517 * tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
1520 2001-04-20 Akim Demaille <akim@epita.fr>
1522 * automake.in (%required_targets): Add `uninstall'.
1523 From Robert Collins.
1525 2001-04-12 Akim Demaille <akim@epita.fr>
1527 * automake.in (Language): Add attribute `name'.
1528 (®ister_language): The name of the language is now given in the
1530 No longer use `$lang' as the name of the language.
1531 Rename `$lang_obj' as `$lang'.
1533 2001-04-12 Akim Demaille <akim@epita.fr>
1535 * automake.in (Language): Add attribute `_finish'.
1538 (&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
1539 (&lang_asm_finish): Remove.
1541 2001-04-12 Akim Demaille <akim@epita.fr>
1543 * automake.in (Language): Add attribute `extensions'.
1544 (Automake): Pass a hash to `®ister_language' instead of a
1545 list of pseudo assignments.
1546 (®ister_language): Adjust.
1547 (&finish_languages): Initialize `$ltoutarg'.
1549 2001-04-12 Akim Demaille <akim@epita.fr>
1551 * automake.in (Language): Add attribute `output_arg'.
1552 (%language_map): Remove.
1553 (®ister_language): Build only the object, and store in
1555 (&finish_languages, &handle_single_transform_list): Adjust.
1557 2001-04-12 Akim Demaille <akim@epita.fr>
1559 * automake.in (Language): Add attributes `flags', `compile' and
1561 (&finish_languages, &handle_single_transform_list, &handle_dist)
1562 (&add_depend2, ®ister_language): Use them and the `linker' and
1565 2001-04-12 Akim Demaille <akim@epita.fr>
1567 * automake.in (&handle_single_transform_list, &finish_languages)
1568 (&handle_dist, &handle_dependencies): Use the language object for
1569 autodep and derived-autodep too.
1571 2001-04-12 Akim Demaille <akim@epita.fr>
1573 * automake.in (¯o_define): Ignore Automake definition for
1574 ($var, $cond) if there is already a user definition for ($var, $cond).
1576 2001-04-12 Akim Demaille <akim@epita.fr>
1578 * automake.in (&scan_texinfo_file): Catch @cindex and the like,
1579 but also @deffn and so on which push data in indexes.
1580 Reported by Derek R. Price.
1582 2001-04-12 Akim Demaille <akim@epita.fr>
1584 * automake.in (Language): New package, temporarily in this file.
1586 (Automake): New package.
1588 (&handle_single_transform_list): Use the language object's `ansi'
1589 attribute instead of `$language_map{"$lang-ansi-p"}'.
1590 (®ister_language): Build and register the language too.
1592 2001-04-11 Tom Tromey <tromey@redhat.com>
1594 Fixes report from Larry Jones:
1595 * automake.in (handle_dependencies): Add `@_am_quote@' where
1597 * m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.
1599 2001-04-11 Akim Demaille <akim@epita.fr>
1601 * depend2.am: Fix the `if' condition for Libtool.
1602 Reported by Robert Boehne.
1604 2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
1606 * tests/subobj5.test: New file.
1608 2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1610 * m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
1611 * tests/Makefile.am (TESTS): Added make.test.
1612 * tests/make.test: New file.
1614 2001-04-10 Tom Tromey <tromey@redhat.com>
1616 * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
1618 2001-04-10 Derek R. Price <dprice@collab.net>
1620 * tests/defs: Allow user to override AUTOMAKE and ACLOCAL.
1622 2001-04-10 Akim Demaille <akim@epita.fr>
1624 * distdir.am: Add a missing backslash.
1626 2001-04-10 Akim Demaille <akim@epita.fr>
1628 * automake.in (&scan_aclocal_m4): Handle $relative_dir and special
1630 Specify to the caller whether $regen_aclocal_m4.
1631 (&handle_configure): Adjust.
1632 Transform `REGEN-ACLOCAL-M4'.
1634 * configure.am: Use it.
1635 * tests/defs (me): New.
1636 * tests/confdeps.test: New.
1638 2001-04-09 Tom Tromey <tromey@redhat.com>
1640 * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
1641 Fixes report from Jim Meyering.
1643 2001-04-09 Akim Demaille <akim@epita.fr>
1645 * automake.in (&handle_configure): Don't bother with optimizing
1648 2001-04-09 Akim Demaille <akim@epita.fr>
1650 * tests/cond3.test (expected): Adjust.
1652 2001-04-09 Akim Demaille <akim@epita.fr>
1654 * automake.in (&handle_single_transform_list): Remove $xbase,
1656 (&handle_source_transform): All the variables have conditions now,
1658 (&variable_delete): Admit an argument @conds.
1660 2001-04-09 Akim Demaille <akim@epita.fr>
1662 * automake.in ($source_suffix_pattern): Remove, unused.
1663 %extension_map seems to have replaced it.
1665 2001-04-09 Akim Demaille <akim@epita.fr>
1667 * ext-compile.am: New file.
1668 * automake.in (&finish_languages): Output it.
1669 Require a C linker if there are several registered source suffixes.
1670 (&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
1671 extensions, which are discovered in ext-compile.am.
1672 With the help from Robert Boehne.
1674 2001-04-09 Akim Demaille <akim@epita.fr>
1676 * automake.in (&handle_compile): Extract from...
1677 (&get_object_extension): here.
1678 (&read_am_file): Call it.
1679 ($included_generic_compile, $included_knr_compile)
1680 ($included_libtool_compile): Remove.
1681 ($get_object_extension_was_run): New.
1683 2001-04-09 Akim Demaille <akim@epita.fr>
1685 Use AM_CONDITIONAL and if/endif for AMDEP.
1687 * m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
1688 * automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
1689 to a configure time if/endif), or to `FALSE' (static removal of
1691 (&handle_dependencies): Adjust to use `AMDEP_TRUE'.
1692 * depend2.am: Use if/endif.
1694 Adjust the 101 tests that use dependencies so that they
1695 properly invoke aclocal before automake. They need to `see'
1696 `AM_CONDITIONAL([AMDEP], ...)'.
1698 2001-04-09 Akim Demaille <akim@epita.fr>
1700 * tags.am: Fix missing leading tabs.
1702 2001-04-09 Akim Demaille <akim@epita.fr>
1704 * automake.in: Use simple quotes to define the _PATTERN variables
1705 to unobfuscate the regexps.
1706 ($AM_CONDITIONAL_PATTERN): Let the user quote the variable.
1708 2001-04-09 Akim Demaille <akim@epita.fr>
1710 * automake.in (&rule_define): When you discover a suffix rules,
1711 register the extensions for .SUFFIXES.
1712 (&handle_texinfo): Don't register the suffixes.
1713 (&get_object_extension): Don't register suffixes, let them be
1714 discovered in depend2.am.
1715 (&handle_emacs_lisp): Depend on your lisp.am.
1716 * lisp.am: Include the rule &handle_emacs_lisp used to output.
1718 2001-04-09 Akim Demaille <akim@epita.fr>
1720 * subdirs.am: Don't define info related recursive targets.
1723 2001-04-09 Akim Demaille <akim@epita.fr>
1725 * subdirs.am (RECURSIVE_TARGETS): New variable.
1727 * automake.in (&handle_subdirs): Output it.
1728 (&file_contents_internal): Support value spread on several lines.
1730 2001-04-09 Akim Demaille <akim@epita.fr>
1732 * automake.in (&handle_man_pages): Rely on mans.am to define
1733 man%SECTION%dir and MANS.
1736 2001-04-09 Akim Demaille <akim@epita.fr>
1738 * automake.in (&variable_dump): Use %var_type properly.
1739 (¯o_define): Enforce better overriding rules.
1740 Handle the special case that used to handle...
1741 (&define_pretty_variable): this.
1743 The variables you define are owned by Automake.
1744 (&generate_makefile): PRE_INSTALL and co must not be defined *by
1746 (&variable_defined): Now independent of the owner.
1747 (&variable_output, &variable_pretty_output): Adjust to %var_type.
1749 2001-04-09 Akim Demaille <akim@epita.fr>
1751 * automake.in (%var_was_plus_eq): Rename as...
1753 (%def_type): Remove.
1754 (¯o_define): %var_type may now hold `', `+', or `:'.
1755 (%conditional, %am_vars, %content_lines): Rename as...
1756 (%var_value, %var_comment, %var_line): these.
1758 2001-04-09 Akim Demaille <akim@epita.fr>
1760 * automake.in (&variable_output): Admit a list of @CONDS.
1761 (&variable_pretty_output): New.
1762 (&define_pretty_variable): Use it.
1763 (&read_am_file, &file_contents_internal): Prepend a separator to
1764 $am_vars only if there is none yet.
1765 (&file_contents_internal): Rename $separator as $spacing to
1766 harmonize with &read_am_file.
1768 2001-04-09 Akim Demaille <akim@epita.fr>
1770 * automake.in (&am_install_var): Transform DIST, and let the *.am
1771 files handle DIST_COMMON.
1772 * data.am, header.am, java.am, list.am, python.am, script.am: Set
1775 2001-04-09 Akim Demaille <akim@epita.fr>
1777 * automake.in (%dist_common): Remove.
1778 (%configure_dist_common): Replace with...
1779 ($configure_dist_common): this.
1780 (&generate_makefile): Read the user file before using
1781 push_dist_common, as it sets DIST_COMMON, and read_am_file checks
1782 that no variable is defined before it is run.
1783 (&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
1784 (&dist_cmp): Rename as...
1785 (&for_dist_common): this.
1786 (&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
1788 Adjust to $configure_dist_common.
1789 * configure.am, texi-vers.am: Set DIST_COMMON.
1791 2001-04-09 Akim Demaille <akim@epita.fr>
1793 * automake.in (&handle_aclocal_m4): Rename as...
1794 (&scan_aclocal_m4): this.
1795 Return the list of aclocal.m4 dependencies.
1796 (&handle_configure): Invoke it, and use it when loading...
1797 * configure.am: Template the rules to recreate aclocal.m4.
1799 2001-04-09 Akim Demaille <akim@epita.fr>
1801 * automake.in (&get_object_extension): Use ansi2knr.am.
1802 * clean-kr.am, kr-extra.am: Remove, merged into...
1803 * ansi2knr.am: this new file.
1805 2001-04-09 Akim Demaille <akim@epita.fr>
1807 * automake.in (&transform): Fix an incredible bug which was
1808 breaking the if/endif system.
1809 ($ELSE_PATTERN): Admit an optional argument.
1811 2001-04-09 Akim Demaille <akim@epita.fr>
1813 * comp-vars.am: Remove, merged into...
1815 * automake.in (&get_object_extension): Adjust.
1817 2001-04-09 Akim Demaille <akim@epita.fr>
1819 * remake.am: Merge into...
1820 * configure.am: ... here.
1821 * automake.in (&handle_configure): Adjust.
1823 2001-04-09 Akim Demaille <akim@epita.fr>
1825 * automake.in (&output_lex_build_rule): Output this...
1828 2001-04-09 Akim Demaille <akim@epita.fr>
1830 * automake.in (&condition_negate): New.
1831 (&variable_conditions_permutations): Use it.
1832 (&read_am_file, &file_contents): Use it on `else' clauses to
1834 (&output_yacc_build_rule): Output this...
1835 * yacc.am: New file.
1837 2001-04-09 Akim Demaille <akim@epita.fr>
1839 * automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
1840 (&handle_dist): Don't.
1841 (&handle_clean): Don't handle config.status here, let...
1842 * clean.am: ... do it.
1843 * distdir.am: Adjust.
1845 2001-04-09 Akim Demaille <akim@epita.fr>
1847 * automake.in: Use strict vars and subs.
1848 Declare `%require_file_found'.
1849 (&handle_source_transform, &make_paragraphs): Declare my variables.
1851 2001-04-09 Akim Demaille <akim@epita.fr>
1853 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
1854 * progs.am, python.am: Use if/endif instead of ?INSTALL?.
1855 * java.am (_am_installdirs): Be sure to set it.
1857 2001-04-09 Akim Demaille <akim@epita.fr>
1859 * automake.in (&make_condition): Return '#' when FALSE.
1860 (&conditional_string): Return FALSE, not '#' in the corresponding
1862 (&file_contents_internal): Adjust.
1863 (&check_variable_defined_unconditional): Dump the guilty variable.
1865 2001-04-09 Akim Demaille <akim@epita.fr>
1867 * distdir.am: Use and abuse of if/endif.
1868 * scripts.am: Using if/endif with variables is fine.
1870 2001-04-09 Akim Demaille <akim@epita.fr>
1872 * automake.in (&make_paragraphs): Extract from &file_contents.
1873 Make it more robust than the previous RE based scheme.
1874 (&file_contents): Use it.
1876 2001-04-09 Akim Demaille <akim@epita.fr>
1878 * automake.in (&make_paragraphs): Extract from &file_contents.
1879 Make it more robust than the previous RE based scheme.
1880 (&file_contents): Use it.
1882 2001-04-09 Akim Demaille <akim@epita.fr>
1884 * tests/yacc2.test: Don't define several times a variable, as
1887 2001-04-09 Akim Demaille <akim@epita.fr>
1889 * automake.in (&handle_source_transform): Fix pr72: don't define
1890 $linker if there are no @files.
1892 2001-04-09 Akim Demaille <akim@epita.fr>
1894 Avoid reading twice header-vars.am as now macro_define
1897 * automake.in (&define_standard_variables): Don't output the
1899 (&read_main_am_file): Output first user variables, then Automake
1901 Don't call twice &define_standard_variables.
1902 Save variable comments in $am_vars.
1903 (&variable_output): New.
1904 (&file_contents_internal): New.
1905 Save variable comments in $am_vars.
1906 (&file_contents): Use it.
1908 2001-04-09 Akim Demaille <akim@epita.fr>
1910 * automake.in (¯o_define): The user is allowed to override
1911 a value if it was set by Automake, or if it was found in AC_SUBST.
1913 2001-04-09 Akim Demaille <akim@epita.fr>
1915 * automake.in (&handle_source_transform): Better locality of the
1917 Use `next' to skip nonexistent variables.
1919 2001-04-09 Akim Demaille <akim@epita.fr>
1921 * automake.in (&variable_dump): If a variable is undefined, say
1923 (&check_ambiguous_conditional): Give finer error messages.
1924 (¯o_define): Check that a `+=' variable is not set with `='.
1925 Check for ambiguous definitions each time you _set_ (even with `+=')
1927 (&read_main_am_file): Perform a deep copy of %conditional.
1929 2001-04-09 Akim Demaille <akim@epita.fr>
1931 * automake.in (&variable_defined): Some callers, e.g.,
1932 &am_primary_prefixes, really want to know if the variable is
1933 defined for any condition, not `TRUE' by default.
1934 (&am_primary_prefixes): Give a more precise error message.
1936 2001-04-09 Akim Demaille <akim@epita.fr>
1938 (&variable_conditions): Don't include `FALSE' in the result.
1940 2001-04-09 Akim Demaille <akim@epita.fr>
1942 * automake.in (&variable_conditions_reduce): FALSE is absorbent.
1943 (&variable_conditions): Don't include `FALSE' in the result.
1945 2001-04-09 Akim Demaille <akim@epita.fr>
1947 * tests/defs, tests/depend3.test: Remove useless code.
1949 2001-04-09 Akim Demaille <akim@epita.fr>
1951 * automake.in (&handle_source_transform): Use
1952 &variable_conditions, don't read $conditional{$var}.
1953 (&variable_conditions_sub): When the call is the top level call,
1954 generate all the permutations of the conditions.
1956 2001-04-09 Akim Demaille <akim@epita.fr>
1958 * depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
1959 that it does not get noticed twice by automake, which now
1960 complains for multiple definitions.
1961 * tests/vartar.test: s/INSTALL/install/g, automake now complains
1962 because we defined INSTALL.
1964 2001-04-09 Akim Demaille <akim@epita.fr>
1966 * automake.in (&generate_makefile) Use macro_define to define
1967 SOURCES and OBJECTS.
1968 (&variable_defined): Don't check for $conditional{VAR}{COND} as
1969 this would make perl create $condition{VAR}, which we don't want.
1971 2001-04-09 Akim Demaille <akim@epita.fr>
1973 * automake.in (&variable_defined, &define_pretty_variable):
1974 Simplify code which used to handle the cases where not all
1975 variables were in %conditional.
1976 (&define_variable): Use &define_pretty_variable.
1977 (&variable_conditions_sub, &variable_value_as_list_worker)
1978 (&variable_value_as_list, &rule_define): Simplify syntax.
1979 (&read_main_am_file): Dump the guilty predefined variables.
1981 2001-04-09 Akim Demaille <akim@epita.fr>
1983 * automake.in (&variable_conditions_sub)
1984 (&variable_value_as_list_worker): Remove dead code which used to
1985 handle the cases where not all variables were in %conditional.
1987 2001-04-09 Akim Demaille <akim@epita.fr>
1989 * automake.in (&handle_source_transform, &read_main_am_file):
1990 Simplify loops which were split in two parts, conditional vs
1991 unconditional variables.
1993 2001-04-09 Akim Demaille <akim@epita.fr>
1995 Handle unconditional values of variables as conditioned by
1998 * automake.in (%contents): Remove.
1999 (&generate_makefile, &handle_ltlibraries, ¯o_define)
2000 (&read_am_file, &variable_defined, &variable_conditions_sub)
2001 (&variable_value, &variable_value_as_list_worker)
2002 (&variable_value_as_list, &define_pretty_variable)
2003 (&read_main_am_file): Use
2004 $conditional, not %contents.
2005 (&variable_conditions_permutations): Don't return TRUE and FALSE.
2006 (&variable_conditionally_defined): New.
2007 (&handle_dist): Use it.
2008 (&check_ambiguous_conditional): When multiply defined, specify
2009 under which condition.
2010 (¯o_define): Use it.
2011 (&variable_delete): New.
2012 (&read_am_file): Use it.
2013 (&am_install_var): Simplify, as all the variables are in
2016 2001-04-07 Tom Tromey <tromey@redhat.com>
2018 * tests/Makefile.am (XFAIL_TESTS): Added man.test.
2020 * tests/man.test: New file.
2022 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2024 * depcomp (gcc3): Invert test condition.
2026 2001-04-07 Tom Tromey <tromey@redhat.com>
2028 * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
2029 statement. Report from Larry Jones.
2031 2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
2033 * depcomp (sgi): Fix sed expression. Report from Robert Boehne.
2035 2001-04-01 Tom Tromey <tromey@redhat.com>
2037 * java.am (.PHONY clean-am): Removed trailing ":".
2038 From Per Bothner. Fixes PR automake/139.
2040 2001-03-28 Akim Demaille <akim@epita.fr>
2042 * program.am: Fix a stupid typo: now *all* (not none) the programs
2044 Reported by Robert Boehne.
2046 2001-03-23 Akim Demaille <akim@epita.fr>
2048 * automake.in (&read_am_file, &file_contents): Avoid name clashes
2051 2001-03-23 Akim Demaille <akim@epita.fr>
2053 * automake.in (&variable_conditionally_defined): Rename as...
2054 (&check_variable_unconditionally_defined): this.
2055 (&variable_dump): Fix the output.
2056 (&variable_defined, ¯o_define): Since conditions are
2057 canonicalized, don't use a loop to look for a condition: read the
2059 (¯o_define, &rule_define, &read_am_file, &file_contents):
2060 Rename $cond_string as $cond.
2061 * distdir.am (PACKAGE, VERSION): Remove; since they are already
2062 discovered via AC_SUBST, they now trigger a `defined twice' error.
2064 2001-03-23 Akim Demaille <akim@epita.fr>
2066 * automake.in (&handle_footer, &handle_installdirs)
2067 (&read_main_am_file): Don't read %contents directly, use
2070 2001-03-23 Akim Demaille <akim@epita.fr>
2072 * automake.in (&read_am_file): Define the variables in a single
2074 Factor the $saw_bk code.
2076 2001-03-23 Akim Demaille <akim@epita.fr>
2078 * automake.in (&read_am_file): Keep $cond_string up to date.
2080 2001-03-23 Akim Demaille <akim@epita.fr>
2082 * automake.in (&define_variable): Use ¯o_define.
2084 2001-03-23 Akim Demaille <akim@epita.fr>
2086 * automake.in (¯o_define): Don't lose the location if we
2087 redefine a variable.
2088 Don't push all the variables in @var_list, let...
2089 (&read_am_file, &file_contents): ... do it.
2090 (&define_pretty_variable): Use macro_define.
2091 (&am_install_var): Delete the value of variables being redefined
2092 to pacify ¯o_define which checks that variables are not
2095 2001-03-23 Akim Demaille <akim@epita.fr>
2097 * automake.in (&conditional_dump): Rename as...
2098 (&variables_dump): this. Use...
2099 (&variable_dump): this new sub.
2101 2001-03-23 Akim Demaille <akim@epita.fr>
2103 * automake.in (&file_contents): Maintain $cond_string sync with
2105 Output rules only if not under `FALSE'.
2106 Define variables under $cond_string.
2107 * scripts.am: For the time being if/endif does not work properly
2110 2001-03-23 Akim Demaille <akim@epita.fr>
2112 * automake.in (IF_PATTERN): Unobfuscate the parens.
2113 (ENDIF_PATTERN): Allow a condition to be specified.
2114 (&file_contents): Use a @cond_stack.
2115 (&transform): At least for an easy transition, also transform
2116 %?FOO% and %!FOO%, as suggested by Lars.
2117 * scripts.am: First test bed for static if/endif use.
2119 2001-03-23 Akim Demaille <akim@epita.fr>
2121 * automake.in (&file_contents): Use rule_define.
2123 2001-03-23 Akim Demaille <akim@epita.fr>
2125 * automake.in (¯o_define): Don't rely on $1.
2126 Initialize the variable.
2127 Set its Automakism only if not defined or if given to the user.
2128 When concatenating values, insert a separator only if the value
2130 (&read_am_file): When dumping the @var_list, skip Automake
2132 (&file_contents): Use macro_define.
2134 2001-03-23 Akim Demaille <akim@epita.fr>
2136 * automake.in (&rule_define): Extract from...
2137 (&read_am_file): here.
2139 2001-03-23 Akim Demaille <akim@epita.fr>
2141 * automake.in (¯o_define, &read_am_file): More work for the
2142 former from the latter. Reorganize the latter.
2144 2001-03-23 Akim Demaille <akim@epita.fr>
2146 * automake.in (¯o_define): Extract from...
2147 (&read_am_file): here.
2149 2001-03-23 Akim Demaille <akim@epita.fr>
2151 * automake.in (%am_var_defs): Replace with...
2153 (&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
2154 (&file_contents, am_primary_&prefixes): Adjust.
2155 (&variable_defined, &define_variable): The actual semantics is
2157 (&read_main_am_file): Assert the var is user defined when
2158 outputting @var_list.
2160 2001-03-23 Akim Demaille <akim@epita.fr>
2162 * automake.in (read_am_file): TRUE and FALSE are predefined
2164 (&by_condition): Adjust.
2165 (&conditional_string): Recognize `TRUE' and `FALSE'.
2166 (&make_condition): Use it.
2167 * m4/cond.m4: Reject TRUE and FALSE as conditionals.
2168 * automake.texi (Conditionals): Adjust.
2169 * tests/cond9.test: s/FALSE/WRONG/.
2171 2001-03-12 Pavel Roskin <proski@gnu.org>
2173 * tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
2176 2001-03-12 Akim Demaille <akim@epita.fr>
2178 * automake.in (&variable_conditions_permutations): Separate the
2180 * tests/cond3.test: Improve the sed expression.
2182 2001-03-09 Pavel Roskin <proski@gnu.org>
2184 * Makefile.am (maintainer-check): Scan all *.am files and tests
2185 for invocations of `rm' without `-f'.
2186 * tests/mclean.test: Adjusted to prevent triggering the above
2189 2001-03-09 Tom Tromey <tromey@redhat.com>
2191 * automake.in (scan_one_autoconf_file): Fixed comment to avoid
2192 maintainer-check failure.
2194 2001-03-09 Akim Demaille <akim@epita.fr>
2196 * tests/cond3.test: Strengthen.
2198 2001-03-09 Akim Demaille <akim@epita.fr>
2200 * automake.in (&conditional_string): Produce a unique string
2201 characterizing a condition stack.
2202 (&conditional_same): Remove, comparing two strings is now enough.
2203 (&variable_defined): Adjust.
2204 (&read_am_file): Use conditional_string.
2206 2001-03-08 Akim Demaille <akim@epita.fr>
2208 * automake.in: Use -w.
2209 Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
2210 (&parse_arguments): Support --Werror and --Wno-error as a
2211 temporary hack until --warning/-W is properly implemented.
2212 (&handle_single_transform_list): Prototype.
2213 Be sure to define $directory.
2214 Use `exists' instead of testing the value of a maybe undefined
2216 (&add_depend2, &handle_configure, &handle_footer, &file_contents)
2217 (&handle_factored_dependencies): Use defined values.
2218 (&scan_one_autoconf_file): Save $_.
2219 * tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
2220 Run automake with --Wno-error.
2222 2001-03-07 Akim Demaille <akim@epita.fr>
2224 * automake.in (&handle_all): Use an array instead of a scalar for
2226 Get rid of all-redirect: let `all' be that target.
2228 2001-03-07 Akim Demaille <akim@epita.fr>
2230 * automake.in (&handle_merge_targets): Ventilate its non `all'
2231 related content into...
2232 (&generate_makefile): here.
2233 (&handle_merge_targets): Rename as...
2234 (&handle_all): this.
2235 Remove a useless `if': `@all' is obviously not empty, since it
2236 contains at least the `basename ($makefile)' which has just been
2239 2001-03-07 Akim Demaille <akim@epita.fr>
2241 * automake.in, aclocal.in: Backquote is inert in double quotes.
2243 2001-03-06 Akim Demaille <akim@epita.fr>
2245 * Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
2248 2001-03-06 Pavel Roskin <proski@gnu.org>
2250 * java.am: Use `rm -f' instead of `rm'.
2252 2001-03-06 Akim Demaille <akim@epita.fr>
2254 * automake.in (&push_dist_common): Simplify.
2256 2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2258 * ltlib.am: Replaced spaces with tab.
2260 2001-03-06 Pavel Roskin <proski@gnu.org>
2262 * tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
2265 2001-03-05 Pavel Roskin <proski@gnu.org>
2267 * header.am, scripts.am: Use ?INSTALL? in the install and
2270 2001-03-05 Pavel Roskin <proski@gnu.org>
2272 * tests/copy.test: Never use `rm' without `-f' - it may ask
2273 questions, notably for read-only files during `make distcheck'.
2274 * tests/insh.test: Likewise.
2275 * tests/installsh.test: Likewise.
2276 * tests/symlink.test: Likewise.
2277 * tests/symlink2.test: Likewise.
2278 * tests/symlink3.test: Likewise.
2280 2001-03-05 Pavel Roskin <proski@gnu.org>
2282 * noinstdir.test: New test.
2283 * tests/Makefile.am (TESTS): Add noinstdir.test.
2284 (XFAIL_TESTS): Likewise.
2286 2001-03-05 Akim Demaille <akim@epita.fr>
2288 * automake.in (&handle_options): Change the RE so that the third
2289 part of the versions always exist.
2290 (&file_contents): Don't pass uninitialized values to &transform.
2292 2001-03-05 Akim Demaille <akim@epita.fr>
2294 * automake.in (&file_contents): Require a hash as second argument.
2297 2001-03-05 Akim Demaille <akim@epita.fr>
2299 Always use hashes with &file_contents.
2301 * automake.in (&handle_texinfo): texibuild.am does not need
2303 texinfos.am wants only TEXICLEANS.
2304 (&handle_dist, &add_depend2, &handle_clean): Replace $xform with
2306 * texinfos.am: Adjust.
2308 2001-03-05 Akim Demaille <akim@epita.fr>
2310 * automake.in (&handle_programs, &handle_libraries, &handle_tags)
2311 (&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
2312 (&am_install_var): Forget about `-clean'.
2313 Transform ?INSTALL?.
2314 Always output the *.am file.
2315 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2316 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2317 Remove, merged into the corresponding *.am file.
2318 * data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
2321 2001-03-05 Pavel Roskin <proski@gnu.org>
2323 * Makefile.am (amfiles): Add configure.am. Sort alphabetically.
2325 2001-03-05 Akim Demaille <akim@epita.fr>
2327 If OBJEXT and EXEEXT are not set, provide a default value, and use
2328 them unconditionally.
2330 * automake.in (&generate_makefile): Provide default values for
2332 (&get_object_extension, &finish_languages)
2333 (&handle_single_transform_list, &handle_programs, &add_depend2)
2334 (&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
2335 them, they are defined.
2336 * compile.am, depend2.am, program.am, progs.am: Likewise.
2337 * remake-hdr.am: Fix a typo.
2338 * tests/cxxo.test, tests/fo.test, tests/implicit.test,
2339 * tests/interp.test, tests/subobj.test, tests/subobj2.test,
2340 * tests/suffix2.test: Adjust.
2342 2001-03-05 Akim Demaille <akim@epita.fr>
2344 * automake.in (&file_contents): Map MAINTAINER-MODE to
2345 @MAINTAINER_MODE_TRUE@ or nothing.
2346 * configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
2349 2001-03-05 Akim Demaille <akim@epita.fr>
2351 * automake.in (&do_one_merge_target): Remove, was only called from...
2352 (&handle_merge_targets): here for `all'.
2355 2001-03-05 Akim Demaille <akim@epita.fr>
2357 Make the installation/uninstallation of Info pages follow the
2358 regular am/recursive scheme.
2360 * automake.in (%required_targets, %dependencies): Add
2362 (%dependencies): Add install-info, install-info-am, and
2364 (&handle_subdirs): Don't transform INSTALLINFO, which mapping was
2365 reversed BTW. Does anybody use the option `no-installinfo'?
2366 (&handle_merge_targets): Let the handling of info related targets
2368 (&handle_factored_dependencies): this.
2369 * subdirs.am: Use ?INSTALL-INFO?.
2370 * texinfos.am: Define the install-info, uninstall-info and
2371 uninstall-info-am targets.
2373 2001-03-05 Akim Demaille <akim@epita.fr>
2375 * automake.in (%required_targets, %dependencies): Add dvi, info,
2377 (@info, @dvi): Remove.
2378 (&handle_texinfo, &handle_merge_targets): Adjust.
2379 (&handle_factored_dependencies): Required targets are phony.
2380 * texinfos.am: Build info, dvi, and the corresponding -am or
2383 2001-03-05 Akim Demaille <akim@epita.fr>
2385 * automake.in (&am_install_var): Remove $cygxform, unused.
2387 2001-03-05 Akim Demaille <akim@epita.fr>
2389 * automake.in (&file_contents): Transform LIBTOOL.
2390 (&am_install_var): Remove $ltxform.
2391 * ltlib.am, progs.am: Adjust.
2393 2001-03-05 Akim Demaille <akim@epita.fr>
2395 * automake.in: Require AC_PROG_INSTALL in...
2396 (&scan_autoconf_files): here.
2398 2001-03-05 Akim Demaille <akim@epita.fr>
2400 * configure.am: New file.
2401 * automake.in (&file_contents): Transform CONFIGURE-AC.
2402 (&handle_texinfo, &handle_configure): Don't transform
2404 (&handle_configure): Use `configure.am'.
2405 * remake-hdr.am, remake.am, texi-vers.am: Adjust to
2406 MAINTAINER-MODE and CONFIGURE-AC.
2408 2001-03-05 Akim Demaille <akim@epita.fr>
2410 * automake.in (&pretty_print_internal): Don't output useless
2412 (define_pretty_variable): Don't issue the space after the `=' sign
2413 to avoid trailing spaces in Makefile.ins.
2415 2001-03-05 Akim Demaille <akim@epita.fr>
2417 * automake.in (&generate_makefile): Invoke &initialize_per_input
2418 *before* setting $am_file_name and $in_file_name.
2420 2001-03-05 Akim Demaille <akim@epita.fr>
2422 * automake.in ($in_file_name, $am_file_name, $relative_dirs):
2423 Globals, initialized...
2424 (&initialize_per_input): here.
2426 2001-03-05 Akim Demaille <akim@epita.fr>
2428 * automake.in ($am_relative_dir): Global.
2429 (&initialize_per_input): Init it.
2430 (%make_list, @make_input_list): My them from
2431 (&scan_autoconf_files): here.
2432 (&require_file_internal): Mying changes.
2434 2001-03-05 Akim Demaille <akim@epita.fr>
2436 * automake.in (%am_vars, @var_list, %def_type): Globals.
2437 (&initialize_per_input): Initialize them.
2438 (&read_main_am_file): Don't local them.
2439 (&get_object_extension): $objext is private.
2440 (&handle_single_transform_list): $lang is.
2441 (&handle_ltlibraries): $libname_rx is.
2442 (&scan_autoconf_config_files): How about actually paying attention
2443 to your arguments, instead of working on $_? (this is no Perl
2444 variable, it's a Perl variable followed by a question mark).
2445 (&file_contents): $contents and $separator are private.
2446 (&am_install_var): Declare @condvals, not $condvals.
2449 2001-03-05 Akim Demaille <akim@epita.fr>
2451 * automake.in (&initialize_per_input): Move to the top.
2452 Precede with the `my' list of its variables.
2454 2001-03-05 Akim Demaille <akim@epita.fr>
2456 * automake.in ($am_file): Use vars.
2457 ($am_file_name, $in_file_name): Private to &generate_makefile.
2459 2001-03-05 Akim Demaille <akim@epita.fr>
2461 * automake.in: Preparation for `use strict': Move the
2462 initialization of the constants to the top, from...
2463 (&initialize_global_constants): here.
2465 2001-03-05 Akim Demaille <akim@epita.fr>
2467 * automake.in (&handle_single_transform_list, &add_depend2): Let
2468 $lang_specific_files{$lang} be a list instead of a string.
2470 2001-03-05 Akim Demaille <akim@epita.fr>
2472 Let's make it run ten times faster...
2474 * automake.in (&transform): Be sure to remove the `\n' with ?FOO?
2476 (&file_contents): Let `$command' remove the Automake commands, and
2477 normalize the series of `\n'.
2478 Slurp the file and apply $command in a single step.
2479 No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
2480 is already normalized to be handled by &transform.
2482 2001-03-05 Tom Tromey <tromey@redhat.com>
2484 * automake.in (register_language): Add entry for `-pure'.
2485 Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
2486 (finish_languages): Use `-pure' field of language map.
2488 2001-03-03 Tom Tromey <tromey@redhat.com>
2490 * tests/yaccvpath.test: No need to remove dummy files.
2491 * tests/subobj3.test: No need to remove dummy files.
2492 * tests/pr9.test: No need to remove dummy files.
2493 * tests/pr87.test: No need to remove dummy files.
2494 * tests/pr19.test: No need to remove dummy files.
2495 * tests/install2.test: No need to remove dummy files.
2496 * tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
2499 2001-02-27 Pavel Roskin <proski@gnu.org>
2501 * tests/yaccvpath.test: Add a delay to make parse.c really out
2502 of date. Detect the problem earlier, after `make distdir'. Drop
2503 dependency on flex. Always use the `-y' flag for bison. Comment
2505 * tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.
2507 2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
2509 * depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.
2511 2001-02-28 Akim Demaille <akim@epita.fr>
2513 * automake.in (&add_depend2): Transform `GENERIC'.
2514 Get rid of the ad hoc transformation of `@EXT@.o:' which in
2515 addition was broken by the `@ -> %' patch.
2516 * depend2.am: Adjust to use ?GENERIC?.
2518 2001-02-28 Akim Demaille <akim@epita.fr>
2520 * Makefile.am (maintainer-check): `undef $/' is OK.
2522 2001-02-28 Akim Demaille <akim@epita.fr>
2524 * automake.in (&handle_configure): Fortunately, $top_reldir,
2525 the definition of which was highly suspicious, was unused.
2527 2001-02-27 Akim Demaille <akim@epita.fr>
2529 * automake.in (%exec_dir_p): Move to the top so that it is visible
2532 2001-02-27 Pavel Roskin <proski@gnu.org>
2534 * tests/yaccvpath.test: Prevent automake from looking into ..
2535 and ../.. by using AC_CONFIG_AUX_DIR in configure.in.
2537 2001-02-27 Akim Demaille <akim@epita.fr>
2539 * automake.in (%exec_dir_p): Pulled out from...
2540 (&am_primary_prefixes): here.
2542 2001-02-27 Akim Demaille <akim@epita.fr>
2544 * automake.in (&usage): Display $0, not $me.
2546 2001-02-27 Akim Demaille <akim@epita.fr>
2548 * mans.am: s/INSTALL_MAN/INSTALL-MAN/.
2549 * automake.in (&handle_clean): Don't escape what's given to
2552 2001-02-27 Akim Demaille <akim@epita.fr>
2554 Distinguish automake substitutions from config.status
2557 * automake.in (&add_depend2): Transform AMDEP.
2558 (&handle_clean): Transform MCFILES and MFILES.
2559 (&file_contents): Transform MAINTAINER_MODE.
2560 (&transform, &am_install_var): Use `%', not `@'.
2561 Adjust all the *.am files.
2562 * clean.am: Use ?MFILES? instead of ad hoc MAINTAINERCLEAN.
2563 * depend2.am: Display the double dependency on both ?AMDEP? and
2566 2001-02-27 Tom Tromey <tromey@redhat.com>
2568 * distdir.am (distcheck): Fixed new code.
2570 * tests/yaccvpath.test: Fail gracefully if bison/flex not found.
2571 Only configure once.
2573 * distdir.am (distcheck): Print error message if distclean failed
2576 2001-02-27 Pavel Roskin <proski@gnu.org>
2578 * tests/Makefile.am (TESTS): s/yaccpvath/yaccvpath/.
2580 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2582 * tests/Makefile.am (TESTS): Added yaccvpath.test.
2583 * tests/yaccvpath.test: New file.
2585 2001-02-26 Akim Demaille <akim@epita.fr>
2587 * automake.in (&am_install_var): Recognize whether predefined
2588 directories are `data' or `exec'.
2589 * libs.am, ltlib.am, progs.am, python.am, scripts.am: Install
2591 * tests/instdata2.test: Update.
2593 2001-02-26 Akim Demaille <akim@epita.fr>
2595 * texinfos.am: No ?EXEC? hook as currently installing TEXINFOS is
2596 necessarily in infodir.
2598 2001-02-26 Akim Demaille <akim@epita.fr>
2600 * automake.in ($am_file): Be `local', as my'd variables used in
2601 `foreach' loops are always private to the loop.
2603 2001-02-26 Pavel Roskin <proski@gnu.org>
2605 * Makefile.am: Add install.am.
2607 2001-02-26 Akim Demaille <akim@epita.fr>
2609 * automake.in (&target_cmp, &dist_cmp): Do not prototype comparing
2610 routines, otherwise the elements to compare are passed in @_
2611 instead of $a and $b.
2613 2001-02-26 Akim Demaille <akim@epita.fr>
2615 * automake.in (%required_targets): `installcheck-am' is needed.
2617 2001-02-26 Akim Demaille <akim@epita.fr>
2619 * automake.in (&transform_cond): Merge into...
2623 2001-02-26 Akim Demaille <akim@epita.fr>
2625 * automake.in (&handle_dist): Use &transform instead of dedicated
2627 But be sure to always do it.
2628 * distdir.am: Adjust.
2630 2001-02-26 Akim Demaille <akim@epita.fr>
2632 * automake.in: Use File::Basename.
2633 (&dirname, &basename): Remove.
2635 2001-02-26 Akim Demaille <akim@epita.fr>
2637 * automake.in ($me): New.
2639 (&usage): Display your full name.
2641 2001-02-26 Akim Demaille <akim@epita.fr>
2643 * automake.texi (Invoking Automake): Remove dead options.
2645 2001-02-26 Akim Demaille <akim@epita.fr>
2647 * automake.in (&scan_texinfo_file): Also compute the list of files
2649 Handle local errors.
2650 (&handle_texinfo): Use it.
2652 2001-02-26 Akim Demaille <akim@epita.fr>
2654 * automake.in: Don't pass arguments to...
2655 (&parse_arguments): Work on @ARGV.
2657 Add support for `-f'.
2661 2001-02-26 Akim Demaille <akim@epita.fr>
2663 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2664 handle installcheck and installcheck-am.
2665 * install.am: Do it.
2667 2001-02-26 Akim Demaille <akim@epita.fr>
2669 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2670 handle install and install-am.
2671 * install.am: Do it.
2673 2001-02-26 Akim Demaille <akim@epita.fr>
2675 * automake.in (&handle_merge_targets, &do_one_merge_target): Don't
2676 work on targets handled by %dependencies.
2677 (&handle_factored_dependencies): Do it.
2678 * install.am: Install install-exec, install-data and uninstall's
2681 2001-02-26 Akim Demaille <akim@epita.fr>
2683 * automake.in (&handle_merge_targets): Move `install-strip' from
2685 * install.am: to here.
2687 2001-02-26 Akim Demaille <akim@epita.fr>
2689 * automake.in (@installdirs): Remove.
2690 (&file_contents): Be able to grow Automake macros with `+='.
2691 (&handle_texinfo, &handle_man_pages, &am_install_var): Let your
2692 files define _am_installdirs.
2693 (&handle_installdirs): Remove the code, just output `install.am'.
2695 * data.am, header.am, libs.am, lisp.am, ltlib.am, mans.am, progs.am,
2696 * python.am, scripts.am, texinfos.am: Extend $(_am_installdirs).
2698 2001-02-26 Akim Demaille <akim@epita.fr>
2700 * tests/instdata2.test (libexec_DATA): Exercise more
2703 2001-02-25 Alexandre Duret-Lutz <duret_g@epita.fr>
2705 * header-vars.am (INSTALL_STRIP_FLAG): Remove (obsolete).
2707 2001-02-25 Tom Tromey <tromey@redhat.com>
2709 * tests/instdata2.test: Added `sbin_DATA' check.
2711 * tests/Makefile.am (TESTS): Added subdircond.test.
2712 * tests/subdircond.test: New file.
2713 * automake.in (handle_gettext): Don't fail if SUBDIRS
2714 conditionally defined.
2716 * automake.in: Use IO::File.
2717 (generate_makefile): Use IO::File.
2718 (scan_texinfo_file): Likewise.
2719 (handle_aclocal_m4): Likewise.
2720 (scan_autoconf_traces): Likewise.
2721 (scan_one_autoconf_file): Likewise.
2722 (read_am_file): Likewise.
2723 (file_contents): Likewise.
2726 2001-02-25 Akim Demaille <akim@epita.fr>
2728 * automake.in (handle_texinfo): Remove code handled by texinfos.am.
2730 2001-02-25 Akim Demaille <akim@epita.fr>
2732 * automake.in (&transform): Also call &transform_cond on your
2734 (&handle_dist): Adjust.
2735 (&handle_factored_dependencies): Uniq dependencies.
2737 2001-02-25 Akim Demaille <akim@epita.fr>
2739 * automake.in (&handle_gettext): Simplify redundant `if'.
2740 Used &variable_value, don't read %contents directly.
2742 2001-02-25 Akim Demaille <akim@epita.fr>
2744 * automake.in ($install_recursive): Remove, replaced with calls to
2745 `&variable_defined ('SUBDIRS')'.
2746 (&handle_dist, &handle_clean): Don't transform_cond SUBDIRS since...
2747 (&file_contents): now does.
2749 2001-02-25 Akim Demaille <akim@epita.fr>
2751 * automake.in (&handle_man_pages): $found is dead.
2753 2001-02-25 Akim Demaille <akim@epita.fr>
2755 Internally just store the conditionals as space separated lists of
2756 CONDITIONS (instead of @CONDITIONS@).
2758 * automake.in (&conditional_true_when, &variable_conditions_sub):
2759 Split conditions at spaces.
2760 (&handle_dependencies, &variable_conditions_permutations): Don't
2761 put @ around conditions.
2762 (&variable_conditions_cmp): There are no @ to strip.
2763 (&make_condition): New.
2764 (&define_pretty_variable, &read_main_am_file, &read_am_file): Use
2766 (&read_main_am_file, &read_am_file): Stop playing with @ by hand.
2767 Join @conditional_stack with spaces.
2768 (&read_main_am_file): Adjust the output of variables.
2769 Output `TRUE = true' under the condition `TEST' as `@TEST@TRUE =
2770 true' and no longer `@TEST@TRUE = @TEST@true'.
2771 (&variable_conditions_cmp): Rename as...
2772 (&by_condition): this.
2773 Sort in a human pleasant order.
2774 Use it everywhere a human can see conditions.
2775 (&variable_conditions_reduce): Don't sort conditions, that's
2777 * tests/cond.test, ctarget1.test, pluseq3.test: Strengthen.
2779 2001-02-25 Akim Demaille <akim@epita.fr>
2781 * automake.in: `my' the globals.
2783 2001-02-25 Akim Demaille <akim@epita.fr>
2785 * automake.in (&initialize_per_input): %targets_conditionals is
2787 (&read_am_file): When slurping a rule, set the target related
2788 variable, and no variable related variable.
2789 (&file_contents): Likewise.
2790 * tests/vartar.test, tests/ctarget1.test: New.
2792 2001-02-25 Akim Demaille <akim@epita.fr>
2794 * automake.in (&variable_defined, &variable_value_as_list_worker):
2795 If $VAR is effectively a variable, don't die if it's also a
2797 Plus some formatting changes.
2799 2001-02-25 Akim Demaille <akim@epita.fr>
2801 * automake.in: Mying changes.
2802 * Makefile.am (maintainer-check): Check the stability of the
2803 number of uses of `local'.
2805 2001-02-25 Akim Demaille <akim@epita.fr>
2807 * automake.in: Mying changes.
2809 2001-02-25 Akim Demaille <akim@epita.fr>
2811 * automake.in: Mying changes.
2813 2001-02-25 Akim Demaille <akim@epita.fr>
2815 * automake.in: Mying changes.
2816 (&handle_tags): Fix a bug uncovered by the previous mying changes:
2817 transform CONFIG into $config, not $xform.
2819 2001-02-25 Akim Demaille <akim@epita.fr>
2821 * automake.in (&handle_texinfo, &handle_man_pages, &am_install_var):
2822 Don't deal with install-data-am, install-exec-am and unstall-am.
2823 (&initialize_per_input): Add them to %dependencies.
2824 Remove %exec_dir_p since the *.am files are now in charge of it.
2825 Remove @uninstall, @install_data, @install_exec.
2826 (&handle_merge_targets): Adjust to these removals.
2827 (&file_contents): Also &transform_cond for --no-installman and
2829 (&do_one_merge_target): Add some magic to install hooks on
2830 %dependencies' targets.
2831 (%required_targets): New.
2832 (&handle_factored_dependencies): Output required targets.
2833 * data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
2834 * mans-vars.am, mans.am, progs.am, python.am, scripts.am,
2835 * texinfos.am: Declare your dependencies on install-data-am,
2836 install-exec-am and uninstall-am.
2837 * tests/instdata2.test (incldata_HEADERS): New test.
2839 2001-02-24 Tom Tromey <tromey@redhat.com>
2841 * Makefile.am (amfiles): Added texibuild.am.
2842 * texibuild.am: New file.
2843 * tests/Makefile.am (TESTS): Added texinfo9.test.
2844 * tests/texinfo9.test: New file.
2845 * automake.in (handle_texinfo): Keep track of suffixes used. Give
2846 error if suffix unrecognized. Removed extraneous newline.
2848 2001-02-23 Akim Demaille <akim@epita.fr>
2850 * automake.in (&am_install_var): Don't hook on the clean targets
2852 * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
2853 * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
2856 2001-02-23 Akim Demaille <akim@epita.fr>
2858 * automake.in: Promote local `my' over `local'.
2860 2001-02-23 Akim Demaille <akim@epita.fr>
2862 * automake.in: Formatting and mying changes.
2864 2001-02-23 Akim Demaille <akim@epita.fr>
2866 * automake.in: Formatting and mying changes.
2868 2001-02-23 Akim Demaille <akim@epita.fr>
2870 * automake.in (&handle_man_pages): Let install-man and
2871 uninstall-man be handled by the dependency tracker.
2872 (&initialize_per_input): Let %dependencies track them.
2873 * mans.am: Add the needed hooks with the proper dependencies.
2875 2001-02-22 Pavel Roskin <proski@gnu.org>
2877 * tests/target-cflags.test: Don't use subshell to configure in
2878 subdirectory. Typo fix - run `./foo', not `/foo'.
2880 2001-02-22 Akim Demaille <akim@epita.fr>
2882 * automake.in: Formatting and mying changes.
2884 2001-02-21 Tom Tromey <tromey@redhat.com>
2886 * automake.in (handle_dist): Introduce new variable to avoid extra
2887 keys in %dist_dirs. Fixes distdir.test.
2889 * automake.in (handle_texinfo): Only remove suffixes we can
2892 * tests/distdir.test: Check to make sure directory isn't made in
2895 * automake.in (handle_dist): Do nothing in Cygnus mode.
2897 2001-02-21 Pavel Roskin <proski@gnu.org>
2899 * header-vars.am: Remove tabs before variable definitions.
2901 2001-02-21 Akim Demaille <akim@epita.fr>
2903 * tests/distdir.test (EXTRA_DIST): Use a finer pattern to avoid
2906 2001-02-21 Akim Demaille <akim@epita.fr>
2908 * automake.in (&dist_cmp, &target_cmp): Be sure to return a
2909 numeric value as required by Perl 5.6.
2911 2001-02-21 Akim Demaille <akim@epita.fr>
2913 * dist-vars.am: Remove, merge into...
2915 * automake.in (dirname, basename, backname): Move to the top of
2916 the file so that prototypes are checked,
2917 Use them without `&'.
2918 (&handle_dist): Adjust.
2920 2001-02-21 Akim Demaille <akim@epita.fr>
2922 * automake.in (&check_ambiguous_conditional, &read_main_am_file):
2923 Use a uniform naming scheme.
2924 ("e_cond_val, &unquote_cond_val): Delete, dead code.
2925 (&read_am_file): Fix conditional definition of backslash continued
2928 2001-02-21 Akim Demaille <akim@epita.fr>
2930 Change the handling of conditionals: instead of using an ad-hoc
2931 encoding to store a hash in a string, use hashes.
2933 * automake.in (&conditional_dump): New.
2934 (&check_ambiguous_conditional, &variable_defined)
2935 (&variable_conditions_sub, &variable_value_as_list_worker)
2936 (&define_variable, read_am_file, &read_main_am_file): Be sure to
2937 handle `$conditional{$vars}' as a hash instead of a plain string.
2939 2001-02-21 Akim Demaille <akim@epita.fr>
2941 * automake.in (&conditional_true_when): Modernize, simplify.
2942 Warning: `$comp' is now private (my), while it used to be
2943 `inherited' from a `local' elsewhere in the code. AFAICT it was
2944 wrong, but some dirty side effect might show up.
2945 (&conditionals_true_when): New.
2946 (&variable_conditions_sub, &variable_conditions_reduce): Use it.
2948 2001-02-21 Akim Demaille <akim@epita.fr>
2950 * automake.in ($top_builddir): Remove, used in one place.
2951 (&define_standard_variables): Adjust.
2952 Move the definition of triplet variables into...
2953 * header-vars.am: here.
2955 2001-02-21 Akim Demaille <akim@epita.fr>
2957 * automake.in (&initialize_global_constants): Don't define $USAGE.
2958 (&usage): Handle the former content of $USAGE.
2959 Don't pretend autoconf cares about Makefile.in.
2960 Classify the options.
2961 (&handle_tests): Formatting and mying changes.
2963 2001-02-21 Akim Demaille <akim@epita.fr>
2965 * automake.in (&handle_tests_dejagnu): Move the definition of a
2966 default `site.exp' into...
2967 * dejagnu.am (site.exp): here.
2968 Use DOS compliant file names.
2970 2001-02-21 Akim Demaille <akim@epita.fr>
2972 * automake.in (&dist_cmp): New.
2973 (&handle_dist): Use it.
2974 Promote `my' over `local'.
2976 2001-02-21 Akim Demaille <akim@epita.fr>
2978 * dist.am: Remove, merge into...
2979 * distdir.am: here. Use the neat sed snippet for banners.
2980 BTW, distcheck is phony.
2981 * automake.in (&handle_dist_worker): Remove, merge into...
2982 (&handle_dist): this.
2983 (&file_contents): Strip leading new lines.
2984 Be sure to end comments with new lines.
2986 2001-02-21 Akim Demaille <akim@epita.fr>
2988 * distdir.am (GZIP_ENV): Define.
2989 * automake.in (&handle_dist): Don't.
2991 (&handle_dist_worker, &am_install_var): Use it.
2993 2001-02-21 Akim Demaille <akim@epita.fr>
2995 * distdir.am (distdir): Handle the DIST-TARGETS.
2996 * automake.in (&handle_dist_worker): Don't.
2998 2001-02-21 Akim Demaille <akim@epita.fr>
3000 * automake.in (&file_contents): Transform the global options (such
3002 (&handle_texinfo, &handle_dist_worker, &handle_tests_dejagnu): Don't.
3004 2001-02-21 Akim Demaille <akim@epita.fr>
3006 * distdir.am (distdir): Be sure to have permissive rights on its
3008 (dist-all, dist-bzip2, dist-zip, dist-tarZ): New conditional
3010 And BTW, all these guys are phony.
3011 * automake.in (&handle_dist_worker): As its name doesn't indicate,
3012 output distributions.
3013 (&handle_dist): As its name doesn't indicate, don't.
3014 (&initialize_global_constants): Don't define variables which
3015 content is now handled by distdir.am.
3016 But register `dist-all' as a factored target.
3017 (&handle_factored_dependencies): Don't output empty targets.
3019 2001-02-20 Tom Tromey <tromey@redhat.com>
3021 * m4/init.m4 (AM_INIT_AUTOMAKE): Simplify m4_pattern_allow
3024 2001-02-18 Tom Tromey <tromey@redhat.com>
3026 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Don't call AM_PROG_STRIP.
3027 Set INSTALL_STRIP_PROGRAM_ENV to `$(STRIP)', not `$STRIP'.
3028 (AM_PROG_STRIP): Commented out.
3030 2001-02-17 Raja R Harinath <harinath@cs.umn.edu>
3032 * depcomp (gcc3): Protect against the compiler deleting
3033 the dependency output file.
3035 2001-02-17 Tom Tromey <tromey@redhat.com>
3037 * automake.in (handle_merge_targets): Use double quotes around
3038 setting of INSTALL_STRIP_PROGRAM.
3039 * m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
3040 to absolute path at runtime.
3041 (AM_PROG_STRIP): Don't explicitly test $STRIP.
3043 2001-01-28 Alexandre Duret-Lutz <duret_g@epita.fr>
3045 * m4/strip.m4: New file.
3046 * m4/Makefile.am (m4data_DATA): Add strip.m4.
3047 * m4/init.m4: Call AM_PROG_INSTALL_STRIP.
3048 * m4/missing.m4 (AM_AUX_DIR_EXPAND): New function.
3049 * automake.in (handle_merge_targets): In the install-strip rule,
3050 set INSTALL_PROGRAM to INSTALL_STRIP_PROGRAM, and INSTALL_PROGRAM_ENV
3051 to INSTALL_STRIP_PROGRAM_ENV; don't use INSTALL_STRIP_FLAG.
3052 * progs.am (install-@DIR@PROGRAMS): Adapt to use INSTALL_PROGRAM_ENV,
3053 don't use INSTALL_STRIP_FLAG any longer.
3055 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3057 * automake.in (scan_one_configure_file): Unquote AC_CONFIG_AUX_DIR's
3060 2001-02-16 Alexandre Duret-Lutz <duret_g@epita.fr>
3062 * automake.in (unquote_m4_arg): New function.
3063 (scan_one_configure_file): Call unquote_m4_arg on
3064 AM_CONFIG_HEADER argument, so that AM_CONFIG_HEADER([foobar.h])
3067 2001-02-15 Tom Tromey <tromey@redhat.com>
3069 * config.guess, config.sub: New versions from FSF.
3071 * Makefile.am (WGET): New macro.
3072 (FETCHFILES): New macro.
3073 (fetch): New target.
3075 * tests/subobj3.test: Exit with status 77 if gcc not found.
3076 * tests/pr9.test: Exit with status 77 if gzip not found.
3077 * tests/pr87.test: Exit with status 77 if gcc not found.
3078 * tests/pr19.test: Exit with status 77 if gzip or gcc not found.
3079 * tests/install2.test: Exit with status 77 if gzip not found.
3080 * tests/exsource.test: Exit with status 77 if GNU make not found.
3081 * tests/ansi3.test: Exit with status 77 if gcc not found.
3083 * tests/target-cflags.test: Require GNU make. Exit with status 77
3084 if gcc or make not found. Fixes PR automake/121.
3086 * configure.in: Require Perl 5.005.
3087 * automake.in: Require 5.005.
3089 * automake.texi (Top): Conditionalize on `nottex', not `info'.
3090 Fixes PR automake/122.
3092 2001-02-14 Tom Tromey <tromey@redhat.com>
3094 * automake.in (add_depend2): Only emit a given object rule once.
3095 Fixes specflags6.test.
3097 2001-02-14 Richard Boulton <richard@tartarus.org>
3099 * tests/specflags6.test: New file.
3101 2001-02-14 Tom Tromey <tromey@redhat.com>
3103 * automake.texi (A Shared Library): Mention -module.
3105 2001-02-13 Tom Tromey <tromey@redhat.com>
3107 * automake.in (do_one_merge_target): Always register $name and
3110 * automake.in (do_one_merge_target): Register `all' as phony
3113 * configure.in: Updated to 1.4e for cvs.
3115 2001-02-12 Tom Tromey <tromey@redhat.com>
3117 * configure.in: Updated to 1.4d and released.
3119 * m4/init.m4 (AM_INIT_AUTOMAKE): Explicitly allow various AM_*
3120 names through autoconf.
3122 Fix for subdirbuiltsources.test:
3123 * automake.in (initialize_per_input): [all_target] Initialize to
3125 (handle_merge_targets): Use all-redirect target to handle built
3127 (do_one_merge_target): Don't generate all-redirect rule.
3129 2001-02-11 Peter Muir <iyhi@yahoo.com>
3131 * tests/subdirbuiltsources.test: New file.
3132 * tests/Makefile.am (TESTS): Added new file.
3134 2001-02-10 Tom Tromey <tromey@redhat.com>
3136 * tests/condlib.test: New file.
3137 * tests/Makefile.am (TESTS): Added new file.
3139 2001-02-10 Lars J. Aas <larsa@sim.no>
3141 * automake.in ($MACRO_PATTERN): Include '@' in name regex.
3142 (&canonicalize): New. Includes '@' in canonical range.
3143 (&check_canonical_spelling, &handle_programs, &handle_libraries,
3144 &handle_ltlibraries, &handle_texinfo): Use &canonicalize.
3146 2001-02-10 Raja R Harinath <harinath@cs.umn.edu>
3148 * automake.in (handle_configure): Revert part of
3149 '2001-02-04 Kevin Ryde <user42@zip.com.au>'. Don't
3150 set CONFIG_COMMANDS explicitly.
3152 2001-02-09 Raja R Harinath <harinath@cs.umn.edu>
3154 * depcomp (gcc3): Propagate exit code.
3156 2001-02-09 Lars J. Aas <larsa@sim.no>
3158 * header.am (install-@DIR@HEADERS): s,?!NOBASE?,?!BASE?, (typo)
3160 2001-02-09 Tom Tromey <tromey@redhat.com>
3162 Clean up maintainer-check warnings:
3163 * Makefile.am (maintainer-check): Ignore comment lines in CDPATH
3165 * automake.in (handle_dist_worker): Removed redundant `my $xform'.
3167 2001-02-09 Akim Demaille <akim@epita.fr>
3169 * automake.in (&file_contents): Remove a dead branch.
3171 2001-02-09 Akim Demaille <akim@epita.fr>
3173 * automake.in (&transform): Use `my', not `local'.
3174 (&transform_cond): New.
3175 (&get_object_extension, &handle_texinfo, &handle_tags)
3176 (&handle_dist_worker, &handle_dist, &add_depend2, &handle_clean)
3177 (&handle_tests_dejagnu): Use it.
3178 * texinfos.am, lisp.am, header.am, dist.am, distdir.am, depend2.am
3179 * dejagnu.am, data.am, clean.am: Adjust to the new syntax.
3181 2001-02-09 Akim Demaille <akim@epita.fr>
3183 * automake.in: Various formatting changes, and modernization of
3186 (&handle_configure, define_standard_variables): Use it.
3188 2001-02-08 Tom Tromey <tromey@redhat.com>
3190 * automake.in (file_contents): Only add $actions if any are
3191 found. Fixes new failure in pr87.test.
3193 2001-02-08 Pavel Roskin <proski@gnu.org>
3195 * tests/pr87.test: Check foo/Makfile.in after it is created.
3197 2001-02-08 Tom Tromey <tromey@redhat.com>
3199 * tests/pr87.test: Added check for blank line after `.c.o' rule.
3200 Report from Lars J. Aas.
3202 2001-02-07 Lars J. Aas <larsa@sim.no>
3204 * lisp.am (install-@DIR@LISP): Removed extra space.
3205 * header.am (install-@DIR@HEADERS): Removed extra space.
3206 * data.am (install-@DIR@DATA): Removed extra space.
3208 2001-02-07 Tom Tromey <tromey@redhat.com>
3210 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
3212 * automake.in (handle_dependencies): Use _am_include, not
3214 * tests/exsource.test: Use _am_include, not AMINCLUDE.
3215 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
3217 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
3219 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
3221 * automake.in (handle_configure): Handle case where output file is
3222 in subdir with no Makefile of its own. Fixes remake3.test,
3225 2001-02-06 Pavel Roskin <proski@gnu.org>
3227 * automake.in (handle_dependencies): Rename AM_INCLUDE to
3229 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
3230 * tests/exsource.test: Likewise.
3232 2001-02-06 Derek Price <derek.price@openavenue.com>
3234 * automake.in (handle_configure): Fix syntax error.
3236 2001-02-06 Akim Demaille <akim@epita.fr>
3238 * subdirs.am: This file is the exception: clean recursive targets
3239 are called by the clean targets, not the clean-am targets.
3240 Otherwise we have a circular dependency: clean -> clean-am ->
3241 clean-recursive -> clean.
3242 * automake.in (handle_clean): Bind `-local' targets to `-am'
3243 targets, not top targets.
3244 Don't declare -recursive dependencies of the clean targets:
3245 `subdirs.am' did it. Less hard coded knowledge, transfered
3249 2001-02-06 Akim Demaille <akim@epita.fr>
3251 Monstro unsplitable patch.
3253 The aim is to remove hard coded knowledge about clean targets from
3254 automake.in, leaving them in the *.am files.
3255 In addition to the mechanic needed to factor some dependencies, it
3256 appears some rules (most notably distclean and maintainer-clean)
3257 need factored actions. So first, be ready to catch factored
3260 * automake.in (&file_contents): For the time being, use an extended
3261 $RULE_PATTERN which is able to match any kind of rules, with or
3262 without dependency, with or without actions.
3263 Handle all the rules uniformly, storing in %actions the factored
3265 (&flatten, &target_cmp): New.
3266 (&handle_factored_dependencies): Output the %actions.
3267 No longer special case `clean'.
3268 Output the rules in alphabetical order, but keeping `.PHONY' last.
3270 Now we must not use &push_phony_cleaners, which is doing all sort
3271 of magic to push a bit of everything in all the clean targets.
3272 The biggest problem being that, making a Cartesian product, it
3273 requires many useless targets. The `*.am' file know better.
3274 But first, register the new factored rules.
3276 * automake.in (&initialize_per_input): Include clean, mostlyclean,
3277 maintainer-clean, distclean and their `*-am' counterpart in
3279 Initialize %actions.
3280 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
3281 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
3282 (handle_emacs_lisp, handle_python): Don't play with
3283 &push_phony_cleaners nor &depend and `clean'.
3284 * texinfos.am, texi-vers.am, tags-clean.am:
3285 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
3286 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
3287 * clean-kr.am, clean-hdr.am: Do it.
3288 Whenever a target is empty, just remove it, it will no longer be
3291 There is still some magic about clean to hard code. But really,
3292 that's the end of &do_one_clean_target.
3294 * automake.in (&do_one_clean_target): Kaboom out.
3295 (&handle_clean): Rewrite the magic code.
3296 (&am_install_var): No longer use &push_phony_cleaners, nor depend
3298 (&push_phony_cleaners): Kaboom too.
3300 2001-02-06 Akim Demaille <akim@epita.fr>
3302 * automake.in (do_one_clean_target): Don't hard code knowledge
3303 about libtool, and maintainer-clean.
3304 * clean.am, libtool.am: Handle these.
3306 2001-02-05 Akim Demaille <akim@epita.fr>
3308 * automake.in (handle_texinfo): No longer hard code the clean
3310 (texinfos.am): Include them.
3312 2001-02-05 Akim Demaille <akim@epita.fr>
3314 * Makefile.am (perl4-check): Remove, we now require Perl 5.
3315 (maintainer-check): Don't be silent when you find a problem, and
3316 actually, even specify the locations.
3317 Also check that @_ is assigned to arrays.
3319 2001-02-05 Akim Demaille <akim@epita.fr>
3321 * m4/regex.m4: Use AC_LIBSOURCES.
3322 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
3325 2001-02-04 Tom Tromey <tromey@redhat.com>
3327 * m4/Makefile.am (m4data_DATA): Added make.m4.
3328 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
3330 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
3331 Copy depcomp to subdir.
3332 * m4/make.m4: New file.
3334 2001-02-04 Pavel Roskin <proski@gnu.org>
3336 * automake.in (handle_dist_worker): Remove a line that is now
3339 2001-02-04 Kevin Ryde <user42@zip.com.au>
3341 * automake.in (handle_configure): Call config.status with empty
3342 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
3344 2001-02-04 Tom Tromey <tromey@redhat.com>
3346 * depcomp (ddashmd): Removed case.
3347 (sgi): Handle failure exit correctly
3348 (aix): Likewise. Also, add dummy `.h' targets.
3350 2001-02-04 Akim Demaille <akim@epita.fr>
3352 * distdir.am (distdir): New file, extracted from...
3353 * automake.in (handle_dist_worker): here.
3356 2001-02-04 Akim Demaille <akim@epita.fr>
3358 * automake.in (@clean): Remove, replaced by...
3359 ($dependencies{'clean'}): this.
3360 Use `&depend' instead of push'ing into @clean.
3361 (handle_factored_dependencies): For the time being, skip 'clean'.
3362 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
3363 always `clean', and `@clean'.
3365 2001-02-04 Akim Demaille <akim@epita.fr>
3367 * automake.in (%dependencies): Don't be initialize globally for
3368 all the files, but in...
3369 (&initialize_per_input): here.
3371 (@phony): Replace all occurrences with the corresponding &depend
3374 2001-02-03 Tom Tromey <tromey@redhat.com>
3376 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
3377 * header-vars.am (INSTALL_HEADER): New macro.
3379 * automake.texi (Rebuilding): New node.