1 2001-02-07 Tom Tromey <tromey@redhat.com>
3 * automake.in (handle_configure): Handle case where output file is
4 in subdir with no Makefile of its own. Fixes remake3.test,
7 2001-02-06 Pavel Roskin <proski@gnu.org>
9 * automake.in (handle_dependencies): Rename AM_INCLUDE to
11 * m4/make.m4 (AM_MAKE_INCLUDE): Likewise.
12 * tests/exsource.test: Likewise.
14 2001-02-06 Derek Price <derek.price@openavenue.com>
16 * automake.in (handle_configure): Fix syntax error.
18 2001-02-06 Akim Demaille <akim@epita.fr>
20 * subdirs.am: This file is the exception: clean recursive targets
21 are called by the clean targets, not the clean-am targets.
22 Otherwise we have a circular dependency: clean -> clean-am ->
23 clean-recursive -> clean.
24 * automake.in (handle_clean): Bind `-local' targets to `-am'
25 targets, not top targets.
26 Don't declare -recursive dependencies of the clean targets:
27 `subdirs.am' did it. Less hard coded knowledge, transfered
31 2001-02-06 Akim Demaille <akim@epita.fr>
33 Monstro unsplitable patch.
35 The aim is to remove hard coded knowledge about clean targets from
36 automake.in, leaving them in the *.am files.
37 In addition to the mechanic needed to factor some dependencies, it
38 appears some rules (most notably distclean and maintainer-clean)
39 need factored actions. So first, be ready to catch factored
42 * automake.in (&file_contents): For the time being, use an extended
43 $RULE_PATTERN which is able to match any kind of rules, with or
44 without dependency, with or without actions.
45 Handle all the rules uniformly, storing in %actions the factored
47 (&flatten, &target_cmp): New.
48 (&handle_factored_dependencies): Output the %actions.
49 No longer special case `clean'.
50 Output the rules in alphabetical order, but keeping `.PHONY' last.
52 Now we must not use &push_phony_cleaners, which is doing all sort
53 of magic to push a bit of everything in all the clean targets.
54 The biggest problem being that, making a Cartesian product, it
55 requires many useless targets. The `*.am' file know better.
56 But first, register the new factored rules.
58 * automake.in (&initialize_per_input): Include clean, mostlyclean,
59 maintainer-clean, distclean and their `*-am' counterpart in
62 (get_object_extension, handle_texinfo, handle_tags, handle_multilib)
63 handle_dependencies, handle_subdirs, handle_configure, handle_clean)
64 (handle_emacs_lisp, handle_python): Don't play with
65 &push_phony_cleaners nor &depend and `clean'.
66 * texinfos.am, texi-vers.am, tags-clean.am:
67 * subdirs.am,python-clean.am, multilib.am, lisp-clean.am:
68 * libtool.am, kr-extra.am, depend.am, compile.am, clean.am:
69 * clean-kr.am, clean-hdr.am: Do it.
70 Whenever a target is empty, just remove it, it will no longer be
73 There is still some magic about clean to hard code. But really,
74 that's the end of &do_one_clean_target.
76 * automake.in (&do_one_clean_target): Kaboom out.
77 (&handle_clean): Rewrite the magic code.
78 (&am_install_var): No longer use &push_phony_cleaners, nor depend
80 (&push_phony_cleaners): Kaboom too.
82 2001-02-06 Akim Demaille <akim@epita.fr>
84 * automake.in (do_one_clean_target): Don't hard code knowledge
85 about libtool, and maintainer-clean.
86 * clean.am, libtool.am: Handle these.
89 2001-02-05 Akim Demaille <akim@epita.fr>
91 * automake.in (handle_texinfo): No longer hard code the clean
93 (texinfos.am): Include them.
95 2001-02-05 Akim Demaille <akim@epita.fr>
97 * Makefile.am (perl4-check): Remove, we now require Perl 5.
98 (maintainer-check): Don't be silent when you find a problem, and
99 actually, even specify the locations.
100 Also check that @_ is assigned to arrays.
102 2001-02-05 Akim Demaille <akim@epita.fr>
104 * m4/regex.m4: Use AC_LIBSOURCES.
105 * automake.in (scan_autoconf_traces): Trace AC_LIBSOURCE, not
108 2001-02-04 Tom Tromey <tromey@redhat.com>
110 * m4/Makefile.am (m4data_DATA): Added make.m4.
111 * automake.in (handle_dependencies): Use @AM_INCLUDE@ to include
113 * m4/depend.m4 (AM_DEPNDENCIES): Require AM_MAKE_INCLUDE.
114 Copy depcomp to subdir.
115 * m4/make.m4: New file.
117 2001-02-04 Pavel Roskin <proski@gnu.org>
119 * automake.in (handle_dist_worker): Remove a line that is now
122 2001-02-04 Kevin Ryde <user42@zip.com.au>
124 * automake.in (handle_configure): Call config.status with empty
125 CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
127 2001-02-04 Tom Tromey <tromey@redhat.com>
129 * depcomp (ddashmd): Removed case.
130 (sgi): Handle failure exit correctly
131 (aix): Likewise. Also, add dummy `.h' targets.
133 2001-02-04 Akim Demaille <akim@epita.fr>
135 * distdir.am (distdir): New file, extracted from...
136 * automake.in (handle_dist_worker): here.
139 2001-02-04 Akim Demaille <akim@epita.fr>
141 * automake.in (@clean): Remove, replaced by...
142 ($dependencies{'clean'}): this.
143 Use `&depend' instead of push'ing into @clean.
144 (handle_factored_dependencies): For the time being, skip 'clean'.
145 (do_one_clean_target): Don't ask for argument 1 and 4 as they are
146 always `clean', and `@clean'.
148 2001-02-04 Akim Demaille <akim@epita.fr>
150 * automake.in (%dependencies): Don't be initialize globally for
151 all the files, but in...
152 (&initialize_per_input): here.
154 (@phony): Replace all occurrences with the corresponding &depend
157 2001-02-03 Tom Tromey <tromey@redhat.com>
159 * header.am (install-@DIR@HEADERS): Use INSTALL_HEADER.
160 * header-vars.am (INSTALL_HEADER): New macro.
162 * automake.texi (Rebuilding): New node.
164 2000-12-29 Derek Price <derek.price@openavenue.com>
166 * automake.in (handle_dependencies): Switched the DEP_FILES
167 definition to be conditional on @AMDEP@.
169 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
171 * depcomp (aix): New side-effect dependency tracking mode, for
172 the C for AIX compiler.
173 * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
174 `conftest.h' for each test.
176 2001-02-03 Tom Tromey <tromey@redhat.com>
178 * automake.texi (Dist): Updated to mention caveat of putting
179 directory in EXTRA_DIST and also providing a nice example of
180 removing the CVS dir.
181 From Ganesan Rajagopal.
183 * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
186 * automake.in (scan_one_autoconf_file): Disable warning about
189 * automake.in (handle_configure): Don't modify variable which
190 aliases list element. Don't push @inputs onto the dist list.
192 (initialize_per_input) [dist_dirs]: New variable.
193 (handle_dist_worker): Use global dist_dirs.
194 (handle_configure): Set dist_dirs entries at toplevel.
196 2001-02-02 Gordon Sadler <gbsadler1@lcisp.com>
198 * automake.texi (Java Support): Added index, @section.
200 2001-02-02 Pavel Roskin <proski@gnu.org>
202 * automake.in (scan_autoconf_traces): Restore trace messages.
204 * automake.in (handle_aclocal_m4): Fix stripping of the initial
205 "./" from the dependencies of aclocal.m4.
206 Reported by Ralf Corsepius.
208 2001-02-01 Pavel Roskin <proski@gnu.org>
210 * aclocal.in: Rename "verbosity" to "verbose". Always prepend
211 "aclocal: " to the verbose output.
213 * automake.in: Remove all debugging messages.
215 2001-01-31 Akim Demaille <akim@epita.fr>
217 * automake.in (add_depend2): Quote properly $obj and $source.
219 2001-01-31 Akim Demaille <akim@epita.fr>
221 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
222 then replacing `$(@PFX@COMPILE)' for the files that need some
223 special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
224 Try to document this file.
225 * automake.in (add_depend2): Adjust to these changes.
227 2001-01-31 Akim Demaille <akim@epita.fr>
229 * automake.in (%factored_dependencies): New.
230 (file_contents): Use it.
231 (handle_phony): Rename as...
232 (handle_factored_dependencies): this.
233 * subdirs.am: No need for convolved syntax to declare .PHONY.
235 2001-01-31 Akim Demaille <akim@epita.fr>
237 * automake.in: maintainer-check fixes.
239 2001-01-31 Akim Demaille <akim@epita.fr>
241 * automake.in (file_contents): Rewrite: instead of trying to parse
242 it line by line, first swallow it completely into $CONTENTS,
243 *then*, parse it *paragraph* by paragraph.
245 2001-01-30 Akim Demaille <akim@epita.fr>
247 * automake.in (file_contents): Remove.
248 (file_contents_with_transform): Swap the order of the arguments,
250 (file_contents): this.
253 2001-01-30 Tom Tromey <tromey@redhat.com>
255 * automake.in (scan_one_autoconf_file): Don't mention
258 2001-01-29 Akim Demaille <akim@epita.fr>
260 * automake.in (&scan_autoconf_config_files): Extract from
261 &scan_one_autoconf_file.
262 (&scan_one_autoconf_file): Use it.
263 (&scan_autoconf_traces): New.
264 ($scan_autoconf_files): Use it.
266 2001-01-29 Akim Demaille <akim@epita.fr>
268 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
270 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
271 (handle_etags, handle_subdirs): Don't push into @phony.
273 2001-01-29 Akim Demaille <akim@epita.fr>
275 * automake.in (scan_one_autoconf_file): Correctly recognize
278 2001-01-29 Akim Demaille <akim@epita.fr>
280 * automake.in (handle_tests_dejagnu): New, extracted from...
281 (handle_tests): here. Use `.PHONY:'.
283 2001-01-29 Akim Demaille <akim@epita.fr>
285 * automake.in (handle_phony): Sort.
286 (file_contents_with_transform): Catch `.PHONY:'.
287 (handle_tests): Instead dumping the hard coded target check-TESTS
288 and registering its .PHONYsm, get them from...
289 * check.am: here, new file.
291 2001-01-29 Akim Demaille <akim@epita.fr>
293 * automake.in (add_depend2): Use &transform.
295 2001-01-29 Akim Demaille <akim@epita.fr>
297 * automake.in (handle_tags): Use &transform.
298 (am_error, am_line_error, am_conf_error, read_am_file): Use
299 directly arrays in strings, no need for &join.
301 * Makefile.am (maintainer-check): Use grep -w when looking for
304 2001-01-29 Akim Demaille <akim@epita.fr>
306 * automake.in (prog_error): New.
309 2001-01-29 Akim Demaille <akim@epita.fr>
311 * automake.in (handle_single_transform_list): if (@list) { foreach
312 (@list) ...} can be written as a simple `foreach' loop.
314 2001-01-29 Akim Demaille <akim@epita.fr>
316 * automake.in (define_standard_variables): Use &transform instead
319 2001-01-29 Akim Demaille <akim@epita.fr>
321 * automake.in (handle_texinfo): Use the new $texinfodir instead of
322 the removed $texinfo_tex.
324 2001-01-29 Akim Demaille <akim@epita.fr>
326 * automake.in (handle_libraries, handle_ltlibraries): Use
329 2001-01-29 Akim Demaille <akim@epita.fr>
331 * automake.in (handle_programs) <xexe>: Remove, replaced by
333 Use it, and &transform.
335 2001-01-29 Akim Demaille <akim@epita.fr>
337 * automake.in (get_object_extension) <$default_includes>: New.
338 Use it and &transform.
340 2001-01-28 Tom Tromey <tromey@redhat.com>
342 * automake.in (variable_value_as_list_worker): Handle entries in
343 %am_var_defs. Fixes listval.test.
345 2001-01-26 Akim Demaille <akim@epita.fr>
347 * automake.in (handle_texinfo): Don't use $conf_pat, just
348 $conf_dir to transform MDDIR since now &transform handles the
349 escaping of RE special characters by itself.
351 2001-01-24 Akim Demaille <akim@epita.fr>
353 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
355 * m4/init.m4: Likewise.
356 * m4/sanity.m4: s/conftestfile/conftest.file/.
358 2001-01-24 Tom Tromey <tromey@redhat.com>
360 * automake.in (handle_libraries): Use $configure_ac; typo fix.
362 * automake.in (transform): Quote substitution.
364 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
365 Tom Tromey <tromey@redhat.com>
367 * automake.in (obsolete_rx): Match whole macro names, not
369 * aclocal.in (obsolete_rx): Likewise.
371 2001-01-21 Tom Tromey <tromey@redhat.com>
373 * automake.texi: Changed dir category.
375 2001-01-18 Akim Demaille <akim@epita.fr>
377 * automake.in (handle_texinfo): Use &transform, and transform
379 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
381 2001-01-16 Akim Demaille <akim@epita.fr>
383 Let Automake support `configure.ac'.
385 * automake.in: In the comments, prefer `configure.ac' to
387 When using &am_conf_error, don't repeat `in configure.in', since
388 the function already reports it.
389 When referring to `configure.in' use `$configure_ac' instead.
390 (configure_ac): New global variable.
391 (scan_configure, scan_one_configure_file): Rename as...
392 (scan_autoconf_files, scan_one_autoconf_file): this.
393 (scan_autoconf_files): Compute $configure_ac.
394 (transform): New function.
395 (handle_configure): Use it to transform CONFIGURE_AC in
396 `remake.am' and in `remake-hdr.am'.
397 (common_files): Also consider `configure.ac'.
398 Use consistently single quotes.
399 * aclocal.in (configure_ac): New variable.
401 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
402 * remake.am: Likewise.
403 * remake-hdr.am: Likewise.
405 2001-01-16 Akim Demaille <akim@epita.fr>
407 * m4/multi.m4: Remove the hairy useless quotation of `$'.
408 Simplify `ifelse([$2],,,[$2])' into... `$2'!
409 * m4/minuso.m4: Don't use changequote!
410 * m4/cond.m4: Fix quotation.
411 * m4/sanity.m4: Follow the Autoconf coding style.
412 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
413 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
416 2001-01-15 Tom Tromey <tromey@redhat.com>
418 * automake.in (handle_single_transform_list): Don't print rule
419 here when source is in subdir and object is not. Fixes
422 * automake.in (handle_single_transform_list): Correctly compute
423 $nonansi_obj. Fixes cxxansi.test.
425 * automake.texi (Man pages): Updated to account for man1_MANS,
428 2001-01-13 Steve Robbins <smr@debian.org>
429 Tom Tromey <tromey@redhat.com>
431 * aclocal.in (scan_configure): Don't recognize macro assignments
433 (add_file): Likewise.
435 2001-01-13 Kevin Ryde <user42@zip.com.au>
437 * automake.in (handle_ltlibraries): Omit -rpath from
438 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
440 2001-01-11 Tom Tromey <tromey@redhat.com>
442 * depcomp (case gcc3): Use -MD, not -M.
444 2001-01-10 Tom Tromey <tromey@redhat.com>
446 * depcomp: Handle gcc 3.
448 2000-12-23 Tom Tromey <tromey@redhat.com>
450 * configure.in: Updated to 1.4c for cvs.
452 * configure.in: Updated to 1.4b and released.
454 * config.guess, config.sub, texinfo.tex: New versions.
456 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
459 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
460 distclean and maintainer-clean.
461 * automake.texi (Top level): Document use of DIST_SUBDIRS.
463 From Rusty Ballinger:
464 * automake.in (handle_java): Don't skip `noinst' prefix.
466 * automake.texi (Invoking aclocal): Mention ## comments.
468 2000-12-22 Tom Tromey <tromey@redhat.com>
470 From Raja R Harinath:
471 * automake.in (libtoolize_sometimes): New global.
472 (initialize_global_constants): Added libtoolize_sometimes to
475 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
477 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
479 2000-12-21 Tom Tromey <tromey@redhat.com>
481 * automake.texi (Tags): Document GTAGS target.
482 * tags.am (GTAGS): New target.
484 * automake.in (libtoolize_files): Removed ltconfig.
485 (initialize_global_constants): Added ltconfig to common_files.
487 2000-12-21 Kevin Ryde <user42@zip.com.au>
489 * automake.in (handle_footer): Generate .SUFFIXES target when user
490 defines suffixes but automake does not.
492 2000-12-20 Marc Espie <espie@openbsd.org>
494 * automake.in (handle_texinfo): Make path of $vtexi explicit in
496 * texi-vers.am: Likewise.
498 2000-12-20 Tom Tromey <tromey@redhat.com>
501 * automake.in (handle_footer): Always push user suffixes at the
503 * automake.texi (Suffixes): Updated to reflect new suffix
506 2000-12-18 Tom Tromey <tromey@redhat.com>
508 * automake.in (handle_built_sources): Removed.
509 (handle_merge_targets): Handle BUILT_SOURCES.
510 * automake.texi (Sources): Updated documentation of
513 2000-12-17 Tom Tromey <tromey@redhat.com>
515 * m4/protos.m4: Always do header checks.
517 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
520 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
521 conditionally defined. Fixes PR automake/77 and ldflags.test.
523 2000-11-25 Tom Tromey <tromey@cygnus.com>
525 * automake.in (file_contents_with_transform): Added file name and
526 line number to error report.
527 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
529 2000-11-23 Pavel Roskin <proski@gnu.org>
531 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
533 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
534 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
535 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
536 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
537 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
538 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
539 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
541 2000-11-23 Tom Tromey <tromey@cygnus.com>
543 * automake.in (require_file_internal): Pass $file as second
544 argument to maybe_push_required_file. Fixes PR automake/87.
546 2000-11-18 Tom Tromey <tromey@cygnus.com>
548 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
549 /dev/null. From Paul Martinolich.
551 2000-11-16 Morten Eriksen <mortene@sim.no>
553 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
554 opened, otherwise it has no effect.
556 2000-10-23 Morten Eriksen <mortene@sim.no>
558 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
559 CRLFs. This circumvents a bug in Cygwin bash.
561 * automake.in (generate_makefile): Don't write Makefile.in
562 files with CRLFs, as it causes problems for the dependency-file
563 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
565 2000-10-19 Alex Hornby <alex@anvil.co.uk>
567 * automake.in (handle_merge_targets): Allow parallel install
570 2000-10-19 Akim Demaille <akim@epita.fr>
572 * subdir4.test (depcomp): Don't create it, defs does.
574 2000-10-17 Pavel Roskin <proski@gnu.org>
576 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
577 acinclude.m4 from the dependencies of aclocal.m4 to avoid
578 circular and duplicated dependencies. Strip "./" from the
581 2000-10-17 Lars J. Aas <larsa@sim.no>
583 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
584 normal comments (#) instead of m4 dnl-type comments.
586 2000-10-17 Alex Hornby <alex@anvil.com>
588 * depcomp: Altered sed clause to strip of inclusion depth
589 numbers generated by cpp. Also output in gcc style.
591 2000-10-16 Morten Eriksen <mortene@sim.no>
593 * depcomp (msvisualcpp): New dependency tracking mode, for
594 Microsoft Visual C++.
596 2000-10-16 Morten Eriksen <mortene@sim.no>
598 * depcomp: Fix a bug in SGI dependency tracking mode with source
599 files which do not dependend on any other source files.
601 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
603 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
604 * automake.in, automake.texi: Likewise.
605 * clean-kr.am, clean.am: Likewise.
606 * comp-vars.am: Likewise.
607 * compile, compile.am: Likewise.
608 * data-clean.am: Likewise.
610 * dejagnu.am: Likewise.
612 * depend.am, depend2.am: Likewise.
613 * dist-vars.am, dist.am: Likewise.
614 * elisp-comp: Likewise.
615 * footer.am: Likewise.
616 * header-vars.am, header.am: Likewise.
617 * java-clean.am java.am: Likewise.
618 * kr-extra.am: Likewise.
619 * library.am: Likewise.
620 * libs-clean.am, libs.am: Likewise.
621 * libtool.am: Likewise.
622 * lisp-clean.am lisp.am: Likewise.
623 * ltlib-clean.am ltlib.am: Likewise.
624 * ltlibrary.am: Likewise.
625 * m4/Makefile.in: Likewise.
626 * m4/strtod.m4: Likewise.
627 * mans-vars.am, mans.am: Likewise.
628 * mdate-sh: Likewise.
630 * multilib.am: Likewise.
631 * program.am: Likewise.
632 * progs-clean.am, progs.am: Likewise.
633 * python-clean.am, python.am: Likewise.
634 * remake-hdr.am, remake.am: Likewise.
635 * scripts.am: Likewise.
636 * subdirs.am: Likewise.
637 * tags-clean.am, tags.am: Likewise.
638 * texi-vers.am: Likewise.
639 * texinfos.am: Likewise.
642 2000-10-09 Pavel Roskin <proski@gnu.org>
644 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
645 assignments changing $? - it's broken in ash-0.2.
646 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
648 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
649 defined use it as the list of M4 files aclocal.m4 depends on.
651 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
653 * aclocal.in (add_file): Strip comments while scanning for
656 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
658 * automake.in (initialize_global_constants): End the
659 result of dist-bzip2 with tar.bz2, not bz2.
661 2000-08-30 Tom Tromey <tromey@cygnus.com>
663 Fix for PR automake/72:
664 * automake.in (initialize_per_input): Define `need_link'.
665 (finish_languages): Use need_link.
666 (handle_source_transform): Set need_link if required.
668 2000-08-28 Tom Tromey <tromey@cygnus.com>
670 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
672 (register_language): Default the `derived-autodep' option.
673 (handle_single_transform_list): Add to %dep_files if language has
674 `derived-autodep' set. Re-fixes lex4.test.
676 2000-08-27 Tom Tromey <tromey@cygnus.com>
678 * automake.in (handle_single_transform_list): Only add to
679 %dep_files if language is found and supports automatic dependency
680 tracking. Fixes PR automake/75.
682 * automake.in (am_primary_prefixes): Don't set `valid' for
683 configure variables that don't satisfy the other constraints.
684 Fixes PR automake/68.
686 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
688 Fix for PR automake/67.
689 * automake.in (handle_multilib): remove .am suffix in fragment
690 name passed to file_contents.
691 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
692 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
693 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
695 2000-08-26 Tom Tromey <tromey@cygnus.com>
697 * subdirs.am (maintainer-clean-recursive): Always run clean rules
698 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
700 * automake.in (handle_man_pages): Generate install targets for man
701 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
703 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
704 Fix for PR automake/74. From js pendry.
706 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
708 * depcomp (gcc): Support DOS-style absolute file names with drive
711 2000-08-06 Jim Meyering <meyering@lucent.com>
713 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
714 if the depcomp file exists, before calling require_config_file on
715 `depcomp'. This makes require_file_internal skip its buggy existence
716 test that would make automake fail (with `required file `lib/depcomp'
717 not found') when AC_CONFIG_AUX_DIR is not set.
719 This change change does not fix the existing bug where, if `depcomp'
720 is not present in the build directory (at the top level), automake
721 still gives the inaccurate diagnostic about *lib*/depcomp rather
724 2000-08-05 Jim Meyering <meyering@lucent.com>
726 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
727 add missing closing bracket and closing parenthesis.
728 Don't quote the first argument to AC_OUTPUT_COMMANDS.
729 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
731 2000-08-04 Tom Tromey <tromey@cygnus.com>
733 Idea from Nicolas Thiery:
734 * automake.texi (Tests): Document DEJATOOL as a list.
735 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
736 (check-DEJAGNU): Run runtest in a loop.
738 2000-08-02 Akim Demaille <akim@epita.fr>
740 * m4: Quote properly the name of the macros being defined.
741 Use `#' instead of `dnl' where appropriate.
742 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
744 Don't quote passive characters.
745 Pull the AC_PREREQ outside the macro.
746 * m4/init.m4: Pull the AC_PREREQ outside the macro.
748 2000-07-28 Tom Tromey <tromey@cygnus.com>
750 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
753 2000-07-13 Kevin Ryde <user42@zip.com.au>
755 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
756 EXTRA_PROGRAMS as well as other _PROGRAMS.
758 2000-07-02 Jim Meyering <meyering@lucent.com>
760 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
762 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
764 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
767 2000-06-02 Morten Eriksen <mortene@sim.no>
769 * depcomp: workaround for problem with SGI IRIX sed (it can only
770 handle lines of up to 8192 characters, the rest of the line will
773 2000-05-31 Morten Eriksen <mortene@sim.no>
775 * depcomp: tell SGI MIPSpro compilers to generate dependencies
776 through the pre-processor (only CVS libtool has the -Wc option
779 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
781 * missing: Add support for `help2man'.
783 2000-05-11 Tom Tromey <tromey@cygnus.com>
785 * automake.in (handle_tests): Work correctly if TESTS is empty;
786 print nothing if it is. From Kevin Ryde.
788 2000-05-08 Tom Tromey <tromey@cygnus.com>
790 * automake.texi (Texinfo): Mention vers*.texi.
792 2000-05-04 Akim Demaille <akim@epita.fr>
794 AM_INIT_AUTOMAKE is no longer optional, so don't look for
795 `VERSION=' and `PACKAGE='.
796 * automake.in (seen_package, seen_version): Remove initializations of
797 unnecessary variables.
798 (scan_one_configure_file): Don't set them.
799 (scan_configure): Don't use them.
801 2000-05-01 Akim Demaille <akim@epita.fr>
803 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
804 (AM_INIT_AUTOMAKE): Update the writing conventions.
805 Quote the arguments properly.
806 Add a few missing `dnl'.
807 Use AC_PROVIDE_IFELSE.
809 2000-04-26 Jim Meyering <meyering@lucent.com>
811 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
812 macro. Based on a patch from Harlan Stenn.
814 2000-04-13 Akim Demaille <akim@epita.fr>
816 * compile: Remove unnecessary double quotes in assignments.
818 2000-04-13 Akim Demaille <demaille@epita.fr>
820 * automake.in (scan_one_configure_file): Also recognize
822 Remove trailing blanks.
824 2000-04-05 Tom Tromey <tromey@cygnus.com>
826 * header-vars.am (DESTDIR): Commented out definition.
828 * automake.in (require_file_internal): Pass --copy to libtoolize
829 if automake was run with `--copy'.
831 2000-03-22 Tom Tromey <tromey@cygnus.com>
833 * automake.texi (Uniform): Fix definition of pkglibdir.
834 From thi <ttn@revel.glug.org>.
836 2000-03-19 Tom Tromey <tromey@cygnus.com>
838 * aclocal.in (parse_arguments): Copyright 2000.
839 (write_aclocal): Likewise.
840 * automake.in (parse_arguments): Copyright 2000.
841 (initialize_global_constants): Likewise.
843 * automake.in (generate_makefile): Call handle_dist after
844 handle_dependencies and handle_tests. Fixes subobj3.test and
845 pr19.test regressions.
847 2000-03-19 Gordon Matzigkeit <gord@fig.org>
849 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
850 as the current directory.
851 (@EXT@.lo): Likewise.
853 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
855 * automake.in (handle_data): Pass -candist instead of
856 -defaultdist, for the compatibility.
858 2000-03-19 Tom Tromey <tromey@cygnus.com>
860 Fix for test nodepcomp.test:
861 * automake.in (require_file_internal): Use readlink on symlinks.
862 Only unlink file if we are going to try to add it again.
863 (handle_dependencies): Require `depcomp' here.
864 (scan_configure): Don't require `depcomp'.
866 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
868 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
869 the rule to remake Makefile, whether $use_dependencies is true
870 or not. This was a historical one and doesn't make sense any
873 2000-03-19 Tom Tromey <tromey@cygnus.com>
875 More for PR automake/38:
876 * automake.texi (Invoking Automake): Document --force-missing.
877 * automake.in (force_missing): New global.
878 (parse_arguments): Recognize --force-missing.
879 (initialize_global_constants): Document --force-missing.
880 (require_file_internal): Handle --force-missing.
882 Fix for PR automake/38:
883 * automake.in (require_file_internal): Check for and handle
884 dangling symlinks. Fixes symlink2.test.
886 Fix for PR automake/45:
887 * automake.texi (configure): Mention requirement to run
889 (Requirements): Removed most text.
890 * automake.in (seen_init_automake): New global.
891 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
892 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
893 Set seen_init_automake if needed.
895 Fix for PR automake/41:
896 * automake.in (require_file_found): New global.
897 (require_file_internal): Set require_file_found entry.
898 (handle_texinfo): Require file any number of times.
900 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
903 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
905 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
907 * m4/missing.m4: Print the backtick in a way that won't cause
908 autoconf CVS to emit any warnings.
910 2000-03-01 Jim Meyering <meyering@lucent.com>
912 * automake.in (handle_dist_worker) [generating rules for distdir]:
913 Don't use `ln' (which was just a space optimization anyway) to
914 populate $(distdir). Otherwise, the dist rules that change
915 permissions would end up affecting the master sources.
916 * texinfos.am (dist-info): Likewise.
918 2000-02-13 Jim Meyering <meyering@lucent.com>
920 * automake.in (generate_makefile): Detect write/close failure.
922 2000-02-02 Assar Westerlund <assar@sics.se>
924 * automake.in (handle_single_transform_list): do not use $< which
925 is not handled by all non-GNU makes. Instead do explicit sh code
926 testing for the file in this directory and srcdir. Based on a
927 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
929 2000-01-12 Tom Tromey <tromey@cygnus.com>
931 * m4/lispdir.m4: Added --with-lispdir argument processing.
934 2000-01-06 Tom Tromey <tromey@cygnus.com>
936 * automake.in (handle_configure): Don't check for
938 (scan_configure): Check for AC_PROG_MAKE_SET.
940 * header-vars.am (@SET_MAKE@): Added.
941 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
944 1999-12-19 Tom Tromey <tromey@cygnus.com>
946 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
948 (require_file_internal): Corrected arguments to second invocation
949 of maybe_push_required_file.
951 Fix for PR automake/9:
952 * automake.in (make_dirs, make_dirs_set): New globals.
953 (is_make_dir): New function.
954 (handle_configure): Use it.
955 (require_file_internal): Push file if there is no Makefile in its
957 (initialize_per_input): Initialize handle_dist_run.
958 (push_dist_common): Inspect handle_dist_run.
959 (handle_dist): Set handle_dist_run. Push items from
960 configure_dist_common onto dist_common if appropriate.
961 (configure_dist_common): New global.
962 (scan_configure): Set it.
963 (maybe_push_required_file): New function.
964 (require_file_internal): Use it.
966 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
967 more subdirs are defined. From Axel Belinfante. Fixes
970 1999-12-18 Tom Tromey <tromey@cygnus.com>
972 Partial fix for PR automake/40:
973 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
974 (uninstall-@DIR@LISP): Likewise.
975 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
976 (uninstall-@DIR@HEADERS): Likewise.
977 * data.am (install-@DIR@DATA): Handle nobase_ case.
978 (uninstall-@DIR@DATA): Likewise.
979 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
980 (am_install_var): Recognize and handle `nobase_' prefix.
982 1999-12-17 Tom Tromey <tromey@cygnus.com>
984 * automake.in (get_object_extension): Added space before `-I.'.
985 Report from Ralf Corsepius.
987 1999-12-15 Tom Tromey <tromey@cygnus.com>
989 * aclocal.in: Don't pass $acdir to scan_m4_files.
990 (parse_arguments): Push $acdir on end of dirlist.
991 (scan_file): Don't warn if duplicate macro seen.
993 1999-12-13 Tom Tromey <tromey@cygnus.com>
995 Fix for PR automake/30 and PR automake/23. Fixes test
997 * automake.in (initialize_per_input): Initialize
998 source_suffix_pattern.
999 (derive_suffix): New function.
1000 (handle_single_transform_list): Call it.
1002 * automake.in (add_depend2): Handle the no-dependency-tracking
1003 case. Fixes test suffix2.test.
1005 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
1007 * automake.in (get_object_extension): Fixed quoting on
1010 * depend2.am: Removed erroneous comment.
1012 * automake.texi (Program variables): Document nostdinc.
1013 (Options): Likewise.
1014 * automake.in (get_object_extension): Respect nostdinc option.
1015 (handle_options): Recognize nostdinc.
1016 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
1019 * automake.in (read_am_file): Allow conditional includes. Fixes
1022 * depcomp: Handle case on SGI when libtool is `yes'.
1023 * depend2.am (@EXT@.o): Set libtool.
1024 (@EXT@.lo): Likewise.
1025 (@EXT@.obj): Likewise.
1027 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
1030 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
1032 * automake.in (add_depend2): substitute $rule in the rules
1033 for individual files. Fixes test specflags5.test.
1035 1999-12-12 Tom Tromey <tromey@cygnus.com>
1037 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
1038 to create directories. Fixes test subobj3.test.
1040 1999-12-10 Tom Tromey <tromey@cygnus.com>
1042 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
1043 message when creating .deps files.
1045 * automake.in (initialize_global_constants): If unreadable by
1046 owner, make it readable by owner regardless of number of links.
1047 Fixes more of install2.test.
1049 * missing: Try to see if gnutar or gtar exist before invoking
1052 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
1053 install_sh value. Look for install-sh and install.sh in a
1054 somewhat more sensible way. Fixes test install2.test. Partially
1057 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
1059 * m4/missing.m4: remove redundant backquote
1061 1999-11-23 Tom Tromey <tromey@cygnus.com>
1063 * automake.in (initialize_global_constants): Use `bzip2 -9', not
1064 `bzip --best' Report from Jim Meyering.
1066 1999-11-22 Tom Tromey <tromey@cygnus.com>
1068 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
1069 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
1070 AM_MISSING_INSTALL_SH.
1071 * automake.in (scan_one_configure_file): Reverted previous
1074 * automake.in (scan_one_configure_file): Define `install_sh'
1075 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
1078 * automake.in (handle_single_transform_list): Generate explicit
1079 rule for subdir objects. Fixes new addition to subobj.test.
1081 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
1082 defined by AC_SUBST. Fixes ltlibobjs.test.
1084 Fix for sourcesub.test:
1085 * automake.in (handle_single_transform_list): Added `var'
1086 argument. If config sub found, give error.
1087 (handle_source_transform): Updated for new
1088 handle_source_transform.
1090 * py-compile: New file.
1091 * m4/Makefile.am (m4data_DATA): Added python.m4.
1092 * m4/python.m4: New file.
1093 * automake.texi (Uniform): Mention PYTHON.
1095 * Makefile.am (amfiles): Added python.am, python-clean.am.
1096 (dist_script_DATA): Added py-compile.
1097 * python.am: New file.
1098 * python-clean.am: New file.
1099 * automake.in (seen_pythondir): New global.
1100 (generate_makefile): Call handle_python.
1101 (handle_python): New function.
1102 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
1104 (am_install_var): Special-case PYTHON like JAVA.
1105 (scan_configure): Check for py-compile.
1106 (initialize_global_constants): Added py-compile to @common_files.
1108 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
1110 1999-11-21 Tom Tromey <tromey@cygnus.com>
1112 * automake.in (finish_languages): Only generate suffix rule when
1113 not doing dependency tracking.
1115 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
1116 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
1118 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
1121 1999-11-19 Tom Tromey <tromey@cygnus.com>
1123 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
1124 Alexandre's change on branch.
1126 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1128 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
1130 * dejagnu.am: Set CDPATH before cd.
1131 * Makefile.in: Rebuilt.
1133 * automake.in (handle_single_transform_list): Change `\1' for `$1'
1134 in `s///' replacement.
1136 * automake.in (handle_dist): Set CDPATH before cd.
1137 * dejagnu.am (check-DEJAGNU): Likewise.
1138 * texinfos.am (install-info-am, dist-info): Likewise.
1139 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
1140 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
1141 * aclocal.m4, configure, Makefile.in: Rebuilt.
1143 * AUTHORS: Added myself.
1145 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1147 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
1148 Reported by Tim Wilkinson <tim@transvirtual.com>
1149 * aclocal.m4, configure: Rebuilt.
1151 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
1153 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
1154 LEX program is found, use `${am_missing_run}flex'.
1156 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
1158 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
1159 with `o' in depfile.
1161 * automake.in (handle_lib_objects_cond): Remove second dot from
1162 dependency file names.
1164 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
1165 regardless of OBJEXT.
1167 * automake.in (handle_dependencies): Add blank line after depend2.
1168 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
1169 blank line before `include's, not after them.
1170 (scan_one_configure_file): Do not special-case `DEP_' any more.
1172 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
1174 * aclocal.m4, configure: Rebuilt.
1176 * m4/depend.m4 (AMDEPBACKSLASH): Define.
1177 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
1179 * automake.in (handle_dependencies): Generate `include's for
1180 dependency files after `@AMDEP@'.
1182 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
1183 --run support in the missing script, since SHELL is not exported.
1184 Reported by job bogan <job@piquin.uchicago.edu>
1185 * aclocal.m4, configure: Rebuilt.
1187 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
1189 * aclocal.m4, configure: Rebuilt with itself.
1190 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
1192 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
1193 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
1194 (AM_MISSING_HAS_RUN): New macro.
1195 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
1196 * automake.texi (Requirements): Likewise.
1197 * version.texi, stamp-vti: Rebuilt.
1199 1999-07-28 Tom Tromey <tromey@cygnus.com>
1201 * depcomp: Handle the `hp' mode.
1203 1999-07-06 Tom Tromey <tromey@cygnus.com>
1205 * depcomp: Work around HP-UX 10.20 sed bug.
1207 1999-07-05 Tom Tromey <tromey@cygnus.com>
1209 * automake.in (handle_dependencies): Generate a separate include
1210 for each dep file. Report from Alexandre Oliva.
1211 * depend.am: Don't include DEP_FILES.
1213 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1215 * depend.am: Add @AMDEP@ before `include', so that dependency
1216 tracking can be disabled.
1217 * depend2.am: Ditto, before all lines related with dependency
1219 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
1220 --enable/disable-dependency-tracking and sets AMDEP accordingly.
1221 It is implicitly disabled if depcomp is missing.
1222 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
1223 generated by side-effect.
1224 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
1225 * automake.in (handle_dependencies): Add @AMDEP@ before the value
1227 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
1230 * depcomp: Support -xM for dependency generation, for Sun CC.
1231 Reported by Alex Hornby <alex@anvil.co.uk>
1232 * m4/depend.m4: Extract the list of supported dependency-tracking
1233 mechanisms from the depcomp script and use it to test each one.
1234 * THANKS: Added Alex Hornby.
1236 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
1237 to leave $(...COMPILE) in a line by itself.
1239 * THANKS: Added Miles Bader.
1241 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
1243 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
1244 Fix `dashmstdout' to ignore non-dependency-generating uses of the
1246 * depcomp (makedepend): New dependency-generating method.
1248 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1250 * missing: If given `--run' as first argument, try to run the
1251 given program before falling back to the ``emulated'' behavior.
1252 Add support for `tar'.
1253 * automake.in: Use new `tar' support for `dist'.
1254 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
1255 program, prepend `missing --run' to the given program name.
1256 * m4/init.m4: Remove AMTAR-related stuff.
1259 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
1260 CONFIG_FILES. Do not use temporary variable for list of
1261 dependency files, it breaks Cygwin.
1263 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1265 * depcomp (gcc): Imported comments removed from depend2.am, so
1266 that we don't lose them.
1268 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1269 when not using ansi2knr.
1271 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1273 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1274 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1276 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1278 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1279 so as not to compile an empty source; some compilers fail on this.
1280 Redirect stderr of depcc to /dev/null. Test for -M with -o,
1281 because some compilers will output the rules to the output file.
1282 * depcomp (dashmstdout): Add --silent before --mode=compile, so
1283 that we don't get libtool output mixed up with make rules.
1285 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1286 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
1287 -o for libtool, otherwise it may try to deduce the object name
1288 from the dependency-generation flag.
1289 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
1292 * libtool.am: Do not emit .c.lo here...
1293 * depend2.am: ... emit .*.lo here, only when using libtool.
1294 * automake.in (get_object_extension): No more @MINUSO@ here.
1295 (handle_single_transform_list): Set $depfile from $object.
1296 (handle_dependencies): Emit depend2.am for all used languages,
1297 regardless of $use_dependencies; the setting of depcomp makes the
1299 (lang_cxx_finish): Do not emit compilation rules.
1300 (lang_objc_finish): Likewise.
1301 (lang_java_finish): Likewise.
1303 1999-04-21 Tom Tromey <tromey@cygnus.com>
1305 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1306 interpolate DEPDIR in DEP_FILES expansion.
1308 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
1310 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1311 dependency updating.
1312 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1313 handle multi-line dependency lists.
1315 1999-11-12 Tom Tromey <tromey@cygnus.com>
1317 Fix for PR automake/14:
1318 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
1320 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1322 * m4/multi.m4: Added missing `]'. From Akim Demaille.
1324 * Makefile.am (path-check): Make sure distdir is writeable before
1326 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1327 (handle_dist_worker): Make sure distdir is writeable before
1329 (initialize_global_constants [$dist_trailer]): Make sure distdir
1330 is writeable before removing it.
1331 * dist.am (distcheck): Make the new source tree read-only before
1332 compiling. Idea from Karl Berry.
1334 * automake.texi (Gnits): Allow COPYING.LIB again.
1335 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1337 1999-11-11 Jim Meyering <meyering@ascend.com>
1339 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1342 1999-11-09 Tom Tromey <tromey@cygnus.com>
1344 * automake.in (handle_dist): Typo fix. From Jim Meyering.
1346 1999-11-09 Jim Meyering <meyering@ascend.com>
1348 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1349 markers, no matter what.
1351 1999-11-08 Tom Tromey <tromey@cygnus.com>
1353 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1356 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1357 From Jim Meyering. Also, don't mention file name in `cp'
1358 destination. From Olly Betts.
1360 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1362 * texinfos.am (uninstall-info): Use installed info file, not one
1363 from srcdir or builddir.
1365 1999-11-07 Tom Tromey <tromey@cygnus.com>
1367 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1370 Fix for PR automake/18:
1371 * automake.in (handle_dist): Add contents of dist.am to the output
1373 * Makefile.am (amfiles): Added dist.am.
1374 * dist.am: New file.
1375 (distcheck): Added uninstall and distclean checks.
1377 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1378 Fixes PR automake/20. From Matthew D. Langston.
1380 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1381 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1383 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1385 * m4/lispdir.m4: -batch must come before -q.
1386 * elisp-comp: Likewise.
1387 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1388 * THANKS: Added Lars.
1390 1999-08-15 Tom Tromey <tromey@cygnus.com>
1392 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1395 1999-07-27 Tom Tromey <tromey@cygnus.com>
1397 * config.guess, config.sub: New versions from autoconf.
1399 1999-07-13 Tom Tromey <tromey@cygnus.com>
1401 Work around losing `awk'. Report from Harlan Stenn.
1402 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1403 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1405 * automake.in (handle_source_transform): Mark prefix as seen if
1406 corresponding _SOURCES variable exists. Fixes empty2.test.
1408 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1410 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1412 (AUTOMAKE): Set --amdir to current directory.
1414 1999-06-20 Tom Tromey <tromey@cygnus.com>
1416 * Makefile.am (TAGS_FILES): New macro.
1417 (ETAGS_ARGS): Moved files into TAGS_FILES.
1418 (TAGS_DEPENDENCIES): Likewise.
1419 (ETAGS_ARGS): Removed.
1420 (TAGS_DEPENDENCIES): Removed duplicate definition.
1422 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1423 from Ganesan Rajagopal.
1426 1999-06-18 Thomas Tanner <tanner@ffii.org>
1428 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1431 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1433 * ylwrap: Handle filenames output by the DOS version of Bison.
1435 1999-06-20 Tom Tromey <tromey@cygnus.com>
1437 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1440 1999-06-19 Tom Tromey <tromey@cygnus.com>
1442 * automake.in (handle_dist_worker): Remove redundant entries from
1445 * automake.in (handle_lib_objects_cond): Better error message when
1446 unrecognized option passed in LDADD.
1448 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1450 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1451 appropriate --acdir and --amdir arguments.
1453 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1455 * automake.in (dist_header): Avoid changing permissions of files
1456 in the source tree, trying a complex `find/chmod' command before
1457 falling back to plain chmod.
1458 (handle_dist_worker): Do not create directories with mode 777, the
1459 find above will take care of that.
1460 * m4/init.m4: Set install_sh for find/chmod above.
1462 * THANKS: Added Shuhei Amakawa.
1464 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1466 * mans.am: Strip dirname from given filename.
1468 1999-06-07 Jim Meyering <meyering@ascend.com>
1470 * automake.in (handle_dist): Change emitted rules so that a failure
1471 in `$(MAKE) distcheck-hook' propagates to the outer make.
1473 1999-05-27 Tom Tromey <tromey@cygnus.com>
1475 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1476 not FLAG in compilation rule.
1477 (add_depend2): Likewise.
1479 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1482 * m4/dmalloc.m4: Updated dmalloc site information.
1484 1999-05-19 Tom Tromey <tromey@cygnus.com>
1486 * automake.in (handle_single_transform_list): Push object name
1487 without extension onto lang_specific_files. Fixes
1490 * automake.in (handle_single_transform_list): Added missing
1491 space. Fixes specflags.test.
1493 1999-05-05 Tom Tromey <tromey@cygnus.com>
1495 * automake.in: Disabled dependency tracking for Java.
1497 1999-05-04 Tom Tromey <tromey@cygnus.com>
1499 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1500 * automake.in (handle_libraries): Recognize _AR variable.
1502 1999-04-30 Tom Tromey <tromey@cygnus.com>
1504 * automake.in (finish_languages): Always use `-o $@' with
1505 libtool. Define ltcompile and ltlink at outermost scope in
1507 * libtool.am (.c.lo): Removed.
1509 * automake.in (finish_languages): Put `.' before extension in
1510 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1511 `-flag'. From Pavel Roskin.
1513 1999-04-28 Tom Tromey <tromey@cygnus.com>
1515 * automake.in (finish_languages): Fixed scoping of ltcompile and
1516 ltlink. From Pavel Roskin.
1518 1999-04-27 Tom Tromey <tromey@cygnus.com>
1520 * automake.in (read_main_am_file): Don't start macro definition
1521 with backslash-newline. Instead, append newline at the end if
1524 * automake.in (read_am_file): Insert a backslash before a trailing
1525 newline. Fixes pluseq8.test.
1527 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1529 (check_canonical_spelling): Don't insert `AM' before macro name
1530 (reverts Alexandre's 1999-04-27 patch).
1531 * automake.texi: Reverted documentation change for `AM' patch.
1533 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1534 Minor rewrite for clarity.
1535 (check_canonical_spelling): Prefer `$1' over `\1'.
1537 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1539 (@LTOBJ@): Likewise.
1540 * automake.in (handle_single_transform_list): Don't print rule if
1541 doing dependency tracking and the file's language supports it.
1542 (initialize_per_input): Initialize lang_specific_files.
1543 (add_depend2): New function.
1544 (handle_dependencies): Use it.
1546 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1547 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1548 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1550 (lang_ratfor_finish): Use lang_f77_finish.
1552 * compile.am (NOTDEPEND.c.o): Removed.
1553 (OBJEXT.c.obj): Likewise.
1554 * automake.in: Added `flags' attribute to all relevant languages.
1555 (handle_single_transform_list): Handle per-derived-object flags.
1556 Changed interface and all callers.
1557 (handle_built_sources): Don't call handle_single_transform_list.
1558 Added `compile' and `compiler-name' attribute to all relevant
1560 (finish_languages): Define compiler variables here.
1561 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1562 define flag variable or .o rules. Don't add to @suffixes.
1563 (lang_f77_finish): Likewise.
1564 (lang_ppf77_finish): Likewise.
1565 (lang_objc_finish): Likewise.
1566 (lang_java_finish): Likewise.
1567 (finish_languages): Define flag variable here.
1568 Added `output-arg' attribute to all relevant languages.
1569 (finish_languages): Define `.o' rules here.
1570 (finish_languages): Put extension on @suffixes.
1571 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1573 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1575 * automake.in (initialize_global_constants): Invoke gzip for
1576 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1578 * automake.in (initialize_global_constants): Remove zip file
1579 before re-creating it.
1580 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1582 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1583 like in install-info-am.
1584 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1586 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1587 Let's use the good ol' substitution, then.
1588 Reported by Russ Allbery <rra@stanford.edu>
1590 * automake.in (check_canonical_spelling): Insert AM before names
1591 starting with non-letters.
1593 * automake.texi: Document it.
1595 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1597 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1598 doesn't work on perl4. Maybe \Q and \E do.
1600 1999-04-24 Tom Tromey <tromey@cygnus.com>
1602 * automake.in: Treat `.zip' and `.jar' files as Java.
1604 * automake.in (generate_makefile): Define `subdir' after reading
1606 (read_main_am_file): Give programming error if variable defined
1609 1999-04-22 Tom Tromey <tromey@cygnus.com>
1611 * automake.in (generate_makefile): Define `subdir' variable.
1612 (handle_dist): Don't define `subdir'.
1614 * automake.in (handle_texinfo): Change numbering scheme for
1615 stamp-vti files, to avoid problems with DOS.
1616 From Michel de Ruiter.
1618 * automake.texi: Don't mention AM_FUNC_MKTIME.
1619 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1620 * automake.in (scan_one_configure_file): Recognize
1621 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1622 (obsolete_macros): Mention AM_FUNC_MKTIME.
1623 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1624 * m4/mktime.m4: Removed.
1626 1999-04-20 Tom Tromey <tromey@cygnus.com>
1628 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1630 1999-04-20 Brian Ford <ford@vss.fsi.com>
1632 * scripts.am: Change else if's to elif.
1634 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1636 * automake.in (handle_lib_objects_cond): Only require the source
1637 of a LIBOBJ if it's not in BUILT_SOURCES.
1638 Reported by Erez Zadok.
1640 1999-04-19 Tom Tromey <tromey@cygnus.com>
1642 * automake.in: Treat `.class' files as Java source.
1643 (lang_java_finish): Handle `.class' files.
1645 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1647 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1649 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1650 Run some emacs-lisp to find out the site-lisp directory, but
1651 relocate it into prefix.
1653 1999-04-17 Paul Eggert <eggert@twinsun.com>
1655 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1656 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1657 even outside of bigtime_test. Use a time limit of 60 seconds
1658 for the whole test, not 10 seconds per iteration.
1660 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1662 * automake.in: Create stamps for headers in appropriate
1663 directories, even if the input file lives in a different place.
1664 * remake-hdr.am: Likewise.
1666 1999-04-16 Tom Tromey <tromey@cygnus.com>
1669 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1670 Invoke `sed' only once per program.
1671 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1672 Invoke `sed' only once per program.
1674 1999-04-13 Tom Tromey <tromey@cygnus.com>
1676 * automake.in (handle_subdirs): Make `install-recursive' phony.
1677 From Michel de Ruiter.
1679 * automake.in (handle_ltlibraries): Added missing `check'.
1681 1999-04-12 Tom Tromey <tromey@cygnus.com>
1683 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1686 1999-04-11 Tom Tromey <tromey@cygnus.com>
1688 * automake.in (handle_dist): Use AMTAR.
1689 (initialize_global_constants): Likewise.
1690 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1692 * automake.in (lang_sub_obj): New function.
1693 (lang_cxx_rewrite): Use it.
1694 (lang_asm_rewrite): Likewise.
1695 (lang_objc_rewrite): Likewise.
1696 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1697 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1698 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1699 (lang_java_finish): Likewise.
1701 * automake.in: Only register `asm' once.
1702 (lang_asm_finish): Put assembly suffixes on @suffixes.
1704 * libtool.am (.s.lo): Removed.
1706 * automake.in (lang_asm_finish): Handle libtool.
1708 * libtool.am (.c.o): Always pass -c to libtool.
1710 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1711 (lang_yaccxx_rewrite): Likewise.
1712 (lang_lex_rewrite): Likewise.
1713 (lang_lexxx_rewrite): Likewise.
1715 Assembly code no longer included by default:
1716 * compile.am (.s.o): Removed.
1718 * automake.in: Register `asm' language.
1719 (lang_asm_finish): Generate suffix rules for assembly.
1720 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1722 * automake.in (get_object_extension): Substitute @MINUSO@ when
1723 including compile.am.
1724 * compile.am (.c.o): Added @MINUSO@.
1727 First cut at allowing objects in subdirectories:
1728 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1729 * Makefile.am (dist_script_DATA): Added compile.
1730 * m4/minuso.m4: New file.
1731 * automake.in (initialize_global_constants): Added compile to
1733 (seen_cc_c_o): New global.
1734 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1735 (handle_options): Recognize `subdir-objects' option.
1736 (lang_c_rewrite): Added directory argument.
1737 (lang_yacc_rewrite): Likewise.
1738 (lang_yaccxx_rewrite): Likewise.
1739 (lang_lex_rewrite): Likewise.
1740 (lang_lexxx_rewrite): Likewise.
1741 (handle_single_transform_list): Pass directory to _rewrite
1742 function. Generate dependencies for dirstamp files for each .o;
1743 it is just the rules we want to create once.
1744 (lang_c_rewrite): Handle `subdir-objects' option.
1745 (lang_c_rewrite): Require `compile' program.
1746 * compile: New file.
1748 * automake.in (initialize_per_input): Initialize %directory_map.
1749 (handle_single_transform_list): Only create .dirstamp rules once
1752 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1755 * automake.in (configure_input_files): New global.
1756 (scan_configure): Set it.
1757 (handle_configure): Use configure_input_files when determining
1758 which subdirs have a Makefile.am. Fixes confh.test.
1759 (handle_configure): Only recognize acconfig.h in top srcdir.
1761 1999-04-10 Tom Tromey <tromey@cygnus.com>
1763 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1766 * automake.in (am_install_var): Remove redundancies from the
1767 result. Fixes test cond8.test.
1769 * automake.in (handle_single_transform_list): Handle dependency
1770 tracking when files are created in subdirs. Error if object in
1771 subdir has `..' component.
1773 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1775 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1777 * automake.in (lang_yacc_finish): Added missing `&'.
1779 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1781 * automake.in (handle_configure): Replace multiple occurrences of
1782 @STAMP@ in the same line; completes the patch for remake-hdr.am
1785 * automake.in (handle_dependencies): Fix test for `autodep'
1788 * automake.in (handle_source_transform): Add a pfx to used_pfx
1789 only if it's conditional or non-empty, to reduce the number of
1790 empty variables. Emit _OBJECS variable based on program name if
1791 no SOURCES were explicitly specified.
1793 * remake-hdr.am: Create the stamp file before the header file,
1794 and just rename it after, so that the timestamps will be correct.
1795 Reported by Marc Horowitz <marc@mit.edu>
1797 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1798 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1799 Reported by Jim Meyering <meyering@ascend.com>
1801 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1803 1999-04-10 Tom Tromey <tromey@cygnus.com>
1805 * Makefile.am (EXTRA_DIST): New macro.
1806 * ChangeLog.1996, ChangeLog.1998: New files.
1808 1999-04-09 Tom Tromey <tromey@cygnus.com>
1810 * automake.in (handle_source_transform): Handle dist and nodist
1812 (initialize_per_input): Initialize dist_sources.
1813 (check_libobjs_sources): Handle dist and nodist prefixes.
1814 (generate_makefile): Define DIST_SOURCES.
1815 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1817 * automake.texi (Macros): Mention AM_PROG_GCJ.
1818 (Java Support): New node.
1819 (Dist): Documented dist_ and nodist_ prefixes.
1821 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1823 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1824 files, not `.gcj' files.
1826 * m4/gcj.m4: New file.
1827 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1829 * automake.in: Register the `java' language.
1830 (resolve_linker): Handle GCJLINK.
1831 (lang_java_rewrite): New function.
1832 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1833 (lang_c_rewrite): Use new constants.
1834 (lang_cxx_rewrite): Likewise.
1835 (lang_header_rewrite): Likewise.
1836 (lang_yacc_rewrite): Likewise.
1837 (lang_yaccxx_rewrite): Likewise.
1838 (lang_lex_rewrite): Likewise.
1839 (lang_lexxx_rewrite): Likewise.
1840 (lang_asm_rewrite): Likewise.
1841 (lang_f77_rewrite): Likewise.
1842 (lang_ppf77_rewrite): Likewise.
1843 (lang_ratfor_rewrite): Likewise.
1844 (lang_objc_rewrite): Likewise.
1845 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1846 return from rewrite function.
1847 (lang_java_finish): New function.
1848 (register_language): Changed interface and all calls. Added
1849 `autodep' settings to various languages.
1850 (handle_dependencies): Use `autodep' property of language when
1851 including dependency-tracking code.
1853 1999-04-07 Tom Tromey <tromey@cygnus.com>
1855 * automake.in (handle_texinfo): Indentation fixes.
1857 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1859 * automake.in (value_to_list): Skip *only* trailing backslashes.
1861 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1863 * automake.in (value_to_list): Skip trailing backslashes.
1865 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1867 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1869 Reported by Per Cederqvist <ceder@lysator.liu.se>
1870 (handle_texinfo): Do not define texinfo_tex='.', use
1871 '$(srcdir)/texinfo.tex' instead; the directory name will be
1873 (require_conf_file_with_line): Fixed typo.
1875 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1877 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1878 we do not depend on PATH starting with `.'.
1880 1999-03-31 Tom Tromey <tromey@cygnus.com>
1882 * automake.in (quote_cond_val): Quote \n.
1883 (unquote_cond_val): Unquote \n.
1884 (read_am_file): If line ends with `\', preserve it and add a
1886 (read_main_am_file): In conditional case, put conditional text at
1887 beginning of each generated line.
1889 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1891 * automake.in (handle_tests): support XFAIL_TEST
1892 * automake.texi: document it
1894 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1896 * End of merge from trunk.
1898 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1900 * automake.in (cmdline_use_dependencies): Reintroduce it.
1901 (--ignore-deps): Set cmdline_use_dependencies again.
1902 (handle_dependencies): If use_dependencies is not set, define
1904 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1905 (scan_configure): Do not require depcomp when ignoring
1907 (initialize_global_constants): Reintroduce --ignore-deps.
1909 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1911 * depcomp: New file.
1912 * Makefile.am (dist_script_DATA): Added depcomp.
1913 * automake.in (cmdline_use_dependencies, omit_dependencies,
1914 dependency_macros): Removed.
1915 (--ignore-deps): Just ignore.
1916 (handle_single_transform_list, dep_files): Named dependency files
1917 as \$(DEPDIR)/$base.P$obj
1918 (handle_lib_objects_cond): Likewise.
1919 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1920 (scan_one_configure_file): Likewise.
1921 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1922 Ignore OMIT_DEPENDENCIES.
1923 (handle_configure): Do not pass --ignore-deps.
1924 (scan_configure): Require `depcomp'.
1925 (initialize_global_constants): Make `depcomp' common. Remove
1926 `--ignore-deps' from usage.
1927 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1928 * compile.am: Remove rules for .c.o and .c.obj
1929 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1930 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1931 Use it and depcomp in suffix rules.
1932 * libtool.m4: Likewise.
1933 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1934 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1935 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1936 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1937 from the Makefile and subst it in deps. Report creation of deps
1938 files (for now). Replace $U with `_' and the empty string. Write
1939 a comment to each created file.
1940 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1941 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1942 dependency mode and AC_SUBST [$1]DEPMODE.
1943 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1944 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1945 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1947 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1949 * depout.m4: Fix sed expression for extracting `dirpart'.
1951 1999-03-29 Tom Tromey <tromey@cygnus.com>
1953 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1955 * compile.am (.c.obj): Also disabled when dependency tracking
1957 * depend2.am (@EXT@.obj): New target.
1958 * automake.in (get_object_extension): Added explanatory comment.
1959 (generate_dependency_code): Handle $seen_objext.
1961 * depend.am: Removed obsolete comment.
1962 * depend2.am: Minor formatting fix.
1964 1999-03-28 Tom Tromey <tromey@cygnus.com>
1966 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1968 (EXTRA_DIST): Removed.
1969 * automake.in (dependency_macros): New global.
1970 (scan_one_configure_file): Recognize new dependency tracking
1971 macros, and define new resulting configure variables.
1972 (generate_dependency_code): New sub.
1973 (handle_dependencies): Use it.
1974 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1976 (@EXT@.lo): Likewise.
1977 * m4/depvars.m4: New file.
1978 * m4/objcdepend.m4: New file.
1979 * m4/cxxdepend.m4: New file.
1980 * m4/init.m4: Moved dependency handling code into depout.m4.
1981 * m4/depout.m4: New file.
1982 * m4/ccdepend.m4: New file.
1983 * m4/depend.m4: New file.
1985 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1986 (@EXT@.lo): Likewise.
1987 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1990 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1991 will create the required .P files for dependency tracking.
1992 * automake.in (scan_dependency_file): Removed.
1993 (handle_dependencies): Never call scan_dependency_file.
1994 (generate_deps): Removed.
1995 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1996 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1997 (srcdir_name): Removed.
1998 (build_directory): Removed.
1999 (initialize_global_constants): Changed $USAGE to reflect argument
2001 (handle_dist_worker): Never run automake in `dist' rule.
2002 (handle_configure): Use --ignore-deps, not --include-deps.
2003 * depend.am (DEPS_MAGIC): Removed.
2004 (DEP_FILES): Unconditionally include.
2006 1999-03-27 Tom Tromey <tromey@cygnus.com>
2008 * automake.in (saw_sources_p): Correctly count header extensions
2010 (handle_headers): Fixed order of arguments to am_install_var.
2012 * automake.in (am_install_var): Don't error if EXTRA_foo is
2015 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
2016 (uninstall-@DIR@SCRIPTS): Likewise.
2017 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
2018 (uninstall-@DIR@PROGRAMS): Likewise.
2019 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
2020 (uninstall-@DIR@LTLIBRARIES): Likewise.
2021 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
2022 (uninstall-@DIR@LISP): Likewise.
2023 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
2024 (uninstall-@DIR@LIBRARIES): Likewise.
2025 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
2026 (uninstall-@DIR@JAVA): Likewise.
2027 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
2028 (uninstall-@DIR@HEADERS): Likewise.
2029 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
2030 (uninstall-@DIR@DATA): Likewise.
2031 * Makefile.in: Rebuilt.
2032 * Makefile.am (dist_pkgdata_DATA): Renamed.
2033 (EXTRA_DIST): Removed.
2034 (install-data-hook): Added POST_INSTALL; print commands as they
2035 are run; respect DESTDIR.
2036 * dist-vars.am (DISTFILES): Removed $(HEADERS).
2037 * automake.in (am_install_var): Accept `-candist' and
2038 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
2039 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
2040 and `nodist_' prefixes.
2041 (handle_scripts): Pass -candist to am_install_var.
2042 (handle_data): Pass -defaultdist to am_install_var.
2043 (handle_headers): Likewise.
2044 (handle_emacs_lisp): Pass -candist to am_install_var.
2045 (handle_java): Pass -candist to am_install_var.
2047 1999-03-26 Tom Tromey <tromey@cygnus.com>
2049 * m4/init.m4: Fixed typo when invoking SHELL.
2051 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
2052 yacc header file. From Ralf Corsepius.
2054 * Makefile.in: Rebuilt.
2055 * Makefile.am: Updated to reflect removal of TAR subst.
2056 * automake.texi (Options): Document dist-bzip2.
2057 * automake.in (TAR): Removed global.
2058 (initialize_global_constants): Changed `dist' to use pipe with
2059 gzip; work with non-GNU tar.
2060 (handle_dist): Handle non-GNU tar. Don't define TAR.
2061 (initialize_global_constants): Added `dist-bzip2' entry.
2062 (handle_options): Recognize dist-bzip2 option.
2063 (handle_dist): Likewise.
2064 * configure: Rebuilt.
2065 * configure.in: Don't check for tar.
2066 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
2069 * automake.in (am_install_var): Removed obsolete comment.
2071 * texinfos.am (uninstall-info): Don't print loop but instead print
2072 commands. Simplified pre-uninstall loop.
2073 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
2074 instead print commands.
2075 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
2077 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
2078 instead print commands.
2079 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
2080 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
2081 instead print commands.
2082 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
2084 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
2086 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
2087 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
2088 instead print commands.
2089 * data.am (install-@DIR@DATA): Strip subdir from file name.
2090 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
2091 instead print commands.
2093 * automake.in (handle_merge_targets): `install-strip' is a phony
2094 target. From Michel de Ruiter.
2096 1999-03-25 Tom Tromey <tromey@cygnus.com>
2098 * automake.in (define_compiler_variable): Don't define variable
2101 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2103 * automake.in (LDADD): accept -dlopen and -dlpreopen here
2104 * automake.texi: ditto
2106 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
2108 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
2109 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
2111 1999-03-24 Tom Tromey <tromey@cygnus.com>
2113 * automake.in (define_compiler_variable): New sub.
2114 (finish_languages): Use it.
2115 (lang_cxx_finish): Likewise.
2116 (lang_f77_finish): Likewise.
2117 (lang_ppf77_finish): Likewise.
2118 (lang_ratfor_finish): Likewise.
2119 (lang_objc_finish): Likewise.
2121 1999-03-23 Tom Tromey <tromey@cygnus.com>
2123 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
2124 sed invocations. From Elrond.
2125 (uninstall-@DIR@PROGRAMS): Likewise.
2127 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
2128 From Ralf Corsepius.
2130 1999-02-01 Thomas Tanner <tanner@gmx.de>
2132 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
2133 warning when AM_PROG_LIBTOOL was found
2134 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
2136 1999-03-22 Tom Tromey <tromey@cygnus.com>
2138 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
2139 * automake.in (define_standard_variables): New sub.
2140 (read_main_am_file): Use two passes to scan standard variables.
2141 (read_am_file): Don't special-case configure variables with `+='.
2142 (initialize_per_input): Initialize %var_was_plus_eq.
2143 (read_am_file): Set var_was_plus_eq element correctly.
2144 (define_variable): Give error if variable assigned with `+=' is
2146 (initialize_per_input): Initialize %am_var_defs.
2147 (file_contents_with_transform): Set element in %am_var_defs.
2148 (read_am_file): Use %am_var_defs.
2150 1999-03-21 Tom Tromey <tromey@cygnus.com>
2152 * automake.in (initialize_per_input): Initialize %object_map.
2153 (handle_single_transform_list): Allow source files in
2156 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
2158 * automake.in (handle_dist): Add missing newline after the first
2161 1999-03-11 Tom Tromey <tromey@cygnus.com>
2163 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
2164 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
2167 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
2169 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
2170 legitimate ending. Fixes libobj9.test.
2172 From Ralf Corsepius. Fixes lex3.test.
2173 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
2174 maintainer-clean list.
2175 (lang_lex_finish): Likewise.
2177 1999-03-02 Tom Tromey <tromey@cygnus.com>
2179 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
2180 construct to work around FreeBSD make/sh problem. From Rich Wales.
2182 1999-03-01 Tom Tromey <tromey@cygnus.com>
2184 Fixes from Pavel Roskin:
2185 * automake.in (variable_conditions_sub): Sort list passed to
2186 variable_conditions_permutations.
2187 (variable_conditions): Sort list before returning.
2189 1999-02-27 Tom Tromey <tromey@cygnus.com>
2191 * automake.in (lang_extensions): New sub.
2192 (handle_dependencies): Use it.
2193 (cxx_extensions): Removed.
2194 (lang_cxx_finish): Use lang_extensions.
2195 (f77_extensions): Removed.
2196 (lang_f77_finish): Use lang_extensions.
2197 (objc_extensions): Removed.
2198 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
2199 Report from Dave Morrison.
2200 (lang_ratfor_finish): Likewise.
2202 1999-02-26 Tom Tromey <tromey@cygnus.com>
2204 * automake.in (finish_languages): Added AM_LDFLAGS.
2205 (lang_cxx_finish): Likewise.
2206 (lang_f77_finish): Likewise.
2207 (lang_ppf77_finish): Likewise.
2208 (lang_ratfor_finish): Likewise.
2209 (lang_objc_finish): Likewise.
2211 1999-02-11 Tom Tromey <tromey@cygnus.com>
2213 * aclocal.in (obsolete_macros): Copied from automake.in.
2214 (obsolete_rx): Use only keys of obsolete_macros.
2215 (scan_configure): Report replacement macro for an obsolete macro.
2216 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
2218 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
2219 entry. Fixes obsolete2.test.
2221 * automake.in (obsolete_macros): Use empty string to indicate no
2223 (scan_one_configure_file): Likewise.
2225 1999-02-07 Paul Eggert <eggert@twinsun.com>
2227 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
2228 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
2229 needed by some programs.
2231 1999-02-10 Tom Tromey <tromey@cygnus.com>
2233 * automake.in (handle_texinfo): Added `pgs' to list of
2234 extensions. From NISHIDA Keisuke.
2236 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
2238 * automake.in (handle_texinfo): remove texinfo.tex from
2241 1999-02-02 Tom Tromey <tromey@cygnus.com>
2243 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
2244 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
2245 * header-vars.am (INSTALL_PROGRAM): Removed
2246 AM_INSTALL_PROGRAM_FLAGS.
2247 (INSTALL_STRIP_FLAG): New macro.
2249 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
2251 (lang_yacc_finish): Likewise.
2252 (lang_lex_finish): Likewise.
2254 1999-02-01 Tom Tromey <tromey@cygnus.com>
2256 * automake.in (handle_dist_worker): Correctly find find in $$d,
2257 not $$. From Bill Davidson.
2259 * automake.in (finish_languages): Use "&", not "do". From Pavel
2261 (handle_single_transform_list): Likewise.
2263 1999-01-29 Tom Tromey <tromey@cygnus.com>
2265 * automake.in (handle_configure): Removed unused variable. From
2268 * ansi2knr.c: New version from L. Peter Deutsch.
2270 1999-01-22 Tom Tromey <tromey@cygnus.com>
2272 * automake.in (require_file_internal): Correctly examine return
2273 value of `system'. From Andris Pavenis. Fixes copy.test.
2275 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2277 * automake.in (lang_ppf77_rewrite): New function. From Jochen
2278 Kuepper. Fixes ppf77.test.
2279 (lang_ratfor_rewrite): New function
2281 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2282 fix). From Erez Zadok.
2284 1999-01-15 Tom Tromey <tromey@cygnus.com>
2286 * configure.in: Version 1.4a (oops).
2288 * configure.in: Updated version to 1.5a.
2290 1999-01-14 Tom Tromey <tromey@cygnus.com>
2292 * automake.in (handle_configure): Compute $header_dir based on
2293 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
2295 (handle_configure): Compute relative path to input header
2296 correctly in all cases.
2298 * automake.in (handle_tests): Avoid error messages from dejagnu
2299 test rules. From Karl Heuer.
2301 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2303 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2305 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2306 From Alexandre Oliva and Erez Zadok.
2308 * automake.in (create): Renamed from touch.
2309 (handle_configure): Use create, not touch.
2311 * config.sub, config.guess: New versions from autoconf.
2313 * mkinstalldirs: New version from autoconf.
2315 1999-01-12 Tom Tromey <tromey@cygnus.com>
2317 * config.sub, config.guess, COPYING, texinfo.tex: New versions
2320 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
2322 * automake.in (PATH_PATTERN): New variable:
2323 (INCLUDE_PATTERN): Use it. Ignore all include commands using
2324 symbols besides $(top_srcdir) and $(srcdir).
2326 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2328 * automake.in (handle_dist_worker): avoid failure in `make dist'
2329 if last file is a builddir-only file
2331 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2333 * missing (autoheader): `s' was missing from sed script; grr
2335 1999-01-11 Tom Tromey <tromey@cygnus.com>
2337 * remake-hdr.am (@STAMP@): Reverted timestamp change.
2338 ($(srcdir)/@STAMP@.in): Likewise.
2340 1999-01-10 Tom Tromey <tromey@cygnus.com>
2342 * Makefile.am (scriptdir): New macro.
2343 (script_DATA): Likewise.
2344 (install-data-hook): Use them.
2345 (EXTRA_DIST): Added script_DATA.
2346 (installcheck-local): Use script_DATA.
2348 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2350 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2352 * missing (autoheader): accept multiple header files
2353 (automake): simplify sed processing
2355 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2357 * automake.in (handle_configure, stamp_dir): create only one stamp
2358 file per header, instead of one in the top-level directory and one
2359 in the directory that contains the header.
2361 1999-01-10 Tom Tromey <tromey@cygnus.com>
2363 * automake.in (lang_objc_finish): Formatting fix.
2365 * automake.in (objc_extensions): New sub.
2366 (handle_dependencies): Only generate dependency-tracking code for
2367 ObjC when ObjC source seen.