1 2001-02-07 Lars J. Aas <larsa@sim.no>
3 * lisp.am (install-@DIR@LISP): Removed extra space.
4 * header.am (install-@DIR@HEADERS): Removed extra space.
5 * data.am (install-@DIR@DATA): Removed extra space.
7 2001-02-07 Tom Tromey <tromey@redhat.com>
9 * m4/init.m4 (AM_INIT_AUTOMAKE): Use \", not ".
11 * automake.in (handle_dependencies): Use _am_include, not
13 * tests/exsource.test: Use _am_include, not AMINCLUDE.
14 * m4/make.m4 (AM_MAKE_INCLUDE): Use _am_include, not AMINCLUDE.
16 * tests/Makefile.am (XFAIL_TESTS): Removed distcommon.test.
18 * tests/Makefile.am (EXTRA_DIST): Added ChangeLog-old.
20 * automake.in (handle_configure): Handle case where output file is
21 in subdir with no Makefile of its own. Fixes remake3.test,
24 2001-02-06 Pavel Roskin <proski@gnu.org>
26 * automake.in (handle_dependencies): Rename AM_INCLUDE to
28 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
29 * tests/exsource.test: Likewise.
31 2001-02-06 Derek Price <derek.price@openavenue.com>
33 * automake.in (handle_configure): Fix syntax error.
35 2001-02-06 Akim Demaille <akim@epita.fr>
37 * subdirs.am: This file is the exception: clean recursive targets
38 are called by the clean targets, not the clean-am targets.
39 Otherwise we have a circular dependency: clean -> clean-am ->
40 clean-recursive -> clean.
41 * automake.in (handle_clean): Bind `-local' targets to `-am'
42 targets, not top targets.
43 Don't declare -recursive dependencies of the clean targets:
44 `subdirs.am' did it. Less hard coded knowledge, transfered
48 2001-02-06 Akim Demaille <akim@epita.fr>
50 Monstro unsplitable patch.
52 The aim is to remove hard coded knowledge about clean targets from
53 automake.in, leaving them in the *.am files.
54 In addition to the mechanic needed to factor some dependencies, it
55 appears some rules (most notably distclean and maintainer-clean)
56 need factored actions. So first, be ready to catch factored
59 * automake.in (&file_contents): For the time being, use an extended
60 $RULE_PATTERN which is able to match any kind of rules, with or
61 without dependency, with or without actions.
62 Handle all the rules uniformly, storing in %actions the factored
64 (&flatten, &target_cmp): New.
65 (&handle_factored_dependencies): Output the %actions.
66 No longer special case `clean'.
67 Output the rules in alphabetical order, but keeping `.PHONY' last.
69 Now we must not use &push_phony_cleaners, which is doing all sort
70 of magic to push a bit of everything in all the clean targets.
71 The biggest problem being that, making a Cartesian product, it
72 requires many useless targets. The `*.am' file know better.
73 But first, register the new factored rules.
75 * automake.in (&initialize_per_input): Include clean, mostlyclean,
76 maintainer-clean, distclean and their `*-am' counterpart in
79 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
80 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
81 (handle_emacs_lisp, handle_python): Don't play with
82 &push_phony_cleaners nor &depend and `clean'.
83 * texinfos.am, texi-vers.am, tags-clean.am:
84 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
85 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
86 * clean-kr.am, clean-hdr.am: Do it.
87 Whenever a target is empty, just remove it, it will no longer be
90 There is still some magic about clean to hard code. But really,
91 that's the end of &do_one_clean_target.
93 * automake.in (&do_one_clean_target): Kaboom out.
94 (&handle_clean): Rewrite the magic code.
95 (&am_install_var): No longer use &push_phony_cleaners, nor depend
97 (&push_phony_cleaners): Kaboom too.
99 2001-02-06 Akim Demaille <akim@epita.fr>
101 * automake.in (do_one_clean_target): Don't hard code knowledge
102 about libtool, and maintainer-clean.
103 * clean.am, libtool.am: Handle these.
106 2001-02-05 Akim Demaille <akim@epita.fr>
108 * automake.in (handle_texinfo): No longer hard code the clean
110 (texinfos.am): Include them.
112 2001-02-05 Akim Demaille <akim@epita.fr>
114 * Makefile.am (perl4-check): Remove, we now require Perl 5.
115 (maintainer-check): Don't be silent when you find a problem, and
116 actually, even specify the locations.
117 Also check that @_ is assigned to arrays.
119 2001-02-05 Akim Demaille <akim@epita.fr>
121 * m4/regex.m4: Use AC_LIBSOURCES.
122 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
125 2001-02-04 Tom Tromey <tromey@redhat.com>
127 * m4/Makefile.am (m4data_DATA): Added make.m4.
128 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
130 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
131 Copy depcomp to subdir.
132 * m4/make.m4: New file.
134 2001-02-04 Pavel Roskin <proski@gnu.org>
136 * automake.in (handle_dist_worker): Remove a line that is now
139 2001-02-04 Kevin Ryde <user42@zip.com.au>
141 * automake.in (handle_configure): Call config.status with empty
142 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
144 2001-02-04 Tom Tromey <tromey@redhat.com>
146 * depcomp (ddashmd): Removed case.
147 (sgi): Handle failure exit correctly
148 (aix): Likewise. Also, add dummy `.h' targets.
150 2001-02-04 Akim Demaille <akim@epita.fr>
152 * distdir.am (distdir): New file, extracted from...
153 * automake.in (handle_dist_worker): here.
156 2001-02-04 Akim Demaille <akim@epita.fr>
158 * automake.in (@clean): Remove, replaced by...
159 ($dependencies{'clean'}): this.
160 Use `&depend' instead of push'ing into @clean.
161 (handle_factored_dependencies): For the time being, skip 'clean'.
162 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
163 always `clean', and `@clean'.
165 2001-02-04 Akim Demaille <akim@epita.fr>
167 * automake.in (%dependencies): Don't be initialize globally for
168 all the files, but in...
169 (&initialize_per_input): here.
171 (@phony): Replace all occurrences with the corresponding &depend
174 2001-02-03 Tom Tromey <tromey@redhat.com>
176 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
177 * header-vars.am (INSTALL_HEADER): New macro.
179 * automake.texi (Rebuilding): New node.
181 2000-12-29 Derek Price <derek.price@openavenue.com>
183 * automake.in (handle_dependencies): Switched the DEP_FILES
184 definition to be conditional on @AMDEP@.
186 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
188 * depcomp (aix): New side-effect dependency tracking mode, for
189 the C for AIX compiler.
190 * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
191 `conftest.h' for each test.
193 2001-02-03 Tom Tromey <tromey@redhat.com>
195 * automake.texi (Dist): Updated to mention caveat of putting
196 directory in EXTRA_DIST and also providing a nice example of
197 removing the CVS dir.
198 From Ganesan Rajagopal.
200 * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
203 * automake.in (scan_one_autoconf_file): Disable warning about
206 * automake.in (handle_configure): Don't modify variable which
207 aliases list element. Don't push @inputs onto the dist list.
209 (initialize_per_input) [dist_dirs]: New variable.
210 (handle_dist_worker): Use global dist_dirs.
211 (handle_configure): Set dist_dirs entries at toplevel.
213 2001-02-02 Gordon Sadler <gbsadler1@lcisp.com>
215 * automake.texi (Java Support): Added index, @section.
217 2001-02-02 Pavel Roskin <proski@gnu.org>
219 * automake.in (scan_autoconf_traces): Restore trace messages.
221 * automake.in (handle_aclocal_m4): Fix stripping of the initial
222 "./" from the dependencies of aclocal.m4.
223 Reported by Ralf Corsepius.
225 2001-02-01 Pavel Roskin <proski@gnu.org>
227 * aclocal.in: Rename "verbosity" to "verbose". Always prepend
228 "aclocal: " to the verbose output.
230 * automake.in: Remove all debugging messages.
232 2001-01-31 Akim Demaille <akim@epita.fr>
234 * automake.in (add_depend2): Quote properly $obj and $source.
236 2001-01-31 Akim Demaille <akim@epita.fr>
238 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
239 then replacing `$(@PFX@COMPILE)' for the files that need some
240 special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
241 Try to document this file.
242 * automake.in (add_depend2): Adjust to these changes.
244 2001-01-31 Akim Demaille <akim@epita.fr>
246 * automake.in (%factored_dependencies): New.
247 (file_contents): Use it.
248 (handle_phony): Rename as...
249 (handle_factored_dependencies): this.
250 * subdirs.am: No need for convolved syntax to declare .PHONY.
252 2001-01-31 Akim Demaille <akim@epita.fr>
254 * automake.in: maintainer-check fixes.
256 2001-01-31 Akim Demaille <akim@epita.fr>
258 * automake.in (file_contents): Rewrite: instead of trying to parse
259 it line by line, first swallow it completely into $CONTENTS,
260 *then*, parse it *paragraph* by paragraph.
262 2001-01-30 Akim Demaille <akim@epita.fr>
264 * automake.in (file_contents): Remove.
265 (file_contents_with_transform): Swap the order of the arguments,
267 (file_contents): this.
270 2001-01-30 Tom Tromey <tromey@redhat.com>
272 * automake.in (scan_one_autoconf_file): Don't mention
275 2001-01-29 Akim Demaille <akim@epita.fr>
277 * automake.in (&scan_autoconf_config_files): Extract from
278 &scan_one_autoconf_file.
279 (&scan_one_autoconf_file): Use it.
280 (&scan_autoconf_traces): New.
281 ($scan_autoconf_files): Use it.
283 2001-01-29 Akim Demaille <akim@epita.fr>
285 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
287 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
288 (handle_etags, handle_subdirs): Don't push into @phony.
290 2001-01-29 Akim Demaille <akim@epita.fr>
292 * automake.in (scan_one_autoconf_file): Correctly recognize
295 2001-01-29 Akim Demaille <akim@epita.fr>
297 * automake.in (handle_tests_dejagnu): New, extracted from...
298 (handle_tests): here. Use `.PHONY:'.
300 2001-01-29 Akim Demaille <akim@epita.fr>
302 * automake.in (handle_phony): Sort.
303 (file_contents_with_transform): Catch `.PHONY:'.
304 (handle_tests): Instead dumping the hard coded target check-TESTS
305 and registering its .PHONYsm, get them from...
306 * check.am: here, new file.
308 2001-01-29 Akim Demaille <akim@epita.fr>
310 * automake.in (add_depend2): Use &transform.
312 2001-01-29 Akim Demaille <akim@epita.fr>
314 * automake.in (handle_tags): Use &transform.
315 (am_error, am_line_error, am_conf_error, read_am_file): Use
316 directly arrays in strings, no need for &join.
318 * Makefile.am (maintainer-check): Use grep -w when looking for
321 2001-01-29 Akim Demaille <akim@epita.fr>
323 * automake.in (prog_error): New.
326 2001-01-29 Akim Demaille <akim@epita.fr>
328 * automake.in (handle_single_transform_list): if (@list) { foreach
329 (@list) ...} can be written as a simple `foreach' loop.
331 2001-01-29 Akim Demaille <akim@epita.fr>
333 * automake.in (define_standard_variables): Use &transform instead
336 2001-01-29 Akim Demaille <akim@epita.fr>
338 * automake.in (handle_texinfo): Use the new $texinfodir instead of
339 the removed $texinfo_tex.
341 2001-01-29 Akim Demaille <akim@epita.fr>
343 * automake.in (handle_libraries, handle_ltlibraries): Use
346 2001-01-29 Akim Demaille <akim@epita.fr>
348 * automake.in (handle_programs) <xexe>: Remove, replaced by
350 Use it, and &transform.
352 2001-01-29 Akim Demaille <akim@epita.fr>
354 * automake.in (get_object_extension) <$default_includes>: New.
355 Use it and &transform.
357 2001-01-28 Tom Tromey <tromey@redhat.com>
359 * automake.in (variable_value_as_list_worker): Handle entries in
360 %am_var_defs. Fixes listval.test.
362 2001-01-26 Akim Demaille <akim@epita.fr>
364 * automake.in (handle_texinfo): Don't use $conf_pat, just
365 $conf_dir to transform MDDIR since now &transform handles the
366 escaping of RE special characters by itself.
368 2001-01-24 Akim Demaille <akim@epita.fr>
370 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
372 * m4/init.m4: Likewise.
373 * m4/sanity.m4: s/conftestfile/conftest.file/.
375 2001-01-24 Tom Tromey <tromey@redhat.com>
377 * automake.in (handle_libraries): Use $configure_ac; typo fix.
379 * automake.in (transform): Quote substitution.
381 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
382 Tom Tromey <tromey@redhat.com>
384 * automake.in (obsolete_rx): Match whole macro names, not
386 * aclocal.in (obsolete_rx): Likewise.
388 2001-01-21 Tom Tromey <tromey@redhat.com>
390 * automake.texi: Changed dir category.
392 2001-01-18 Akim Demaille <akim@epita.fr>
394 * automake.in (handle_texinfo): Use &transform, and transform
396 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
398 2001-01-16 Akim Demaille <akim@epita.fr>
400 Let Automake support `configure.ac'.
402 * automake.in: In the comments, prefer `configure.ac' to
404 When using &am_conf_error, don't repeat `in configure.in', since
405 the function already reports it.
406 When referring to `configure.in' use `$configure_ac' instead.
407 (configure_ac): New global variable.
408 (scan_configure, scan_one_configure_file): Rename as...
409 (scan_autoconf_files, scan_one_autoconf_file): this.
410 (scan_autoconf_files): Compute $configure_ac.
411 (transform): New function.
412 (handle_configure): Use it to transform CONFIGURE_AC in
413 `remake.am' and in `remake-hdr.am'.
414 (common_files): Also consider `configure.ac'.
415 Use consistently single quotes.
416 * aclocal.in (configure_ac): New variable.
418 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
419 * remake.am: Likewise.
420 * remake-hdr.am: Likewise.
422 2001-01-16 Akim Demaille <akim@epita.fr>
424 * m4/multi.m4: Remove the hairy useless quotation of `$'.
425 Simplify `ifelse([$2],,,[$2])' into... `$2'!
426 * m4/minuso.m4: Don't use changequote!
427 * m4/cond.m4: Fix quotation.
428 * m4/sanity.m4: Follow the Autoconf coding style.
429 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
430 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
433 2001-01-15 Tom Tromey <tromey@redhat.com>
435 * automake.in (handle_single_transform_list): Don't print rule
436 here when source is in subdir and object is not. Fixes
439 * automake.in (handle_single_transform_list): Correctly compute
440 $nonansi_obj. Fixes cxxansi.test.
442 * automake.texi (Man pages): Updated to account for man1_MANS,
445 2001-01-13 Steve Robbins <smr@debian.org>
446 Tom Tromey <tromey@redhat.com>
448 * aclocal.in (scan_configure): Don't recognize macro assignments
450 (add_file): Likewise.
452 2001-01-13 Kevin Ryde <user42@zip.com.au>
454 * automake.in (handle_ltlibraries): Omit -rpath from
455 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
457 2001-01-11 Tom Tromey <tromey@redhat.com>
459 * depcomp (case gcc3): Use -MD, not -M.
461 2001-01-10 Tom Tromey <tromey@redhat.com>
463 * depcomp: Handle gcc 3.
465 2000-12-23 Tom Tromey <tromey@redhat.com>
467 * configure.in: Updated to 1.4c for cvs.
469 * configure.in: Updated to 1.4b and released.
471 * config.guess, config.sub, texinfo.tex: New versions.
473 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
476 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
477 distclean and maintainer-clean.
478 * automake.texi (Top level): Document use of DIST_SUBDIRS.
480 From Rusty Ballinger:
481 * automake.in (handle_java): Don't skip `noinst' prefix.
483 * automake.texi (Invoking aclocal): Mention ## comments.
485 2000-12-22 Tom Tromey <tromey@redhat.com>
487 From Raja R Harinath:
488 * automake.in (libtoolize_sometimes): New global.
489 (initialize_global_constants): Added libtoolize_sometimes to
492 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
494 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
496 2000-12-21 Tom Tromey <tromey@redhat.com>
498 * automake.texi (Tags): Document GTAGS target.
499 * tags.am (GTAGS): New target.
501 * automake.in (libtoolize_files): Removed ltconfig.
502 (initialize_global_constants): Added ltconfig to common_files.
504 2000-12-21 Kevin Ryde <user42@zip.com.au>
506 * automake.in (handle_footer): Generate .SUFFIXES target when user
507 defines suffixes but automake does not.
509 2000-12-20 Marc Espie <espie@openbsd.org>
511 * automake.in (handle_texinfo): Make path of $vtexi explicit in
513 * texi-vers.am: Likewise.
515 2000-12-20 Tom Tromey <tromey@redhat.com>
518 * automake.in (handle_footer): Always push user suffixes at the
520 * automake.texi (Suffixes): Updated to reflect new suffix
523 2000-12-18 Tom Tromey <tromey@redhat.com>
525 * automake.in (handle_built_sources): Removed.
526 (handle_merge_targets): Handle BUILT_SOURCES.
527 * automake.texi (Sources): Updated documentation of
530 2000-12-17 Tom Tromey <tromey@redhat.com>
532 * m4/protos.m4: Always do header checks.
534 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
537 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
538 conditionally defined. Fixes PR automake/77 and ldflags.test.
540 2000-11-25 Tom Tromey <tromey@cygnus.com>
542 * automake.in (file_contents_with_transform): Added file name and
543 line number to error report.
544 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
546 2000-11-23 Pavel Roskin <proski@gnu.org>
548 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
550 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
551 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
552 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
553 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
554 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
555 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
556 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
558 2000-11-23 Tom Tromey <tromey@cygnus.com>
560 * automake.in (require_file_internal): Pass $file as second
561 argument to maybe_push_required_file. Fixes PR automake/87.
563 2000-11-18 Tom Tromey <tromey@cygnus.com>
565 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
566 /dev/null. From Paul Martinolich.
568 2000-11-16 Morten Eriksen <mortene@sim.no>
570 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
571 opened, otherwise it has no effect.
573 2000-10-23 Morten Eriksen <mortene@sim.no>
575 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
576 CRLFs. This circumvents a bug in Cygwin bash.
578 * automake.in (generate_makefile): Don't write Makefile.in
579 files with CRLFs, as it causes problems for the dependency-file
580 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
582 2000-10-19 Alex Hornby <alex@anvil.co.uk>
584 * automake.in (handle_merge_targets): Allow parallel install
587 2000-10-19 Akim Demaille <akim@epita.fr>
589 * subdir4.test (depcomp): Don't create it, defs does.
591 2000-10-17 Pavel Roskin <proski@gnu.org>
593 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
594 acinclude.m4 from the dependencies of aclocal.m4 to avoid
595 circular and duplicated dependencies. Strip "./" from the
598 2000-10-17 Lars J. Aas <larsa@sim.no>
600 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
601 normal comments (#) instead of m4 dnl-type comments.
603 2000-10-17 Alex Hornby <alex@anvil.com>
605 * depcomp: Altered sed clause to strip of inclusion depth
606 numbers generated by cpp. Also output in gcc style.
608 2000-10-16 Morten Eriksen <mortene@sim.no>
610 * depcomp (msvisualcpp): New dependency tracking mode, for
611 Microsoft Visual C++.
613 2000-10-16 Morten Eriksen <mortene@sim.no>
615 * depcomp: Fix a bug in SGI dependency tracking mode with source
616 files which do not dependend on any other source files.
618 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
620 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
621 * automake.in, automake.texi: Likewise.
622 * clean-kr.am, clean.am: Likewise.
623 * comp-vars.am: Likewise.
624 * compile, compile.am: Likewise.
625 * data-clean.am: Likewise.
627 * dejagnu.am: Likewise.
629 * depend.am, depend2.am: Likewise.
630 * dist-vars.am, dist.am: Likewise.
631 * elisp-comp: Likewise.
632 * footer.am: Likewise.
633 * header-vars.am, header.am: Likewise.
634 * java-clean.am java.am: Likewise.
635 * kr-extra.am: Likewise.
636 * library.am: Likewise.
637 * libs-clean.am, libs.am: Likewise.
638 * libtool.am: Likewise.
639 * lisp-clean.am lisp.am: Likewise.
640 * ltlib-clean.am ltlib.am: Likewise.
641 * ltlibrary.am: Likewise.
642 * m4/Makefile.in: Likewise.
643 * m4/strtod.m4: Likewise.
644 * mans-vars.am, mans.am: Likewise.
645 * mdate-sh: Likewise.
647 * multilib.am: Likewise.
648 * program.am: Likewise.
649 * progs-clean.am, progs.am: Likewise.
650 * python-clean.am, python.am: Likewise.
651 * remake-hdr.am, remake.am: Likewise.
652 * scripts.am: Likewise.
653 * subdirs.am: Likewise.
654 * tags-clean.am, tags.am: Likewise.
655 * texi-vers.am: Likewise.
656 * texinfos.am: Likewise.
659 2000-10-09 Pavel Roskin <proski@gnu.org>
661 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
662 assignments changing $? - it's broken in ash-0.2.
663 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
665 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
666 defined use it as the list of M4 files aclocal.m4 depends on.
668 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
670 * aclocal.in (add_file): Strip comments while scanning for
673 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
675 * automake.in (initialize_global_constants): End the
676 result of dist-bzip2 with tar.bz2, not bz2.
678 2000-08-30 Tom Tromey <tromey@cygnus.com>
680 Fix for PR automake/72:
681 * automake.in (initialize_per_input): Define `need_link'.
682 (finish_languages): Use need_link.
683 (handle_source_transform): Set need_link if required.
685 2000-08-28 Tom Tromey <tromey@cygnus.com>
687 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
689 (register_language): Default the `derived-autodep' option.
690 (handle_single_transform_list): Add to %dep_files if language has
691 `derived-autodep' set. Re-fixes lex4.test.
693 2000-08-27 Tom Tromey <tromey@cygnus.com>
695 * automake.in (handle_single_transform_list): Only add to
696 %dep_files if language is found and supports automatic dependency
697 tracking. Fixes PR automake/75.
699 * automake.in (am_primary_prefixes): Don't set `valid' for
700 configure variables that don't satisfy the other constraints.
701 Fixes PR automake/68.
703 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
705 Fix for PR automake/67.
706 * automake.in (handle_multilib): remove .am suffix in fragment
707 name passed to file_contents.
708 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
709 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
710 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
712 2000-08-26 Tom Tromey <tromey@cygnus.com>
714 * subdirs.am (maintainer-clean-recursive): Always run clean rules
715 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
717 * automake.in (handle_man_pages): Generate install targets for man
718 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
720 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
721 Fix for PR automake/74. From js pendry.
723 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
725 * depcomp (gcc): Support DOS-style absolute file names with drive
728 2000-08-06 Jim Meyering <meyering@lucent.com>
730 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
731 if the depcomp file exists, before calling require_config_file on
732 `depcomp'. This makes require_file_internal skip its buggy existence
733 test that would make automake fail (with `required file `lib/depcomp'
734 not found') when AC_CONFIG_AUX_DIR is not set.
736 This change change does not fix the existing bug where, if `depcomp'
737 is not present in the build directory (at the top level), automake
738 still gives the inaccurate diagnostic about *lib*/depcomp rather
741 2000-08-05 Jim Meyering <meyering@lucent.com>
743 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
744 add missing closing bracket and closing parenthesis.
745 Don't quote the first argument to AC_OUTPUT_COMMANDS.
746 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
748 2000-08-04 Tom Tromey <tromey@cygnus.com>
750 Idea from Nicolas Thiery:
751 * automake.texi (Tests): Document DEJATOOL as a list.
752 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
753 (check-DEJAGNU): Run runtest in a loop.
755 2000-08-02 Akim Demaille <akim@epita.fr>
757 * m4: Quote properly the name of the macros being defined.
758 Use `#' instead of `dnl' where appropriate.
759 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
761 Don't quote passive characters.
762 Pull the AC_PREREQ outside the macro.
763 * m4/init.m4: Pull the AC_PREREQ outside the macro.
765 2000-07-28 Tom Tromey <tromey@cygnus.com>
767 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
770 2000-07-13 Kevin Ryde <user42@zip.com.au>
772 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
773 EXTRA_PROGRAMS as well as other _PROGRAMS.
775 2000-07-02 Jim Meyering <meyering@lucent.com>
777 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
779 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
781 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
784 2000-06-02 Morten Eriksen <mortene@sim.no>
786 * depcomp: workaround for problem with SGI IRIX sed (it can only
787 handle lines of up to 8192 characters, the rest of the line will
790 2000-05-31 Morten Eriksen <mortene@sim.no>
792 * depcomp: tell SGI MIPSpro compilers to generate dependencies
793 through the pre-processor (only CVS libtool has the -Wc option
796 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
798 * missing: Add support for `help2man'.
800 2000-05-11 Tom Tromey <tromey@cygnus.com>
802 * automake.in (handle_tests): Work correctly if TESTS is empty;
803 print nothing if it is. From Kevin Ryde.
805 2000-05-08 Tom Tromey <tromey@cygnus.com>
807 * automake.texi (Texinfo): Mention vers*.texi.
809 2000-05-04 Akim Demaille <akim@epita.fr>
811 AM_INIT_AUTOMAKE is no longer optional, so don't look for
812 `VERSION=' and `PACKAGE='.
813 * automake.in (seen_package, seen_version): Remove initializations of
814 unnecessary variables.
815 (scan_one_configure_file): Don't set them.
816 (scan_configure): Don't use them.
818 2000-05-01 Akim Demaille <akim@epita.fr>
820 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
821 (AM_INIT_AUTOMAKE): Update the writing conventions.
822 Quote the arguments properly.
823 Add a few missing `dnl'.
824 Use AC_PROVIDE_IFELSE.
826 2000-04-26 Jim Meyering <meyering@lucent.com>
828 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
829 macro. Based on a patch from Harlan Stenn.
831 2000-04-13 Akim Demaille <akim@epita.fr>
833 * compile: Remove unnecessary double quotes in assignments.
835 2000-04-13 Akim Demaille <demaille@epita.fr>
837 * automake.in (scan_one_configure_file): Also recognize
839 Remove trailing blanks.
841 2000-04-05 Tom Tromey <tromey@cygnus.com>
843 * header-vars.am (DESTDIR): Commented out definition.
845 * automake.in (require_file_internal): Pass --copy to libtoolize
846 if automake was run with `--copy'.
848 2000-03-22 Tom Tromey <tromey@cygnus.com>
850 * automake.texi (Uniform): Fix definition of pkglibdir.
851 From thi <ttn@revel.glug.org>.
853 2000-03-19 Tom Tromey <tromey@cygnus.com>
855 * aclocal.in (parse_arguments): Copyright 2000.
856 (write_aclocal): Likewise.
857 * automake.in (parse_arguments): Copyright 2000.
858 (initialize_global_constants): Likewise.
860 * automake.in (generate_makefile): Call handle_dist after
861 handle_dependencies and handle_tests. Fixes subobj3.test and
862 pr19.test regressions.
864 2000-03-19 Gordon Matzigkeit <gord@fig.org>
866 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
867 as the current directory.
868 (@EXT@.lo): Likewise.
870 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
872 * automake.in (handle_data): Pass -candist instead of
873 -defaultdist, for the compatibility.
875 2000-03-19 Tom Tromey <tromey@cygnus.com>
877 Fix for test nodepcomp.test:
878 * automake.in (require_file_internal): Use readlink on symlinks.
879 Only unlink file if we are going to try to add it again.
880 (handle_dependencies): Require `depcomp' here.
881 (scan_configure): Don't require `depcomp'.
883 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
885 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
886 the rule to remake Makefile, whether $use_dependencies is true
887 or not. This was a historical one and doesn't make sense any
890 2000-03-19 Tom Tromey <tromey@cygnus.com>
892 More for PR automake/38:
893 * automake.texi (Invoking Automake): Document --force-missing.
894 * automake.in (force_missing): New global.
895 (parse_arguments): Recognize --force-missing.
896 (initialize_global_constants): Document --force-missing.
897 (require_file_internal): Handle --force-missing.
899 Fix for PR automake/38:
900 * automake.in (require_file_internal): Check for and handle
901 dangling symlinks. Fixes symlink2.test.
903 Fix for PR automake/45:
904 * automake.texi (configure): Mention requirement to run
906 (Requirements): Removed most text.
907 * automake.in (seen_init_automake): New global.
908 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
909 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
910 Set seen_init_automake if needed.
912 Fix for PR automake/41:
913 * automake.in (require_file_found): New global.
914 (require_file_internal): Set require_file_found entry.
915 (handle_texinfo): Require file any number of times.
917 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
920 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
922 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
924 * m4/missing.m4: Print the backtick in a way that won't cause
925 autoconf CVS to emit any warnings.
927 2000-03-01 Jim Meyering <meyering@lucent.com>
929 * automake.in (handle_dist_worker) [generating rules for distdir]:
930 Don't use `ln' (which was just a space optimization anyway) to
931 populate $(distdir). Otherwise, the dist rules that change
932 permissions would end up affecting the master sources.
933 * texinfos.am (dist-info): Likewise.
935 2000-02-13 Jim Meyering <meyering@lucent.com>
937 * automake.in (generate_makefile): Detect write/close failure.
939 2000-02-02 Assar Westerlund <assar@sics.se>
941 * automake.in (handle_single_transform_list): do not use $< which
942 is not handled by all non-GNU makes. Instead do explicit sh code
943 testing for the file in this directory and srcdir. Based on a
944 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
946 2000-01-12 Tom Tromey <tromey@cygnus.com>
948 * m4/lispdir.m4: Added --with-lispdir argument processing.
951 2000-01-06 Tom Tromey <tromey@cygnus.com>
953 * automake.in (handle_configure): Don't check for
955 (scan_configure): Check for AC_PROG_MAKE_SET.
957 * header-vars.am (@SET_MAKE@): Added.
958 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
961 1999-12-19 Tom Tromey <tromey@cygnus.com>
963 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
965 (require_file_internal): Corrected arguments to second invocation
966 of maybe_push_required_file.
968 Fix for PR automake/9:
969 * automake.in (make_dirs, make_dirs_set): New globals.
970 (is_make_dir): New function.
971 (handle_configure): Use it.
972 (require_file_internal): Push file if there is no Makefile in its
974 (initialize_per_input): Initialize handle_dist_run.
975 (push_dist_common): Inspect handle_dist_run.
976 (handle_dist): Set handle_dist_run. Push items from
977 configure_dist_common onto dist_common if appropriate.
978 (configure_dist_common): New global.
979 (scan_configure): Set it.
980 (maybe_push_required_file): New function.
981 (require_file_internal): Use it.
983 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
984 more subdirs are defined. From Axel Belinfante. Fixes
987 1999-12-18 Tom Tromey <tromey@cygnus.com>
989 Partial fix for PR automake/40:
990 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
991 (uninstall-@DIR@LISP): Likewise.
992 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
993 (uninstall-@DIR@HEADERS): Likewise.
994 * data.am (install-@DIR@DATA): Handle nobase_ case.
995 (uninstall-@DIR@DATA): Likewise.
996 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
997 (am_install_var): Recognize and handle `nobase_' prefix.
999 1999-12-17 Tom Tromey <tromey@cygnus.com>
1001 * automake.in (get_object_extension): Added space before `-I.'.
1002 Report from Ralf Corsepius.
1004 1999-12-15 Tom Tromey <tromey@cygnus.com>
1006 * aclocal.in: Don't pass $acdir to scan_m4_files.
1007 (parse_arguments): Push $acdir on end of dirlist.
1008 (scan_file): Don't warn if duplicate macro seen.
1010 1999-12-13 Tom Tromey <tromey@cygnus.com>
1012 Fix for PR automake/30 and PR automake/23. Fixes test
1014 * automake.in (initialize_per_input): Initialize
1015 source_suffix_pattern.
1016 (derive_suffix): New function.
1017 (handle_single_transform_list): Call it.
1019 * automake.in (add_depend2): Handle the no-dependency-tracking
1020 case. Fixes test suffix2.test.
1022 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
1024 * automake.in (get_object_extension): Fixed quoting on
1027 * depend2.am: Removed erroneous comment.
1029 * automake.texi (Program variables): Document nostdinc.
1030 (Options): Likewise.
1031 * automake.in (get_object_extension): Respect nostdinc option.
1032 (handle_options): Recognize nostdinc.
1033 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
1036 * automake.in (read_am_file): Allow conditional includes. Fixes
1039 * depcomp: Handle case on SGI when libtool is `yes'.
1040 * depend2.am (@EXT@.o): Set libtool.
1041 (@EXT@.lo): Likewise.
1042 (@EXT@.obj): Likewise.
1044 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
1047 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
1049 * automake.in (add_depend2): substitute $rule in the rules
1050 for individual files. Fixes test specflags5.test.
1052 1999-12-12 Tom Tromey <tromey@cygnus.com>
1054 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
1055 to create directories. Fixes test subobj3.test.
1057 1999-12-10 Tom Tromey <tromey@cygnus.com>
1059 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
1060 message when creating .deps files.
1062 * automake.in (initialize_global_constants): If unreadable by
1063 owner, make it readable by owner regardless of number of links.
1064 Fixes more of install2.test.
1066 * missing: Try to see if gnutar or gtar exist before invoking
1069 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
1070 install_sh value. Look for install-sh and install.sh in a
1071 somewhat more sensible way. Fixes test install2.test. Partially
1074 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
1076 * m4/missing.m4: remove redundant backquote
1078 1999-11-23 Tom Tromey <tromey@cygnus.com>
1080 * automake.in (initialize_global_constants): Use `bzip2 -9', not
1081 `bzip --best' Report from Jim Meyering.
1083 1999-11-22 Tom Tromey <tromey@cygnus.com>
1085 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
1086 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
1087 AM_MISSING_INSTALL_SH.
1088 * automake.in (scan_one_configure_file): Reverted previous
1091 * automake.in (scan_one_configure_file): Define `install_sh'
1092 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
1095 * automake.in (handle_single_transform_list): Generate explicit
1096 rule for subdir objects. Fixes new addition to subobj.test.
1098 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
1099 defined by AC_SUBST. Fixes ltlibobjs.test.
1101 Fix for sourcesub.test:
1102 * automake.in (handle_single_transform_list): Added `var'
1103 argument. If config sub found, give error.
1104 (handle_source_transform): Updated for new
1105 handle_source_transform.
1107 * py-compile: New file.
1108 * m4/Makefile.am (m4data_DATA): Added python.m4.
1109 * m4/python.m4: New file.
1110 * automake.texi (Uniform): Mention PYTHON.
1112 * Makefile.am (amfiles): Added python.am, python-clean.am.
1113 (dist_script_DATA): Added py-compile.
1114 * python.am: New file.
1115 * python-clean.am: New file.
1116 * automake.in (seen_pythondir): New global.
1117 (generate_makefile): Call handle_python.
1118 (handle_python): New function.
1119 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
1121 (am_install_var): Special-case PYTHON like JAVA.
1122 (scan_configure): Check for py-compile.
1123 (initialize_global_constants): Added py-compile to @common_files.
1125 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
1127 1999-11-21 Tom Tromey <tromey@cygnus.com>
1129 * automake.in (finish_languages): Only generate suffix rule when
1130 not doing dependency tracking.
1132 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
1133 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
1135 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
1138 1999-11-19 Tom Tromey <tromey@cygnus.com>
1140 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
1141 Alexandre's change on branch.
1143 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1145 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
1147 * dejagnu.am: Set CDPATH before cd.
1148 * Makefile.in: Rebuilt.
1150 * automake.in (handle_single_transform_list): Change `\1' for `$1'
1151 in `s///' replacement.
1153 * automake.in (handle_dist): Set CDPATH before cd.
1154 * dejagnu.am (check-DEJAGNU): Likewise.
1155 * texinfos.am (install-info-am, dist-info): Likewise.
1156 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1157 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
1158 * aclocal.m4, configure, Makefile.in: Rebuilt.
1160 * AUTHORS: Added myself.
1162 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1164 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
1165 Reported by Tim Wilkinson <tim@transvirtual.com>
1166 * aclocal.m4, configure: Rebuilt.
1168 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
1170 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
1171 LEX program is found, use `${am_missing_run}flex'.
1173 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
1175 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
1176 with `o' in depfile.
1178 * automake.in (handle_lib_objects_cond): Remove second dot from
1179 dependency file names.
1181 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
1182 regardless of OBJEXT.
1184 * automake.in (handle_dependencies): Add blank line after depend2.
1185 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
1186 blank line before `include's, not after them.
1187 (scan_one_configure_file): Do not special-case `DEP_' any more.
1189 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
1191 * aclocal.m4, configure: Rebuilt.
1193 * m4/depend.m4 (AMDEPBACKSLASH): Define.
1194 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
1196 * automake.in (handle_dependencies): Generate `include's for
1197 dependency files after `@AMDEP@'.
1199 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
1200 --run support in the missing script, since SHELL is not exported.
1201 Reported by job bogan <job@piquin.uchicago.edu>
1202 * aclocal.m4, configure: Rebuilt.
1204 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
1206 * aclocal.m4, configure: Rebuilt with itself.
1207 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
1209 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
1210 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
1211 (AM_MISSING_HAS_RUN): New macro.
1212 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
1213 * automake.texi (Requirements): Likewise.
1214 * version.texi, stamp-vti: Rebuilt.
1216 1999-07-28 Tom Tromey <tromey@cygnus.com>
1218 * depcomp: Handle the `hp' mode.
1220 1999-07-06 Tom Tromey <tromey@cygnus.com>
1222 * depcomp: Work around HP-UX 10.20 sed bug.
1224 1999-07-05 Tom Tromey <tromey@cygnus.com>
1226 * automake.in (handle_dependencies): Generate a separate include
1227 for each dep file. Report from Alexandre Oliva.
1228 * depend.am: Don't include DEP_FILES.
1230 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1232 * depend.am: Add @AMDEP@ before `include', so that dependency
1233 tracking can be disabled.
1234 * depend2.am: Ditto, before all lines related with dependency
1236 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
1237 --enable/disable-dependency-tracking and sets AMDEP accordingly.
1238 It is implicitly disabled if depcomp is missing.
1239 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
1240 generated by side-effect.
1241 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
1242 * automake.in (handle_dependencies): Add @AMDEP@ before the value
1244 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
1247 * depcomp: Support -xM for dependency generation, for Sun CC.
1248 Reported by Alex Hornby <alex@anvil.co.uk>
1249 * m4/depend.m4: Extract the list of supported dependency-tracking
1250 mechanisms from the depcomp script and use it to test each one.
1251 * THANKS: Added Alex Hornby.
1253 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
1254 to leave $(...COMPILE) in a line by itself.
1256 * THANKS: Added Miles Bader.
1258 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
1260 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
1261 Fix `dashmstdout' to ignore non-dependency-generating uses of the
1263 * depcomp (makedepend): New dependency-generating method.
1265 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1267 * missing: If given `--run' as first argument, try to run the
1268 given program before falling back to the ``emulated'' behavior.
1269 Add support for `tar'.
1270 * automake.in: Use new `tar' support for `dist'.
1271 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
1272 program, prepend `missing --run' to the given program name.
1273 * m4/init.m4: Remove AMTAR-related stuff.
1276 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
1277 CONFIG_FILES. Do not use temporary variable for list of
1278 dependency files, it breaks Cygwin.
1280 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1282 * depcomp (gcc): Imported comments removed from depend2.am, so
1283 that we don't lose them.
1285 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1286 when not using ansi2knr.
1288 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1290 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1291 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1293 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1295 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1296 so as not to compile an empty source; some compilers fail on this.
1297 Redirect stderr of depcc to /dev/null. Test for -M with -o,
1298 because some compilers will output the rules to the output file.
1299 * depcomp (dashmstdout): Add --silent before --mode=compile, so
1300 that we don't get libtool output mixed up with make rules.
1302 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1303 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
1304 -o for libtool, otherwise it may try to deduce the object name
1305 from the dependency-generation flag.
1306 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
1309 * libtool.am: Do not emit .c.lo here...
1310 * depend2.am: ... emit .*.lo here, only when using libtool.
1311 * automake.in (get_object_extension): No more @MINUSO@ here.
1312 (handle_single_transform_list): Set $depfile from $object.
1313 (handle_dependencies): Emit depend2.am for all used languages,
1314 regardless of $use_dependencies; the setting of depcomp makes the
1316 (lang_cxx_finish): Do not emit compilation rules.
1317 (lang_objc_finish): Likewise.
1318 (lang_java_finish): Likewise.
1320 1999-04-21 Tom Tromey <tromey@cygnus.com>
1322 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1323 interpolate DEPDIR in DEP_FILES expansion.
1325 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
1327 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1328 dependency updating.
1329 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1330 handle multi-line dependency lists.
1332 1999-11-12 Tom Tromey <tromey@cygnus.com>
1334 Fix for PR automake/14:
1335 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
1337 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1339 * m4/multi.m4: Added missing `]'. From Akim Demaille.
1341 * Makefile.am (path-check): Make sure distdir is writeable before
1343 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1344 (handle_dist_worker): Make sure distdir is writeable before
1346 (initialize_global_constants [$dist_trailer]): Make sure distdir
1347 is writeable before removing it.
1348 * dist.am (distcheck): Make the new source tree read-only before
1349 compiling. Idea from Karl Berry.
1351 * automake.texi (Gnits): Allow COPYING.LIB again.
1352 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1354 1999-11-11 Jim Meyering <meyering@ascend.com>
1356 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1359 1999-11-09 Tom Tromey <tromey@cygnus.com>
1361 * automake.in (handle_dist): Typo fix. From Jim Meyering.
1363 1999-11-09 Jim Meyering <meyering@ascend.com>
1365 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1366 markers, no matter what.
1368 1999-11-08 Tom Tromey <tromey@cygnus.com>
1370 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1373 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1374 From Jim Meyering. Also, don't mention file name in `cp'
1375 destination. From Olly Betts.
1377 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1379 * texinfos.am (uninstall-info): Use installed info file, not one
1380 from srcdir or builddir.
1382 1999-11-07 Tom Tromey <tromey@cygnus.com>
1384 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1387 Fix for PR automake/18:
1388 * automake.in (handle_dist): Add contents of dist.am to the output
1390 * Makefile.am (amfiles): Added dist.am.
1391 * dist.am: New file.
1392 (distcheck): Added uninstall and distclean checks.
1394 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1395 Fixes PR automake/20. From Matthew D. Langston.
1397 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1398 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1400 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1402 * m4/lispdir.m4: -batch must come before -q.
1403 * elisp-comp: Likewise.
1404 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1405 * THANKS: Added Lars.
1407 1999-08-15 Tom Tromey <tromey@cygnus.com>
1409 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1412 1999-07-27 Tom Tromey <tromey@cygnus.com>
1414 * config.guess, config.sub: New versions from autoconf.
1416 1999-07-13 Tom Tromey <tromey@cygnus.com>
1418 Work around losing `awk'. Report from Harlan Stenn.
1419 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1420 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1422 * automake.in (handle_source_transform): Mark prefix as seen if
1423 corresponding _SOURCES variable exists. Fixes empty2.test.
1425 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1427 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1429 (AUTOMAKE): Set --amdir to current directory.
1431 1999-06-20 Tom Tromey <tromey@cygnus.com>
1433 * Makefile.am (TAGS_FILES): New macro.
1434 (ETAGS_ARGS): Moved files into TAGS_FILES.
1435 (TAGS_DEPENDENCIES): Likewise.
1436 (ETAGS_ARGS): Removed.
1437 (TAGS_DEPENDENCIES): Removed duplicate definition.
1439 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1440 from Ganesan Rajagopal.
1443 1999-06-18 Thomas Tanner <tanner@ffii.org>
1445 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1448 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1450 * ylwrap: Handle filenames output by the DOS version of Bison.
1452 1999-06-20 Tom Tromey <tromey@cygnus.com>
1454 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1457 1999-06-19 Tom Tromey <tromey@cygnus.com>
1459 * automake.in (handle_dist_worker): Remove redundant entries from
1462 * automake.in (handle_lib_objects_cond): Better error message when
1463 unrecognized option passed in LDADD.
1465 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1467 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1468 appropriate --acdir and --amdir arguments.
1470 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1472 * automake.in (dist_header): Avoid changing permissions of files
1473 in the source tree, trying a complex `find/chmod' command before
1474 falling back to plain chmod.
1475 (handle_dist_worker): Do not create directories with mode 777, the
1476 find above will take care of that.
1477 * m4/init.m4: Set install_sh for find/chmod above.
1479 * THANKS: Added Shuhei Amakawa.
1481 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1483 * mans.am: Strip dirname from given filename.
1485 1999-06-07 Jim Meyering <meyering@ascend.com>
1487 * automake.in (handle_dist): Change emitted rules so that a failure
1488 in `$(MAKE) distcheck-hook' propagates to the outer make.
1490 1999-05-27 Tom Tromey <tromey@cygnus.com>
1492 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1493 not FLAG in compilation rule.
1494 (add_depend2): Likewise.
1496 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1499 * m4/dmalloc.m4: Updated dmalloc site information.
1501 1999-05-19 Tom Tromey <tromey@cygnus.com>
1503 * automake.in (handle_single_transform_list): Push object name
1504 without extension onto lang_specific_files. Fixes
1507 * automake.in (handle_single_transform_list): Added missing
1508 space. Fixes specflags.test.
1510 1999-05-05 Tom Tromey <tromey@cygnus.com>
1512 * automake.in: Disabled dependency tracking for Java.
1514 1999-05-04 Tom Tromey <tromey@cygnus.com>
1516 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1517 * automake.in (handle_libraries): Recognize _AR variable.
1519 1999-04-30 Tom Tromey <tromey@cygnus.com>
1521 * automake.in (finish_languages): Always use `-o $@' with
1522 libtool. Define ltcompile and ltlink at outermost scope in
1524 * libtool.am (.c.lo): Removed.
1526 * automake.in (finish_languages): Put `.' before extension in
1527 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1528 `-flag'. From Pavel Roskin.
1530 1999-04-28 Tom Tromey <tromey@cygnus.com>
1532 * automake.in (finish_languages): Fixed scoping of ltcompile and
1533 ltlink. From Pavel Roskin.
1535 1999-04-27 Tom Tromey <tromey@cygnus.com>
1537 * automake.in (read_main_am_file): Don't start macro definition
1538 with backslash-newline. Instead, append newline at the end if
1541 * automake.in (read_am_file): Insert a backslash before a trailing
1542 newline. Fixes pluseq8.test.
1544 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1546 (check_canonical_spelling): Don't insert `AM' before macro name
1547 (reverts Alexandre's 1999-04-27 patch).
1548 * automake.texi: Reverted documentation change for `AM' patch.
1550 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1551 Minor rewrite for clarity.
1552 (check_canonical_spelling): Prefer `$1' over `\1'.
1554 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1556 (@LTOBJ@): Likewise.
1557 * automake.in (handle_single_transform_list): Don't print rule if
1558 doing dependency tracking and the file's language supports it.
1559 (initialize_per_input): Initialize lang_specific_files.
1560 (add_depend2): New function.
1561 (handle_dependencies): Use it.
1563 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1564 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1565 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1567 (lang_ratfor_finish): Use lang_f77_finish.
1569 * compile.am (NOTDEPEND.c.o): Removed.
1570 (OBJEXT.c.obj): Likewise.
1571 * automake.in: Added `flags' attribute to all relevant languages.
1572 (handle_single_transform_list): Handle per-derived-object flags.
1573 Changed interface and all callers.
1574 (handle_built_sources): Don't call handle_single_transform_list.
1575 Added `compile' and `compiler-name' attribute to all relevant
1577 (finish_languages): Define compiler variables here.
1578 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1579 define flag variable or .o rules. Don't add to @suffixes.
1580 (lang_f77_finish): Likewise.
1581 (lang_ppf77_finish): Likewise.
1582 (lang_objc_finish): Likewise.
1583 (lang_java_finish): Likewise.
1584 (finish_languages): Define flag variable here.
1585 Added `output-arg' attribute to all relevant languages.
1586 (finish_languages): Define `.o' rules here.
1587 (finish_languages): Put extension on @suffixes.
1588 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1590 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1592 * automake.in (initialize_global_constants): Invoke gzip for
1593 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1595 * automake.in (initialize_global_constants): Remove zip file
1596 before re-creating it.
1597 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1599 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1600 like in install-info-am.
1601 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1603 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1604 Let's use the good ol' substitution, then.
1605 Reported by Russ Allbery <rra@stanford.edu>
1607 * automake.in (check_canonical_spelling): Insert AM before names
1608 starting with non-letters.
1610 * automake.texi: Document it.
1612 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1614 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1615 doesn't work on perl4. Maybe \Q and \E do.
1617 1999-04-24 Tom Tromey <tromey@cygnus.com>
1619 * automake.in: Treat `.zip' and `.jar' files as Java.
1621 * automake.in (generate_makefile): Define `subdir' after reading
1623 (read_main_am_file): Give programming error if variable defined
1626 1999-04-22 Tom Tromey <tromey@cygnus.com>
1628 * automake.in (generate_makefile): Define `subdir' variable.
1629 (handle_dist): Don't define `subdir'.
1631 * automake.in (handle_texinfo): Change numbering scheme for
1632 stamp-vti files, to avoid problems with DOS.
1633 From Michel de Ruiter.
1635 * automake.texi: Don't mention AM_FUNC_MKTIME.
1636 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1637 * automake.in (scan_one_configure_file): Recognize
1638 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1639 (obsolete_macros): Mention AM_FUNC_MKTIME.
1640 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1641 * m4/mktime.m4: Removed.
1643 1999-04-20 Tom Tromey <tromey@cygnus.com>
1645 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1647 1999-04-20 Brian Ford <ford@vss.fsi.com>
1649 * scripts.am: Change else if's to elif.
1651 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1653 * automake.in (handle_lib_objects_cond): Only require the source
1654 of a LIBOBJ if it's not in BUILT_SOURCES.
1655 Reported by Erez Zadok.
1657 1999-04-19 Tom Tromey <tromey@cygnus.com>
1659 * automake.in: Treat `.class' files as Java source.
1660 (lang_java_finish): Handle `.class' files.
1662 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1664 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1666 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1667 Run some emacs-lisp to find out the site-lisp directory, but
1668 relocate it into prefix.
1670 1999-04-17 Paul Eggert <eggert@twinsun.com>
1672 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1673 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1674 even outside of bigtime_test. Use a time limit of 60 seconds
1675 for the whole test, not 10 seconds per iteration.
1677 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1679 * automake.in: Create stamps for headers in appropriate
1680 directories, even if the input file lives in a different place.
1681 * remake-hdr.am: Likewise.
1683 1999-04-16 Tom Tromey <tromey@cygnus.com>
1686 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1687 Invoke `sed' only once per program.
1688 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1689 Invoke `sed' only once per program.
1691 1999-04-13 Tom Tromey <tromey@cygnus.com>
1693 * automake.in (handle_subdirs): Make `install-recursive' phony.
1694 From Michel de Ruiter.
1696 * automake.in (handle_ltlibraries): Added missing `check'.
1698 1999-04-12 Tom Tromey <tromey@cygnus.com>
1700 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1703 1999-04-11 Tom Tromey <tromey@cygnus.com>
1705 * automake.in (handle_dist): Use AMTAR.
1706 (initialize_global_constants): Likewise.
1707 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1709 * automake.in (lang_sub_obj): New function.
1710 (lang_cxx_rewrite): Use it.
1711 (lang_asm_rewrite): Likewise.
1712 (lang_objc_rewrite): Likewise.
1713 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1714 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1715 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1716 (lang_java_finish): Likewise.
1718 * automake.in: Only register `asm' once.
1719 (lang_asm_finish): Put assembly suffixes on @suffixes.
1721 * libtool.am (.s.lo): Removed.
1723 * automake.in (lang_asm_finish): Handle libtool.
1725 * libtool.am (.c.o): Always pass -c to libtool.
1727 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1728 (lang_yaccxx_rewrite): Likewise.
1729 (lang_lex_rewrite): Likewise.
1730 (lang_lexxx_rewrite): Likewise.
1732 Assembly code no longer included by default:
1733 * compile.am (.s.o): Removed.
1735 * automake.in: Register `asm' language.
1736 (lang_asm_finish): Generate suffix rules for assembly.
1737 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1739 * automake.in (get_object_extension): Substitute @MINUSO@ when
1740 including compile.am.
1741 * compile.am (.c.o): Added @MINUSO@.
1744 First cut at allowing objects in subdirectories:
1745 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1746 * Makefile.am (dist_script_DATA): Added compile.
1747 * m4/minuso.m4: New file.
1748 * automake.in (initialize_global_constants): Added compile to
1750 (seen_cc_c_o): New global.
1751 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1752 (handle_options): Recognize `subdir-objects' option.
1753 (lang_c_rewrite): Added directory argument.
1754 (lang_yacc_rewrite): Likewise.
1755 (lang_yaccxx_rewrite): Likewise.
1756 (lang_lex_rewrite): Likewise.
1757 (lang_lexxx_rewrite): Likewise.
1758 (handle_single_transform_list): Pass directory to _rewrite
1759 function. Generate dependencies for dirstamp files for each .o;
1760 it is just the rules we want to create once.
1761 (lang_c_rewrite): Handle `subdir-objects' option.
1762 (lang_c_rewrite): Require `compile' program.
1763 * compile: New file.
1765 * automake.in (initialize_per_input): Initialize %directory_map.
1766 (handle_single_transform_list): Only create .dirstamp rules once
1769 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1772 * automake.in (configure_input_files): New global.
1773 (scan_configure): Set it.
1774 (handle_configure): Use configure_input_files when determining
1775 which subdirs have a Makefile.am. Fixes confh.test.
1776 (handle_configure): Only recognize acconfig.h in top srcdir.
1778 1999-04-10 Tom Tromey <tromey@cygnus.com>
1780 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1783 * automake.in (am_install_var): Remove redundancies from the
1784 result. Fixes test cond8.test.
1786 * automake.in (handle_single_transform_list): Handle dependency
1787 tracking when files are created in subdirs. Error if object in
1788 subdir has `..' component.
1790 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1792 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1794 * automake.in (lang_yacc_finish): Added missing `&'.
1796 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1798 * automake.in (handle_configure): Replace multiple occurrences of
1799 @STAMP@ in the same line; completes the patch for remake-hdr.am
1802 * automake.in (handle_dependencies): Fix test for `autodep'
1805 * automake.in (handle_source_transform): Add a pfx to used_pfx
1806 only if it's conditional or non-empty, to reduce the number of
1807 empty variables. Emit _OBJECS variable based on program name if
1808 no SOURCES were explicitly specified.
1810 * remake-hdr.am: Create the stamp file before the header file,
1811 and just rename it after, so that the timestamps will be correct.
1812 Reported by Marc Horowitz <marc@mit.edu>
1814 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1815 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1816 Reported by Jim Meyering <meyering@ascend.com>
1818 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1820 1999-04-10 Tom Tromey <tromey@cygnus.com>
1822 * Makefile.am (EXTRA_DIST): New macro.
1823 * ChangeLog.1996, ChangeLog.1998: New files.
1825 1999-04-09 Tom Tromey <tromey@cygnus.com>
1827 * automake.in (handle_source_transform): Handle dist and nodist
1829 (initialize_per_input): Initialize dist_sources.
1830 (check_libobjs_sources): Handle dist and nodist prefixes.
1831 (generate_makefile): Define DIST_SOURCES.
1832 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1834 * automake.texi (Macros): Mention AM_PROG_GCJ.
1835 (Java Support): New node.
1836 (Dist): Documented dist_ and nodist_ prefixes.
1838 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1840 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1841 files, not `.gcj' files.
1843 * m4/gcj.m4: New file.
1844 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1846 * automake.in: Register the `java' language.
1847 (resolve_linker): Handle GCJLINK.
1848 (lang_java_rewrite): New function.
1849 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1850 (lang_c_rewrite): Use new constants.
1851 (lang_cxx_rewrite): Likewise.
1852 (lang_header_rewrite): Likewise.
1853 (lang_yacc_rewrite): Likewise.
1854 (lang_yaccxx_rewrite): Likewise.
1855 (lang_lex_rewrite): Likewise.
1856 (lang_lexxx_rewrite): Likewise.
1857 (lang_asm_rewrite): Likewise.
1858 (lang_f77_rewrite): Likewise.
1859 (lang_ppf77_rewrite): Likewise.
1860 (lang_ratfor_rewrite): Likewise.
1861 (lang_objc_rewrite): Likewise.
1862 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1863 return from rewrite function.
1864 (lang_java_finish): New function.
1865 (register_language): Changed interface and all calls. Added
1866 `autodep' settings to various languages.
1867 (handle_dependencies): Use `autodep' property of language when
1868 including dependency-tracking code.
1870 1999-04-07 Tom Tromey <tromey@cygnus.com>
1872 * automake.in (handle_texinfo): Indentation fixes.
1874 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1876 * automake.in (value_to_list): Skip *only* trailing backslashes.
1878 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1880 * automake.in (value_to_list): Skip trailing backslashes.
1882 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1884 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1886 Reported by Per Cederqvist <ceder@lysator.liu.se>
1887 (handle_texinfo): Do not define texinfo_tex='.', use
1888 '$(srcdir)/texinfo.tex' instead; the directory name will be
1890 (require_conf_file_with_line): Fixed typo.
1892 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1894 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1895 we do not depend on PATH starting with `.'.
1897 1999-03-31 Tom Tromey <tromey@cygnus.com>
1899 * automake.in (quote_cond_val): Quote \n.
1900 (unquote_cond_val): Unquote \n.
1901 (read_am_file): If line ends with `\', preserve it and add a
1903 (read_main_am_file): In conditional case, put conditional text at
1904 beginning of each generated line.
1906 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1908 * automake.in (handle_tests): support XFAIL_TEST
1909 * automake.texi: document it
1911 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1913 * End of merge from trunk.
1915 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1917 * automake.in (cmdline_use_dependencies): Reintroduce it.
1918 (--ignore-deps): Set cmdline_use_dependencies again.
1919 (handle_dependencies): If use_dependencies is not set, define
1921 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1922 (scan_configure): Do not require depcomp when ignoring
1924 (initialize_global_constants): Reintroduce --ignore-deps.
1926 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1928 * depcomp: New file.
1929 * Makefile.am (dist_script_DATA): Added depcomp.
1930 * automake.in (cmdline_use_dependencies, omit_dependencies,
1931 dependency_macros): Removed.
1932 (--ignore-deps): Just ignore.
1933 (handle_single_transform_list, dep_files): Named dependency files
1934 as \$(DEPDIR)/$base.P$obj
1935 (handle_lib_objects_cond): Likewise.
1936 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1937 (scan_one_configure_file): Likewise.
1938 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1939 Ignore OMIT_DEPENDENCIES.
1940 (handle_configure): Do not pass --ignore-deps.
1941 (scan_configure): Require `depcomp'.
1942 (initialize_global_constants): Make `depcomp' common. Remove
1943 `--ignore-deps' from usage.
1944 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1945 * compile.am: Remove rules for .c.o and .c.obj
1946 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1947 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1948 Use it and depcomp in suffix rules.
1949 * libtool.m4: Likewise.
1950 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1951 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1952 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1953 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1954 from the Makefile and subst it in deps. Report creation of deps
1955 files (for now). Replace $U with `_' and the empty string. Write
1956 a comment to each created file.
1957 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1958 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1959 dependency mode and AC_SUBST [$1]DEPMODE.
1960 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1961 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1962 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1964 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1966 * depout.m4: Fix sed expression for extracting `dirpart'.
1968 1999-03-29 Tom Tromey <tromey@cygnus.com>
1970 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1972 * compile.am (.c.obj): Also disabled when dependency tracking
1974 * depend2.am (@EXT@.obj): New target.
1975 * automake.in (get_object_extension): Added explanatory comment.
1976 (generate_dependency_code): Handle $seen_objext.
1978 * depend.am: Removed obsolete comment.
1979 * depend2.am: Minor formatting fix.
1981 1999-03-28 Tom Tromey <tromey@cygnus.com>
1983 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1985 (EXTRA_DIST): Removed.
1986 * automake.in (dependency_macros): New global.
1987 (scan_one_configure_file): Recognize new dependency tracking
1988 macros, and define new resulting configure variables.
1989 (generate_dependency_code): New sub.
1990 (handle_dependencies): Use it.
1991 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1993 (@EXT@.lo): Likewise.
1994 * m4/depvars.m4: New file.
1995 * m4/objcdepend.m4: New file.
1996 * m4/cxxdepend.m4: New file.
1997 * m4/init.m4: Moved dependency handling code into depout.m4.
1998 * m4/depout.m4: New file.
1999 * m4/ccdepend.m4: New file.
2000 * m4/depend.m4: New file.
2002 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
2003 (@EXT@.lo): Likewise.
2004 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
2007 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
2008 will create the required .P files for dependency tracking.
2009 * automake.in (scan_dependency_file): Removed.
2010 (handle_dependencies): Never call scan_dependency_file.
2011 (generate_deps): Removed.
2012 (parse_arguments): Don't recognize --generate-deps, --build-dir,
2013 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
2014 (srcdir_name): Removed.
2015 (build_directory): Removed.
2016 (initialize_global_constants): Changed $USAGE to reflect argument
2018 (handle_dist_worker): Never run automake in `dist' rule.
2019 (handle_configure): Use --ignore-deps, not --include-deps.
2020 * depend.am (DEPS_MAGIC): Removed.
2021 (DEP_FILES): Unconditionally include.
2023 1999-03-27 Tom Tromey <tromey@cygnus.com>
2025 * automake.in (saw_sources_p): Correctly count header extensions
2027 (handle_headers): Fixed order of arguments to am_install_var.
2029 * automake.in (am_install_var): Don't error if EXTRA_foo is
2032 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
2033 (uninstall-@DIR@SCRIPTS): Likewise.
2034 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
2035 (uninstall-@DIR@PROGRAMS): Likewise.
2036 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
2037 (uninstall-@DIR@LTLIBRARIES): Likewise.
2038 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
2039 (uninstall-@DIR@LISP): Likewise.
2040 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
2041 (uninstall-@DIR@LIBRARIES): Likewise.
2042 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
2043 (uninstall-@DIR@JAVA): Likewise.
2044 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
2045 (uninstall-@DIR@HEADERS): Likewise.
2046 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
2047 (uninstall-@DIR@DATA): Likewise.
2048 * Makefile.in: Rebuilt.
2049 * Makefile.am (dist_pkgdata_DATA): Renamed.
2050 (EXTRA_DIST): Removed.
2051 (install-data-hook): Added POST_INSTALL; print commands as they
2052 are run; respect DESTDIR.
2053 * dist-vars.am (DISTFILES): Removed $(HEADERS).
2054 * automake.in (am_install_var): Accept `-candist' and
2055 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
2056 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
2057 and `nodist_' prefixes.
2058 (handle_scripts): Pass -candist to am_install_var.
2059 (handle_data): Pass -defaultdist to am_install_var.
2060 (handle_headers): Likewise.
2061 (handle_emacs_lisp): Pass -candist to am_install_var.
2062 (handle_java): Pass -candist to am_install_var.
2064 1999-03-26 Tom Tromey <tromey@cygnus.com>
2066 * m4/init.m4: Fixed typo when invoking SHELL.
2068 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
2069 yacc header file. From Ralf Corsepius.
2071 * Makefile.in: Rebuilt.
2072 * Makefile.am: Updated to reflect removal of TAR subst.
2073 * automake.texi (Options): Document dist-bzip2.
2074 * automake.in (TAR): Removed global.
2075 (initialize_global_constants): Changed `dist' to use pipe with
2076 gzip; work with non-GNU tar.
2077 (handle_dist): Handle non-GNU tar. Don't define TAR.
2078 (initialize_global_constants): Added `dist-bzip2' entry.
2079 (handle_options): Recognize dist-bzip2 option.
2080 (handle_dist): Likewise.
2081 * configure: Rebuilt.
2082 * configure.in: Don't check for tar.
2083 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
2086 * automake.in (am_install_var): Removed obsolete comment.
2088 * texinfos.am (uninstall-info): Don't print loop but instead print
2089 commands. Simplified pre-uninstall loop.
2090 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
2091 instead print commands.
2092 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
2094 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
2095 instead print commands.
2096 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
2097 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
2098 instead print commands.
2099 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
2101 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
2103 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
2104 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
2105 instead print commands.
2106 * data.am (install-@DIR@DATA): Strip subdir from file name.
2107 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
2108 instead print commands.
2110 * automake.in (handle_merge_targets): `install-strip' is a phony
2111 target. From Michel de Ruiter.
2113 1999-03-25 Tom Tromey <tromey@cygnus.com>
2115 * automake.in (define_compiler_variable): Don't define variable
2118 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2120 * automake.in (LDADD): accept -dlopen and -dlpreopen here
2121 * automake.texi: ditto
2123 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2125 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
2126 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
2128 1999-03-24 Tom Tromey <tromey@cygnus.com>
2130 * automake.in (define_compiler_variable): New sub.
2131 (finish_languages): Use it.
2132 (lang_cxx_finish): Likewise.
2133 (lang_f77_finish): Likewise.
2134 (lang_ppf77_finish): Likewise.
2135 (lang_ratfor_finish): Likewise.
2136 (lang_objc_finish): Likewise.
2138 1999-03-23 Tom Tromey <tromey@cygnus.com>
2140 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
2141 sed invocations. From Elrond.
2142 (uninstall-@DIR@PROGRAMS): Likewise.
2144 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
2145 From Ralf Corsepius.
2147 1999-02-01 Thomas Tanner <tanner@gmx.de>
2149 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
2150 warning when AM_PROG_LIBTOOL was found
2151 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
2153 1999-03-22 Tom Tromey <tromey@cygnus.com>
2155 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
2156 * automake.in (define_standard_variables): New sub.
2157 (read_main_am_file): Use two passes to scan standard variables.
2158 (read_am_file): Don't special-case configure variables with `+='.
2159 (initialize_per_input): Initialize %var_was_plus_eq.
2160 (read_am_file): Set var_was_plus_eq element correctly.
2161 (define_variable): Give error if variable assigned with `+=' is
2163 (initialize_per_input): Initialize %am_var_defs.
2164 (file_contents_with_transform): Set element in %am_var_defs.
2165 (read_am_file): Use %am_var_defs.
2167 1999-03-21 Tom Tromey <tromey@cygnus.com>
2169 * automake.in (initialize_per_input): Initialize %object_map.
2170 (handle_single_transform_list): Allow source files in
2173 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
2175 * automake.in (handle_dist): Add missing newline after the first
2178 1999-03-11 Tom Tromey <tromey@cygnus.com>
2180 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
2181 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
2184 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
2186 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
2187 legitimate ending. Fixes libobj9.test.
2189 From Ralf Corsepius. Fixes lex3.test.
2190 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
2191 maintainer-clean list.
2192 (lang_lex_finish): Likewise.
2194 1999-03-02 Tom Tromey <tromey@cygnus.com>
2196 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
2197 construct to work around FreeBSD make/sh problem. From Rich Wales.
2199 1999-03-01 Tom Tromey <tromey@cygnus.com>
2201 Fixes from Pavel Roskin:
2202 * automake.in (variable_conditions_sub): Sort list passed to
2203 variable_conditions_permutations.
2204 (variable_conditions): Sort list before returning.
2206 1999-02-27 Tom Tromey <tromey@cygnus.com>
2208 * automake.in (lang_extensions): New sub.
2209 (handle_dependencies): Use it.
2210 (cxx_extensions): Removed.
2211 (lang_cxx_finish): Use lang_extensions.
2212 (f77_extensions): Removed.
2213 (lang_f77_finish): Use lang_extensions.
2214 (objc_extensions): Removed.
2215 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
2216 Report from Dave Morrison.
2217 (lang_ratfor_finish): Likewise.
2219 1999-02-26 Tom Tromey <tromey@cygnus.com>
2221 * automake.in (finish_languages): Added AM_LDFLAGS.
2222 (lang_cxx_finish): Likewise.
2223 (lang_f77_finish): Likewise.
2224 (lang_ppf77_finish): Likewise.
2225 (lang_ratfor_finish): Likewise.
2226 (lang_objc_finish): Likewise.
2228 1999-02-11 Tom Tromey <tromey@cygnus.com>
2230 * aclocal.in (obsolete_macros): Copied from automake.in.
2231 (obsolete_rx): Use only keys of obsolete_macros.
2232 (scan_configure): Report replacement macro for an obsolete macro.
2233 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
2235 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
2236 entry. Fixes obsolete2.test.
2238 * automake.in (obsolete_macros): Use empty string to indicate no
2240 (scan_one_configure_file): Likewise.
2242 1999-02-07 Paul Eggert <eggert@twinsun.com>
2244 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
2245 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
2246 needed by some programs.
2248 1999-02-10 Tom Tromey <tromey@cygnus.com>
2250 * automake.in (handle_texinfo): Added `pgs' to list of
2251 extensions. From NISHIDA Keisuke.
2253 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
2255 * automake.in (handle_texinfo): remove texinfo.tex from
2258 1999-02-02 Tom Tromey <tromey@cygnus.com>
2260 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
2261 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
2262 * header-vars.am (INSTALL_PROGRAM): Removed
2263 AM_INSTALL_PROGRAM_FLAGS.
2264 (INSTALL_STRIP_FLAG): New macro.
2266 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
2268 (lang_yacc_finish): Likewise.
2269 (lang_lex_finish): Likewise.
2271 1999-02-01 Tom Tromey <tromey@cygnus.com>
2273 * automake.in (handle_dist_worker): Correctly find find in $$d,
2274 not $$. From Bill Davidson.
2276 * automake.in (finish_languages): Use "&", not "do". From Pavel
2278 (handle_single_transform_list): Likewise.
2280 1999-01-29 Tom Tromey <tromey@cygnus.com>
2282 * automake.in (handle_configure): Removed unused variable. From
2285 * ansi2knr.c: New version from L. Peter Deutsch.
2287 1999-01-22 Tom Tromey <tromey@cygnus.com>
2289 * automake.in (require_file_internal): Correctly examine return
2290 value of `system'. From Andris Pavenis. Fixes copy.test.
2292 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2294 * automake.in (lang_ppf77_rewrite): New function. From Jochen
2295 Kuepper. Fixes ppf77.test.
2296 (lang_ratfor_rewrite): New function
2298 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2299 fix). From Erez Zadok.
2301 1999-01-15 Tom Tromey <tromey@cygnus.com>
2303 * configure.in: Version 1.4a (oops).
2305 * configure.in: Updated version to 1.5a.
2307 1999-01-14 Tom Tromey <tromey@cygnus.com>
2309 * automake.in (handle_configure): Compute $header_dir based on
2310 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
2312 (handle_configure): Compute relative path to input header
2313 correctly in all cases.
2315 * automake.in (handle_tests): Avoid error messages from dejagnu
2316 test rules. From Karl Heuer.
2318 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2320 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2322 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2323 From Alexandre Oliva and Erez Zadok.
2325 * automake.in (create): Renamed from touch.
2326 (handle_configure): Use create, not touch.
2328 * config.sub, config.guess: New versions from autoconf.
2330 * mkinstalldirs: New version from autoconf.
2332 1999-01-12 Tom Tromey <tromey@cygnus.com>
2334 * config.sub, config.guess, COPYING, texinfo.tex: New versions
2337 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
2339 * automake.in (PATH_PATTERN): New variable:
2340 (INCLUDE_PATTERN): Use it. Ignore all include commands using
2341 symbols besides $(top_srcdir) and $(srcdir).
2343 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2345 * automake.in (handle_dist_worker): avoid failure in `make dist'
2346 if last file is a builddir-only file
2348 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2350 * missing (autoheader): `s' was missing from sed script; grr
2352 1999-01-11 Tom Tromey <tromey@cygnus.com>
2354 * remake-hdr.am (@STAMP@): Reverted timestamp change.
2355 ($(srcdir)/@STAMP@.in): Likewise.
2357 1999-01-10 Tom Tromey <tromey@cygnus.com>
2359 * Makefile.am (scriptdir): New macro.
2360 (script_DATA): Likewise.
2361 (install-data-hook): Use them.
2362 (EXTRA_DIST): Added script_DATA.
2363 (installcheck-local): Use script_DATA.
2365 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2367 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2369 * missing (autoheader): accept multiple header files
2370 (automake): simplify sed processing
2372 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2374 * automake.in (handle_configure, stamp_dir): create only one stamp
2375 file per header, instead of one in the top-level directory and one
2376 in the directory that contains the header.
2378 1999-01-10 Tom Tromey <tromey@cygnus.com>
2380 * automake.in (lang_objc_finish): Formatting fix.
2382 * automake.in (objc_extensions): New sub.
2383 (handle_dependencies): Only generate dependency-tracking code for
2384 ObjC when ObjC source seen.