1 2000-12-29 Derek Price <derek.price@openavenue.com>
3 * automake.in (handle_dependencies): Switched the DEP_FILES
4 definition to be conditional on @AMDEP@.
6 2001-02-03 Ville Laurikari <vlaurika@hutcs.cs.hut.fi>
8 * depcomp (aix): New side-effect dependency tracking mode, for
9 the C for AIX compiler.
10 * m4/depend.m4 (AM_DEPENDENCIES): Recreate `conftest.c' and
11 `conftest.h' for each test.
13 2001-02-03 Tom Tromey <tromey@redhat.com>
15 * automake.texi (Dist): Updated to mention caveat of putting
16 directory in EXTRA_DIST and also providing a nice example of
18 From Ganesan Rajagopal.
20 * m4/depend.m4 (depcpp): Run tests in a subdir. Fixes report from
23 * automake.in (scan_one_autoconf_file): Disable warning about
26 * automake.in (handle_configure): Don't modify variable which
27 aliases list element. Don't push @inputs onto the dist list.
29 (initialize_per_input) [dist_dirs]: New variable.
30 (handle_dist_worker): Use global dist_dirs.
31 (handle_configure): Set dist_dirs entries at toplevel.
33 2001-02-02 Gordon Sadler <gbsadler1@lcisp.com>
35 * automake.texi (Java Support): Added index, @section.
37 2001-02-02 Pavel Roskin <proski@gnu.org>
39 * automake.in (scan_autoconf_traces): Restore trace messages.
41 * automake.in (handle_aclocal_m4): Fix stripping of the initial
42 "./" from the dependencies of aclocal.m4.
43 Reported by Ralf Corsepius.
45 2001-02-01 Pavel Roskin <proski@gnu.org>
47 * aclocal.in: Rename "verbosity" to "verbose". Always prepend
48 "aclocal: " to the verbose output.
50 * automake.in: Remove all debugging messages.
52 2001-01-31 Akim Demaille <akim@epita.fr>
54 * automake.in (add_depend2): Quote properly $obj and $source.
56 2001-01-31 Akim Demaille <akim@epita.fr>
58 * depend2.am: Instead of replacing @PFX@ in $(@PFX@COMPILE), and
59 then replacing `$(@PFX@COMPILE)' for the files that need some
60 special flags, use only @COMPILE@. Similarly for @LTCOMPILE@.
61 Try to document this file.
62 * automake.in (add_depend2): Adjust to these changes.
64 2001-01-31 Akim Demaille <akim@epita.fr>
66 * automake.in (%factored_dependencies): New.
67 (file_contents): Use it.
68 (handle_phony): Rename as...
69 (handle_factored_dependencies): this.
70 * subdirs.am: No need for convolved syntax to declare .PHONY.
72 2001-01-31 Akim Demaille <akim@epita.fr>
74 * automake.in: maintainer-check fixes.
76 2001-01-31 Akim Demaille <akim@epita.fr>
78 * automake.in (file_contents): Rewrite: instead of trying to parse
79 it line by line, first swallow it completely into $CONTENTS,
80 *then*, parse it *paragraph* by paragraph.
82 2001-01-30 Akim Demaille <akim@epita.fr>
84 * automake.in (file_contents): Remove.
85 (file_contents_with_transform): Swap the order of the arguments,
87 (file_contents): this.
90 2001-01-30 Tom Tromey <tromey@redhat.com>
92 * automake.in (scan_one_autoconf_file): Don't mention
95 2001-01-29 Akim Demaille <akim@epita.fr>
97 * automake.in (&scan_autoconf_config_files): Extract from
98 &scan_one_autoconf_file.
99 (&scan_one_autoconf_file): Use it.
100 (&scan_autoconf_traces): New.
101 ($scan_autoconf_files): Use it.
103 2001-01-29 Akim Demaille <akim@epita.fr>
105 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
107 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
108 (handle_etags, handle_subdirs): Don't push into @phony.
110 2001-01-29 Akim Demaille <akim@epita.fr>
112 * automake.in (scan_one_autoconf_file): Correctly recognize
115 2001-01-29 Akim Demaille <akim@epita.fr>
117 * automake.in (handle_tests_dejagnu): New, extracted from...
118 (handle_tests): here. Use `.PHONY:'.
120 2001-01-29 Akim Demaille <akim@epita.fr>
122 * automake.in (handle_phony): Sort.
123 (file_contents_with_transform): Catch `.PHONY:'.
124 (handle_tests): Instead dumping the hard coded target check-TESTS
125 and registering its .PHONYsm, get them from...
126 * check.am: here, new file.
128 2001-01-29 Akim Demaille <akim@epita.fr>
130 * automake.in (add_depend2): Use &transform.
132 2001-01-29 Akim Demaille <akim@epita.fr>
134 * automake.in (handle_tags): Use &transform.
135 (am_error, am_line_error, am_conf_error, read_am_file): Use
136 directly arrays in strings, no need for &join.
138 * Makefile.am (maintainer-check): Use grep -w when looking for
141 2001-01-29 Akim Demaille <akim@epita.fr>
143 * automake.in (prog_error): New.
146 2001-01-29 Akim Demaille <akim@epita.fr>
148 * automake.in (handle_single_transform_list): if (@list) { foreach
149 (@list) ...} can be written as a simple `foreach' loop.
151 2001-01-29 Akim Demaille <akim@epita.fr>
153 * automake.in (define_standard_variables): Use &transform instead
156 2001-01-29 Akim Demaille <akim@epita.fr>
158 * automake.in (handle_texinfo): Use the new $texinfodir instead of
159 the removed $texinfo_tex.
161 2001-01-29 Akim Demaille <akim@epita.fr>
163 * automake.in (handle_libraries, handle_ltlibraries): Use
166 2001-01-29 Akim Demaille <akim@epita.fr>
168 * automake.in (handle_programs) <xexe>: Remove, replaced by
170 Use it, and &transform.
172 2001-01-29 Akim Demaille <akim@epita.fr>
174 * automake.in (get_object_extension) <$default_includes>: New.
175 Use it and &transform.
177 2001-01-28 Tom Tromey <tromey@redhat.com>
179 * automake.in (variable_value_as_list_worker): Handle entries in
180 %am_var_defs. Fixes listval.test.
182 2001-01-26 Akim Demaille <akim@epita.fr>
184 * automake.in (handle_texinfo): Don't use $conf_pat, just
185 $conf_dir to transform MDDIR since now &transform handles the
186 escaping of RE special characters by itself.
188 2001-01-24 Akim Demaille <akim@epita.fr>
190 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
192 * m4/init.m4: Likewise.
193 * m4/sanity.m4: s/conftestfile/conftest.file/.
195 2001-01-24 Tom Tromey <tromey@redhat.com>
197 * automake.in (handle_libraries): Use $configure_ac; typo fix.
199 * automake.in (transform): Quote substitution.
201 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
202 Tom Tromey <tromey@redhat.com>
204 * automake.in (obsolete_rx): Match whole macro names, not
206 * aclocal.in (obsolete_rx): Likewise.
208 2001-01-21 Tom Tromey <tromey@redhat.com>
210 * automake.texi: Changed dir category.
212 2001-01-18 Akim Demaille <akim@epita.fr>
214 * automake.in (handle_texinfo): Use &transform, and transform
216 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
218 2001-01-16 Akim Demaille <akim@epita.fr>
220 Let Automake support `configure.ac'.
222 * automake.in: In the comments, prefer `configure.ac' to
224 When using &am_conf_error, don't repeat `in configure.in', since
225 the function already reports it.
226 When referring to `configure.in' use `$configure_ac' instead.
227 (configure_ac): New global variable.
228 (scan_configure, scan_one_configure_file): Rename as...
229 (scan_autoconf_files, scan_one_autoconf_file): this.
230 (scan_autoconf_files): Compute $configure_ac.
231 (transform): New function.
232 (handle_configure): Use it to transform CONFIGURE_AC in
233 `remake.am' and in `remake-hdr.am'.
234 (common_files): Also consider `configure.ac'.
235 Use consistently single quotes.
236 * aclocal.in (configure_ac): New variable.
238 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
239 * remake.am: Likewise.
240 * remake-hdr.am: Likewise.
242 2001-01-16 Akim Demaille <akim@epita.fr>
244 * m4/multi.m4: Remove the hairy useless quotation of `$'.
245 Simplify `ifelse([$2],,,[$2])' into... `$2'!
246 * m4/minuso.m4: Don't use changequote!
247 * m4/cond.m4: Fix quotation.
248 * m4/sanity.m4: Follow the Autoconf coding style.
249 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
250 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
253 2001-01-15 Tom Tromey <tromey@redhat.com>
255 * automake.in (handle_single_transform_list): Don't print rule
256 here when source is in subdir and object is not. Fixes
259 * automake.in (handle_single_transform_list): Correctly compute
260 $nonansi_obj. Fixes cxxansi.test.
262 * automake.texi (Man pages): Updated to account for man1_MANS,
265 2001-01-13 Steve Robbins <smr@debian.org>
266 Tom Tromey <tromey@redhat.com>
268 * aclocal.in (scan_configure): Don't recognize macro assignments
270 (add_file): Likewise.
272 2001-01-13 Kevin Ryde <user42@zip.com.au>
274 * automake.in (handle_ltlibraries): Omit -rpath from
275 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
277 2001-01-11 Tom Tromey <tromey@redhat.com>
279 * depcomp (case gcc3): Use -MD, not -M.
281 2001-01-10 Tom Tromey <tromey@redhat.com>
283 * depcomp: Handle gcc 3.
285 2000-12-23 Tom Tromey <tromey@redhat.com>
287 * configure.in: Updated to 1.4c for cvs.
289 * configure.in: Updated to 1.4b and released.
291 * config.guess, config.sub, texinfo.tex: New versions.
293 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
296 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
297 distclean and maintainer-clean.
298 * automake.texi (Top level): Document use of DIST_SUBDIRS.
300 From Rusty Ballinger:
301 * automake.in (handle_java): Don't skip `noinst' prefix.
303 * automake.texi (Invoking aclocal): Mention ## comments.
305 2000-12-22 Tom Tromey <tromey@redhat.com>
307 From Raja R Harinath:
308 * automake.in (libtoolize_sometimes): New global.
309 (initialize_global_constants): Added libtoolize_sometimes to
312 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
314 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
316 2000-12-21 Tom Tromey <tromey@redhat.com>
318 * automake.texi (Tags): Document GTAGS target.
319 * tags.am (GTAGS): New target.
321 * automake.in (libtoolize_files): Removed ltconfig.
322 (initialize_global_constants): Added ltconfig to common_files.
324 2000-12-21 Kevin Ryde <user42@zip.com.au>
326 * automake.in (handle_footer): Generate .SUFFIXES target when user
327 defines suffixes but automake does not.
329 2000-12-20 Marc Espie <espie@openbsd.org>
331 * automake.in (handle_texinfo): Make path of $vtexi explicit in
333 * texi-vers.am: Likewise.
335 2000-12-20 Tom Tromey <tromey@redhat.com>
338 * automake.in (handle_footer): Always push user suffixes at the
340 * automake.texi (Suffixes): Updated to reflect new suffix
343 2000-12-18 Tom Tromey <tromey@redhat.com>
345 * automake.in (handle_built_sources): Removed.
346 (handle_merge_targets): Handle BUILT_SOURCES.
347 * automake.texi (Sources): Updated documentation of
350 2000-12-17 Tom Tromey <tromey@redhat.com>
352 * m4/protos.m4: Always do header checks.
354 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
357 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
358 conditionally defined. Fixes PR automake/77 and ldflags.test.
360 2000-11-25 Tom Tromey <tromey@cygnus.com>
362 * automake.in (file_contents_with_transform): Added file name and
363 line number to error report.
364 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
366 2000-11-23 Pavel Roskin <proski@gnu.org>
368 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
370 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
371 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
372 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
373 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
374 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
375 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
376 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
378 2000-11-23 Tom Tromey <tromey@cygnus.com>
380 * automake.in (require_file_internal): Pass $file as second
381 argument to maybe_push_required_file. Fixes PR automake/87.
383 2000-11-18 Tom Tromey <tromey@cygnus.com>
385 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
386 /dev/null. From Paul Martinolich.
388 2000-11-16 Morten Eriksen <mortene@sim.no>
390 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
391 opened, otherwise it has no effect.
393 2000-10-23 Morten Eriksen <mortene@sim.no>
395 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
396 CRLFs. This circumvents a bug in Cygwin bash.
398 * automake.in (generate_makefile): Don't write Makefile.in
399 files with CRLFs, as it causes problems for the dependency-file
400 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
402 2000-10-19 Alex Hornby <alex@anvil.co.uk>
404 * automake.in (handle_merge_targets): Allow parallel install
407 2000-10-19 Akim Demaille <akim@epita.fr>
409 * subdir4.test (depcomp): Don't create it, defs does.
411 2000-10-17 Pavel Roskin <proski@gnu.org>
413 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
414 acinclude.m4 from the dependencies of aclocal.m4 to avoid
415 circular and duplicated dependencies. Strip "./" from the
418 2000-10-17 Lars J. Aas <larsa@sim.no>
420 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
421 normal comments (#) instead of m4 dnl-type comments.
423 2000-10-17 Alex Hornby <alex@anvil.com>
425 * depcomp: Altered sed clause to strip of inclusion depth
426 numbers generated by cpp. Also output in gcc style.
428 2000-10-16 Morten Eriksen <mortene@sim.no>
430 * depcomp (msvisualcpp): New dependency tracking mode, for
431 Microsoft Visual C++.
433 2000-10-16 Morten Eriksen <mortene@sim.no>
435 * depcomp: Fix a bug in SGI dependency tracking mode with source
436 files which do not dependend on any other source files.
438 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
440 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
441 * automake.in, automake.texi: Likewise.
442 * clean-kr.am, clean.am: Likewise.
443 * comp-vars.am: Likewise.
444 * compile, compile.am: Likewise.
445 * data-clean.am: Likewise.
447 * dejagnu.am: Likewise.
449 * depend.am, depend2.am: Likewise.
450 * dist-vars.am, dist.am: Likewise.
451 * elisp-comp: Likewise.
452 * footer.am: Likewise.
453 * header-vars.am, header.am: Likewise.
454 * java-clean.am java.am: Likewise.
455 * kr-extra.am: Likewise.
456 * library.am: Likewise.
457 * libs-clean.am, libs.am: Likewise.
458 * libtool.am: Likewise.
459 * lisp-clean.am lisp.am: Likewise.
460 * ltlib-clean.am ltlib.am: Likewise.
461 * ltlibrary.am: Likewise.
462 * m4/Makefile.in: Likewise.
463 * m4/strtod.m4: Likewise.
464 * mans-vars.am, mans.am: Likewise.
465 * mdate-sh: Likewise.
467 * multilib.am: Likewise.
468 * program.am: Likewise.
469 * progs-clean.am, progs.am: Likewise.
470 * python-clean.am, python.am: Likewise.
471 * remake-hdr.am, remake.am: Likewise.
472 * scripts.am: Likewise.
473 * subdirs.am: Likewise.
474 * tags-clean.am, tags.am: Likewise.
475 * texi-vers.am: Likewise.
476 * texinfos.am: Likewise.
479 2000-10-09 Pavel Roskin <proski@gnu.org>
481 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
482 assignments changing $? - it's broken in ash-0.2.
483 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
485 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
486 defined use it as the list of M4 files aclocal.m4 depends on.
488 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
490 * aclocal.in (add_file): Strip comments while scanning for
493 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
495 * automake.in (initialize_global_constants): End the
496 result of dist-bzip2 with tar.bz2, not bz2.
498 2000-08-30 Tom Tromey <tromey@cygnus.com>
500 Fix for PR automake/72:
501 * automake.in (initialize_per_input): Define `need_link'.
502 (finish_languages): Use need_link.
503 (handle_source_transform): Set need_link if required.
505 2000-08-28 Tom Tromey <tromey@cygnus.com>
507 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
509 (register_language): Default the `derived-autodep' option.
510 (handle_single_transform_list): Add to %dep_files if language has
511 `derived-autodep' set. Re-fixes lex4.test.
513 2000-08-27 Tom Tromey <tromey@cygnus.com>
515 * automake.in (handle_single_transform_list): Only add to
516 %dep_files if language is found and supports automatic dependency
517 tracking. Fixes PR automake/75.
519 * automake.in (am_primary_prefixes): Don't set `valid' for
520 configure variables that don't satisfy the other constraints.
521 Fixes PR automake/68.
523 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
525 Fix for PR automake/67.
526 * automake.in (handle_multilib): remove .am suffix in fragment
527 name passed to file_contents.
528 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
529 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
530 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
532 2000-08-26 Tom Tromey <tromey@cygnus.com>
534 * subdirs.am (maintainer-clean-recursive): Always run clean rules
535 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
537 * automake.in (handle_man_pages): Generate install targets for man
538 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
540 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
541 Fix for PR automake/74. From js pendry.
543 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
545 * depcomp (gcc): Support DOS-style absolute file names with drive
548 2000-08-06 Jim Meyering <meyering@lucent.com>
550 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
551 if the depcomp file exists, before calling require_config_file on
552 `depcomp'. This makes require_file_internal skip its buggy existence
553 test that would make automake fail (with `required file `lib/depcomp'
554 not found') when AC_CONFIG_AUX_DIR is not set.
556 This change change does not fix the existing bug where, if `depcomp'
557 is not present in the build directory (at the top level), automake
558 still gives the inaccurate diagnostic about *lib*/depcomp rather
561 2000-08-05 Jim Meyering <meyering@lucent.com>
563 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
564 add missing closing bracket and closing parenthesis.
565 Don't quote the first argument to AC_OUTPUT_COMMANDS.
566 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
568 2000-08-04 Tom Tromey <tromey@cygnus.com>
570 Idea from Nicolas Thiery:
571 * automake.texi (Tests): Document DEJATOOL as a list.
572 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
573 (check-DEJAGNU): Run runtest in a loop.
575 2000-08-02 Akim Demaille <akim@epita.fr>
577 * m4: Quote properly the name of the macros being defined.
578 Use `#' instead of `dnl' where appropriate.
579 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
581 Don't quote passive characters.
582 Pull the AC_PREREQ outside the macro.
583 * m4/init.m4: Pull the AC_PREREQ outside the macro.
585 2000-07-28 Tom Tromey <tromey@cygnus.com>
587 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
590 2000-07-13 Kevin Ryde <user42@zip.com.au>
592 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
593 EXTRA_PROGRAMS as well as other _PROGRAMS.
595 2000-07-02 Jim Meyering <meyering@lucent.com>
597 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
599 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
601 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
604 2000-06-02 Morten Eriksen <mortene@sim.no>
606 * depcomp: workaround for problem with SGI IRIX sed (it can only
607 handle lines of up to 8192 characters, the rest of the line will
610 2000-05-31 Morten Eriksen <mortene@sim.no>
612 * depcomp: tell SGI MIPSpro compilers to generate dependencies
613 through the pre-processor (only CVS libtool has the -Wc option
616 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
618 * missing: Add support for `help2man'.
620 2000-05-11 Tom Tromey <tromey@cygnus.com>
622 * automake.in (handle_tests): Work correctly if TESTS is empty;
623 print nothing if it is. From Kevin Ryde.
625 2000-05-08 Tom Tromey <tromey@cygnus.com>
627 * automake.texi (Texinfo): Mention vers*.texi.
629 2000-05-04 Akim Demaille <akim@epita.fr>
631 AM_INIT_AUTOMAKE is no longer optional, so don't look for
632 `VERSION=' and `PACKAGE='.
633 * automake.in (seen_package, seen_version): Remove initializations of
634 unnecessary variables.
635 (scan_one_configure_file): Don't set them.
636 (scan_configure): Don't use them.
638 2000-05-01 Akim Demaille <akim@epita.fr>
640 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
641 (AM_INIT_AUTOMAKE): Update the writing conventions.
642 Quote the arguments properly.
643 Add a few missing `dnl'.
644 Use AC_PROVIDE_IFELSE.
646 2000-04-26 Jim Meyering <meyering@lucent.com>
648 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
649 macro. Based on a patch from Harlan Stenn.
651 2000-04-13 Akim Demaille <akim@epita.fr>
653 * compile: Remove unnecessary double quotes in assignments.
655 2000-04-13 Akim Demaille <demaille@epita.fr>
657 * automake.in (scan_one_configure_file): Also recognize
659 Remove trailing blanks.
661 2000-04-05 Tom Tromey <tromey@cygnus.com>
663 * header-vars.am (DESTDIR): Commented out definition.
665 * automake.in (require_file_internal): Pass --copy to libtoolize
666 if automake was run with `--copy'.
668 2000-03-22 Tom Tromey <tromey@cygnus.com>
670 * automake.texi (Uniform): Fix definition of pkglibdir.
671 From thi <ttn@revel.glug.org>.
673 2000-03-19 Tom Tromey <tromey@cygnus.com>
675 * aclocal.in (parse_arguments): Copyright 2000.
676 (write_aclocal): Likewise.
677 * automake.in (parse_arguments): Copyright 2000.
678 (initialize_global_constants): Likewise.
680 * automake.in (generate_makefile): Call handle_dist after
681 handle_dependencies and handle_tests. Fixes subobj3.test and
682 pr19.test regressions.
684 2000-03-19 Gordon Matzigkeit <gord@fig.org>
686 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
687 as the current directory.
688 (@EXT@.lo): Likewise.
690 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
692 * automake.in (handle_data): Pass -candist instead of
693 -defaultdist, for the compatibility.
695 2000-03-19 Tom Tromey <tromey@cygnus.com>
697 Fix for test nodepcomp.test:
698 * automake.in (require_file_internal): Use readlink on symlinks.
699 Only unlink file if we are going to try to add it again.
700 (handle_dependencies): Require `depcomp' here.
701 (scan_configure): Don't require `depcomp'.
703 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
705 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
706 the rule to remake Makefile, whether $use_dependencies is true
707 or not. This was a historical one and doesn't make sense any
710 2000-03-19 Tom Tromey <tromey@cygnus.com>
712 More for PR automake/38:
713 * automake.texi (Invoking Automake): Document --force-missing.
714 * automake.in (force_missing): New global.
715 (parse_arguments): Recognize --force-missing.
716 (initialize_global_constants): Document --force-missing.
717 (require_file_internal): Handle --force-missing.
719 Fix for PR automake/38:
720 * automake.in (require_file_internal): Check for and handle
721 dangling symlinks. Fixes symlink2.test.
723 Fix for PR automake/45:
724 * automake.texi (configure): Mention requirement to run
726 (Requirements): Removed most text.
727 * automake.in (seen_init_automake): New global.
728 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
729 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
730 Set seen_init_automake if needed.
732 Fix for PR automake/41:
733 * automake.in (require_file_found): New global.
734 (require_file_internal): Set require_file_found entry.
735 (handle_texinfo): Require file any number of times.
737 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
740 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
742 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
744 * m4/missing.m4: Print the backtick in a way that won't cause
745 autoconf CVS to emit any warnings.
747 2000-03-01 Jim Meyering <meyering@lucent.com>
749 * automake.in (handle_dist_worker) [generating rules for distdir]:
750 Don't use `ln' (which was just a space optimization anyway) to
751 populate $(distdir). Otherwise, the dist rules that change
752 permissions would end up affecting the master sources.
753 * texinfos.am (dist-info): Likewise.
755 2000-02-13 Jim Meyering <meyering@lucent.com>
757 * automake.in (generate_makefile): Detect write/close failure.
759 2000-02-02 Assar Westerlund <assar@sics.se>
761 * automake.in (handle_single_transform_list): do not use $< which
762 is not handled by all non-GNU makes. Instead do explicit sh code
763 testing for the file in this directory and srcdir. Based on a
764 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
766 2000-01-12 Tom Tromey <tromey@cygnus.com>
768 * m4/lispdir.m4: Added --with-lispdir argument processing.
771 2000-01-06 Tom Tromey <tromey@cygnus.com>
773 * automake.in (handle_configure): Don't check for
775 (scan_configure): Check for AC_PROG_MAKE_SET.
777 * header-vars.am (@SET_MAKE@): Added.
778 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
781 1999-12-19 Tom Tromey <tromey@cygnus.com>
783 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
785 (require_file_internal): Corrected arguments to second invocation
786 of maybe_push_required_file.
788 Fix for PR automake/9:
789 * automake.in (make_dirs, make_dirs_set): New globals.
790 (is_make_dir): New function.
791 (handle_configure): Use it.
792 (require_file_internal): Push file if there is no Makefile in its
794 (initialize_per_input): Initialize handle_dist_run.
795 (push_dist_common): Inspect handle_dist_run.
796 (handle_dist): Set handle_dist_run. Push items from
797 configure_dist_common onto dist_common if appropriate.
798 (configure_dist_common): New global.
799 (scan_configure): Set it.
800 (maybe_push_required_file): New function.
801 (require_file_internal): Use it.
803 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
804 more subdirs are defined. From Axel Belinfante. Fixes
807 1999-12-18 Tom Tromey <tromey@cygnus.com>
809 Partial fix for PR automake/40:
810 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
811 (uninstall-@DIR@LISP): Likewise.
812 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
813 (uninstall-@DIR@HEADERS): Likewise.
814 * data.am (install-@DIR@DATA): Handle nobase_ case.
815 (uninstall-@DIR@DATA): Likewise.
816 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
817 (am_install_var): Recognize and handle `nobase_' prefix.
819 1999-12-17 Tom Tromey <tromey@cygnus.com>
821 * automake.in (get_object_extension): Added space before `-I.'.
822 Report from Ralf Corsepius.
824 1999-12-15 Tom Tromey <tromey@cygnus.com>
826 * aclocal.in: Don't pass $acdir to scan_m4_files.
827 (parse_arguments): Push $acdir on end of dirlist.
828 (scan_file): Don't warn if duplicate macro seen.
830 1999-12-13 Tom Tromey <tromey@cygnus.com>
832 Fix for PR automake/30 and PR automake/23. Fixes test
834 * automake.in (initialize_per_input): Initialize
835 source_suffix_pattern.
836 (derive_suffix): New function.
837 (handle_single_transform_list): Call it.
839 * automake.in (add_depend2): Handle the no-dependency-tracking
840 case. Fixes test suffix2.test.
842 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
844 * automake.in (get_object_extension): Fixed quoting on
847 * depend2.am: Removed erroneous comment.
849 * automake.texi (Program variables): Document nostdinc.
851 * automake.in (get_object_extension): Respect nostdinc option.
852 (handle_options): Recognize nostdinc.
853 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
856 * automake.in (read_am_file): Allow conditional includes. Fixes
859 * depcomp: Handle case on SGI when libtool is `yes'.
860 * depend2.am (@EXT@.o): Set libtool.
861 (@EXT@.lo): Likewise.
862 (@EXT@.obj): Likewise.
864 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
867 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
869 * automake.in (add_depend2): substitute $rule in the rules
870 for individual files. Fixes test specflags5.test.
872 1999-12-12 Tom Tromey <tromey@cygnus.com>
874 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
875 to create directories. Fixes test subobj3.test.
877 1999-12-10 Tom Tromey <tromey@cygnus.com>
879 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
880 message when creating .deps files.
882 * automake.in (initialize_global_constants): If unreadable by
883 owner, make it readable by owner regardless of number of links.
884 Fixes more of install2.test.
886 * missing: Try to see if gnutar or gtar exist before invoking
889 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
890 install_sh value. Look for install-sh and install.sh in a
891 somewhat more sensible way. Fixes test install2.test. Partially
894 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
896 * m4/missing.m4: remove redundant backquote
898 1999-11-23 Tom Tromey <tromey@cygnus.com>
900 * automake.in (initialize_global_constants): Use `bzip2 -9', not
901 `bzip --best' Report from Jim Meyering.
903 1999-11-22 Tom Tromey <tromey@cygnus.com>
905 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
906 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
907 AM_MISSING_INSTALL_SH.
908 * automake.in (scan_one_configure_file): Reverted previous
911 * automake.in (scan_one_configure_file): Define `install_sh'
912 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
915 * automake.in (handle_single_transform_list): Generate explicit
916 rule for subdir objects. Fixes new addition to subobj.test.
918 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
919 defined by AC_SUBST. Fixes ltlibobjs.test.
921 Fix for sourcesub.test:
922 * automake.in (handle_single_transform_list): Added `var'
923 argument. If config sub found, give error.
924 (handle_source_transform): Updated for new
925 handle_source_transform.
927 * py-compile: New file.
928 * m4/Makefile.am (m4data_DATA): Added python.m4.
929 * m4/python.m4: New file.
930 * automake.texi (Uniform): Mention PYTHON.
932 * Makefile.am (amfiles): Added python.am, python-clean.am.
933 (dist_script_DATA): Added py-compile.
934 * python.am: New file.
935 * python-clean.am: New file.
936 * automake.in (seen_pythondir): New global.
937 (generate_makefile): Call handle_python.
938 (handle_python): New function.
939 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
941 (am_install_var): Special-case PYTHON like JAVA.
942 (scan_configure): Check for py-compile.
943 (initialize_global_constants): Added py-compile to @common_files.
945 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
947 1999-11-21 Tom Tromey <tromey@cygnus.com>
949 * automake.in (finish_languages): Only generate suffix rule when
950 not doing dependency tracking.
952 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
953 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
955 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
958 1999-11-19 Tom Tromey <tromey@cygnus.com>
960 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
961 Alexandre's change on branch.
963 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
965 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
967 * dejagnu.am: Set CDPATH before cd.
968 * Makefile.in: Rebuilt.
970 * automake.in (handle_single_transform_list): Change `\1' for `$1'
971 in `s///' replacement.
973 * automake.in (handle_dist): Set CDPATH before cd.
974 * dejagnu.am (check-DEJAGNU): Likewise.
975 * texinfos.am (install-info-am, dist-info): Likewise.
976 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
977 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
978 * aclocal.m4, configure, Makefile.in: Rebuilt.
980 * AUTHORS: Added myself.
982 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
984 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
985 Reported by Tim Wilkinson <tim@transvirtual.com>
986 * aclocal.m4, configure: Rebuilt.
988 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
990 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
991 LEX program is found, use `${am_missing_run}flex'.
993 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
995 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
998 * automake.in (handle_lib_objects_cond): Remove second dot from
999 dependency file names.
1001 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
1002 regardless of OBJEXT.
1004 * automake.in (handle_dependencies): Add blank line after depend2.
1005 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
1006 blank line before `include's, not after them.
1007 (scan_one_configure_file): Do not special-case `DEP_' any more.
1009 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
1011 * aclocal.m4, configure: Rebuilt.
1013 * m4/depend.m4 (AMDEPBACKSLASH): Define.
1014 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
1016 * automake.in (handle_dependencies): Generate `include's for
1017 dependency files after `@AMDEP@'.
1019 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
1020 --run support in the missing script, since SHELL is not exported.
1021 Reported by job bogan <job@piquin.uchicago.edu>
1022 * aclocal.m4, configure: Rebuilt.
1024 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
1026 * aclocal.m4, configure: Rebuilt with itself.
1027 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
1029 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
1030 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
1031 (AM_MISSING_HAS_RUN): New macro.
1032 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
1033 * automake.texi (Requirements): Likewise.
1034 * version.texi, stamp-vti: Rebuilt.
1036 1999-07-28 Tom Tromey <tromey@cygnus.com>
1038 * depcomp: Handle the `hp' mode.
1040 1999-07-06 Tom Tromey <tromey@cygnus.com>
1042 * depcomp: Work around HP-UX 10.20 sed bug.
1044 1999-07-05 Tom Tromey <tromey@cygnus.com>
1046 * automake.in (handle_dependencies): Generate a separate include
1047 for each dep file. Report from Alexandre Oliva.
1048 * depend.am: Don't include DEP_FILES.
1050 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1052 * depend.am: Add @AMDEP@ before `include', so that dependency
1053 tracking can be disabled.
1054 * depend2.am: Ditto, before all lines related with dependency
1056 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
1057 --enable/disable-dependency-tracking and sets AMDEP accordingly.
1058 It is implicitly disabled if depcomp is missing.
1059 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
1060 generated by side-effect.
1061 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
1062 * automake.in (handle_dependencies): Add @AMDEP@ before the value
1064 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
1067 * depcomp: Support -xM for dependency generation, for Sun CC.
1068 Reported by Alex Hornby <alex@anvil.co.uk>
1069 * m4/depend.m4: Extract the list of supported dependency-tracking
1070 mechanisms from the depcomp script and use it to test each one.
1071 * THANKS: Added Alex Hornby.
1073 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
1074 to leave $(...COMPILE) in a line by itself.
1076 * THANKS: Added Miles Bader.
1078 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
1080 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
1081 Fix `dashmstdout' to ignore non-dependency-generating uses of the
1083 * depcomp (makedepend): New dependency-generating method.
1085 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
1087 * missing: If given `--run' as first argument, try to run the
1088 given program before falling back to the ``emulated'' behavior.
1089 Add support for `tar'.
1090 * automake.in: Use new `tar' support for `dist'.
1091 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
1092 program, prepend `missing --run' to the given program name.
1093 * m4/init.m4: Remove AMTAR-related stuff.
1096 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
1097 CONFIG_FILES. Do not use temporary variable for list of
1098 dependency files, it breaks Cygwin.
1100 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1102 * depcomp (gcc): Imported comments removed from depend2.am, so
1103 that we don't lose them.
1105 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1106 when not using ansi2knr.
1108 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1110 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1111 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1113 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1115 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1116 so as not to compile an empty source; some compilers fail on this.
1117 Redirect stderr of depcc to /dev/null. Test for -M with -o,
1118 because some compilers will output the rules to the output file.
1119 * depcomp (dashmstdout): Add --silent before --mode=compile, so
1120 that we don't get libtool output mixed up with make rules.
1122 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1123 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
1124 -o for libtool, otherwise it may try to deduce the object name
1125 from the dependency-generation flag.
1126 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
1129 * libtool.am: Do not emit .c.lo here...
1130 * depend2.am: ... emit .*.lo here, only when using libtool.
1131 * automake.in (get_object_extension): No more @MINUSO@ here.
1132 (handle_single_transform_list): Set $depfile from $object.
1133 (handle_dependencies): Emit depend2.am for all used languages,
1134 regardless of $use_dependencies; the setting of depcomp makes the
1136 (lang_cxx_finish): Do not emit compilation rules.
1137 (lang_objc_finish): Likewise.
1138 (lang_java_finish): Likewise.
1140 1999-04-21 Tom Tromey <tromey@cygnus.com>
1142 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1143 interpolate DEPDIR in DEP_FILES expansion.
1145 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
1147 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1148 dependency updating.
1149 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1150 handle multi-line dependency lists.
1152 1999-11-12 Tom Tromey <tromey@cygnus.com>
1154 Fix for PR automake/14:
1155 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
1157 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1159 * m4/multi.m4: Added missing `]'. From Akim Demaille.
1161 * Makefile.am (path-check): Make sure distdir is writeable before
1163 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1164 (handle_dist_worker): Make sure distdir is writeable before
1166 (initialize_global_constants [$dist_trailer]): Make sure distdir
1167 is writeable before removing it.
1168 * dist.am (distcheck): Make the new source tree read-only before
1169 compiling. Idea from Karl Berry.
1171 * automake.texi (Gnits): Allow COPYING.LIB again.
1172 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1174 1999-11-11 Jim Meyering <meyering@ascend.com>
1176 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1179 1999-11-09 Tom Tromey <tromey@cygnus.com>
1181 * automake.in (handle_dist): Typo fix. From Jim Meyering.
1183 1999-11-09 Jim Meyering <meyering@ascend.com>
1185 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1186 markers, no matter what.
1188 1999-11-08 Tom Tromey <tromey@cygnus.com>
1190 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1193 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1194 From Jim Meyering. Also, don't mention file name in `cp'
1195 destination. From Olly Betts.
1197 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1199 * texinfos.am (uninstall-info): Use installed info file, not one
1200 from srcdir or builddir.
1202 1999-11-07 Tom Tromey <tromey@cygnus.com>
1204 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1207 Fix for PR automake/18:
1208 * automake.in (handle_dist): Add contents of dist.am to the output
1210 * Makefile.am (amfiles): Added dist.am.
1211 * dist.am: New file.
1212 (distcheck): Added uninstall and distclean checks.
1214 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1215 Fixes PR automake/20. From Matthew D. Langston.
1217 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1218 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1220 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1222 * m4/lispdir.m4: -batch must come before -q.
1223 * elisp-comp: Likewise.
1224 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1225 * THANKS: Added Lars.
1227 1999-08-15 Tom Tromey <tromey@cygnus.com>
1229 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1232 1999-07-27 Tom Tromey <tromey@cygnus.com>
1234 * config.guess, config.sub: New versions from autoconf.
1236 1999-07-13 Tom Tromey <tromey@cygnus.com>
1238 Work around losing `awk'. Report from Harlan Stenn.
1239 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1240 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1242 * automake.in (handle_source_transform): Mark prefix as seen if
1243 corresponding _SOURCES variable exists. Fixes empty2.test.
1245 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1247 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1249 (AUTOMAKE): Set --amdir to current directory.
1251 1999-06-20 Tom Tromey <tromey@cygnus.com>
1253 * Makefile.am (TAGS_FILES): New macro.
1254 (ETAGS_ARGS): Moved files into TAGS_FILES.
1255 (TAGS_DEPENDENCIES): Likewise.
1256 (ETAGS_ARGS): Removed.
1257 (TAGS_DEPENDENCIES): Removed duplicate definition.
1259 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1260 from Ganesan Rajagopal.
1263 1999-06-18 Thomas Tanner <tanner@ffii.org>
1265 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1268 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1270 * ylwrap: Handle filenames output by the DOS version of Bison.
1272 1999-06-20 Tom Tromey <tromey@cygnus.com>
1274 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1277 1999-06-19 Tom Tromey <tromey@cygnus.com>
1279 * automake.in (handle_dist_worker): Remove redundant entries from
1282 * automake.in (handle_lib_objects_cond): Better error message when
1283 unrecognized option passed in LDADD.
1285 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1287 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1288 appropriate --acdir and --amdir arguments.
1290 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1292 * automake.in (dist_header): Avoid changing permissions of files
1293 in the source tree, trying a complex `find/chmod' command before
1294 falling back to plain chmod.
1295 (handle_dist_worker): Do not create directories with mode 777, the
1296 find above will take care of that.
1297 * m4/init.m4: Set install_sh for find/chmod above.
1299 * THANKS: Added Shuhei Amakawa.
1301 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1303 * mans.am: Strip dirname from given filename.
1305 1999-06-07 Jim Meyering <meyering@ascend.com>
1307 * automake.in (handle_dist): Change emitted rules so that a failure
1308 in `$(MAKE) distcheck-hook' propagates to the outer make.
1310 1999-05-27 Tom Tromey <tromey@cygnus.com>
1312 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1313 not FLAG in compilation rule.
1314 (add_depend2): Likewise.
1316 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1319 * m4/dmalloc.m4: Updated dmalloc site information.
1321 1999-05-19 Tom Tromey <tromey@cygnus.com>
1323 * automake.in (handle_single_transform_list): Push object name
1324 without extension onto lang_specific_files. Fixes
1327 * automake.in (handle_single_transform_list): Added missing
1328 space. Fixes specflags.test.
1330 1999-05-05 Tom Tromey <tromey@cygnus.com>
1332 * automake.in: Disabled dependency tracking for Java.
1334 1999-05-04 Tom Tromey <tromey@cygnus.com>
1336 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1337 * automake.in (handle_libraries): Recognize _AR variable.
1339 1999-04-30 Tom Tromey <tromey@cygnus.com>
1341 * automake.in (finish_languages): Always use `-o $@' with
1342 libtool. Define ltcompile and ltlink at outermost scope in
1344 * libtool.am (.c.lo): Removed.
1346 * automake.in (finish_languages): Put `.' before extension in
1347 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1348 `-flag'. From Pavel Roskin.
1350 1999-04-28 Tom Tromey <tromey@cygnus.com>
1352 * automake.in (finish_languages): Fixed scoping of ltcompile and
1353 ltlink. From Pavel Roskin.
1355 1999-04-27 Tom Tromey <tromey@cygnus.com>
1357 * automake.in (read_main_am_file): Don't start macro definition
1358 with backslash-newline. Instead, append newline at the end if
1361 * automake.in (read_am_file): Insert a backslash before a trailing
1362 newline. Fixes pluseq8.test.
1364 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1366 (check_canonical_spelling): Don't insert `AM' before macro name
1367 (reverts Alexandre's 1999-04-27 patch).
1368 * automake.texi: Reverted documentation change for `AM' patch.
1370 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1371 Minor rewrite for clarity.
1372 (check_canonical_spelling): Prefer `$1' over `\1'.
1374 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1376 (@LTOBJ@): Likewise.
1377 * automake.in (handle_single_transform_list): Don't print rule if
1378 doing dependency tracking and the file's language supports it.
1379 (initialize_per_input): Initialize lang_specific_files.
1380 (add_depend2): New function.
1381 (handle_dependencies): Use it.
1383 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1384 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1385 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1387 (lang_ratfor_finish): Use lang_f77_finish.
1389 * compile.am (NOTDEPEND.c.o): Removed.
1390 (OBJEXT.c.obj): Likewise.
1391 * automake.in: Added `flags' attribute to all relevant languages.
1392 (handle_single_transform_list): Handle per-derived-object flags.
1393 Changed interface and all callers.
1394 (handle_built_sources): Don't call handle_single_transform_list.
1395 Added `compile' and `compiler-name' attribute to all relevant
1397 (finish_languages): Define compiler variables here.
1398 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1399 define flag variable or .o rules. Don't add to @suffixes.
1400 (lang_f77_finish): Likewise.
1401 (lang_ppf77_finish): Likewise.
1402 (lang_objc_finish): Likewise.
1403 (lang_java_finish): Likewise.
1404 (finish_languages): Define flag variable here.
1405 Added `output-arg' attribute to all relevant languages.
1406 (finish_languages): Define `.o' rules here.
1407 (finish_languages): Put extension on @suffixes.
1408 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1410 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1412 * automake.in (initialize_global_constants): Invoke gzip for
1413 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1415 * automake.in (initialize_global_constants): Remove zip file
1416 before re-creating it.
1417 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1419 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1420 like in install-info-am.
1421 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1423 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1424 Let's use the good ol' substitution, then.
1425 Reported by Russ Allbery <rra@stanford.edu>
1427 * automake.in (check_canonical_spelling): Insert AM before names
1428 starting with non-letters.
1430 * automake.texi: Document it.
1432 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1434 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1435 doesn't work on perl4. Maybe \Q and \E do.
1437 1999-04-24 Tom Tromey <tromey@cygnus.com>
1439 * automake.in: Treat `.zip' and `.jar' files as Java.
1441 * automake.in (generate_makefile): Define `subdir' after reading
1443 (read_main_am_file): Give programming error if variable defined
1446 1999-04-22 Tom Tromey <tromey@cygnus.com>
1448 * automake.in (generate_makefile): Define `subdir' variable.
1449 (handle_dist): Don't define `subdir'.
1451 * automake.in (handle_texinfo): Change numbering scheme for
1452 stamp-vti files, to avoid problems with DOS.
1453 From Michel de Ruiter.
1455 * automake.texi: Don't mention AM_FUNC_MKTIME.
1456 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1457 * automake.in (scan_one_configure_file): Recognize
1458 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1459 (obsolete_macros): Mention AM_FUNC_MKTIME.
1460 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1461 * m4/mktime.m4: Removed.
1463 1999-04-20 Tom Tromey <tromey@cygnus.com>
1465 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1467 1999-04-20 Brian Ford <ford@vss.fsi.com>
1469 * scripts.am: Change else if's to elif.
1471 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1473 * automake.in (handle_lib_objects_cond): Only require the source
1474 of a LIBOBJ if it's not in BUILT_SOURCES.
1475 Reported by Erez Zadok.
1477 1999-04-19 Tom Tromey <tromey@cygnus.com>
1479 * automake.in: Treat `.class' files as Java source.
1480 (lang_java_finish): Handle `.class' files.
1482 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1484 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1486 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1487 Run some emacs-lisp to find out the site-lisp directory, but
1488 relocate it into prefix.
1490 1999-04-17 Paul Eggert <eggert@twinsun.com>
1492 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1493 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1494 even outside of bigtime_test. Use a time limit of 60 seconds
1495 for the whole test, not 10 seconds per iteration.
1497 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1499 * automake.in: Create stamps for headers in appropriate
1500 directories, even if the input file lives in a different place.
1501 * remake-hdr.am: Likewise.
1503 1999-04-16 Tom Tromey <tromey@cygnus.com>
1506 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1507 Invoke `sed' only once per program.
1508 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1509 Invoke `sed' only once per program.
1511 1999-04-13 Tom Tromey <tromey@cygnus.com>
1513 * automake.in (handle_subdirs): Make `install-recursive' phony.
1514 From Michel de Ruiter.
1516 * automake.in (handle_ltlibraries): Added missing `check'.
1518 1999-04-12 Tom Tromey <tromey@cygnus.com>
1520 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1523 1999-04-11 Tom Tromey <tromey@cygnus.com>
1525 * automake.in (handle_dist): Use AMTAR.
1526 (initialize_global_constants): Likewise.
1527 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1529 * automake.in (lang_sub_obj): New function.
1530 (lang_cxx_rewrite): Use it.
1531 (lang_asm_rewrite): Likewise.
1532 (lang_objc_rewrite): Likewise.
1533 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1534 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1535 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1536 (lang_java_finish): Likewise.
1538 * automake.in: Only register `asm' once.
1539 (lang_asm_finish): Put assembly suffixes on @suffixes.
1541 * libtool.am (.s.lo): Removed.
1543 * automake.in (lang_asm_finish): Handle libtool.
1545 * libtool.am (.c.o): Always pass -c to libtool.
1547 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1548 (lang_yaccxx_rewrite): Likewise.
1549 (lang_lex_rewrite): Likewise.
1550 (lang_lexxx_rewrite): Likewise.
1552 Assembly code no longer included by default:
1553 * compile.am (.s.o): Removed.
1555 * automake.in: Register `asm' language.
1556 (lang_asm_finish): Generate suffix rules for assembly.
1557 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1559 * automake.in (get_object_extension): Substitute @MINUSO@ when
1560 including compile.am.
1561 * compile.am (.c.o): Added @MINUSO@.
1564 First cut at allowing objects in subdirectories:
1565 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1566 * Makefile.am (dist_script_DATA): Added compile.
1567 * m4/minuso.m4: New file.
1568 * automake.in (initialize_global_constants): Added compile to
1570 (seen_cc_c_o): New global.
1571 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1572 (handle_options): Recognize `subdir-objects' option.
1573 (lang_c_rewrite): Added directory argument.
1574 (lang_yacc_rewrite): Likewise.
1575 (lang_yaccxx_rewrite): Likewise.
1576 (lang_lex_rewrite): Likewise.
1577 (lang_lexxx_rewrite): Likewise.
1578 (handle_single_transform_list): Pass directory to _rewrite
1579 function. Generate dependencies for dirstamp files for each .o;
1580 it is just the rules we want to create once.
1581 (lang_c_rewrite): Handle `subdir-objects' option.
1582 (lang_c_rewrite): Require `compile' program.
1583 * compile: New file.
1585 * automake.in (initialize_per_input): Initialize %directory_map.
1586 (handle_single_transform_list): Only create .dirstamp rules once
1589 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1592 * automake.in (configure_input_files): New global.
1593 (scan_configure): Set it.
1594 (handle_configure): Use configure_input_files when determining
1595 which subdirs have a Makefile.am. Fixes confh.test.
1596 (handle_configure): Only recognize acconfig.h in top srcdir.
1598 1999-04-10 Tom Tromey <tromey@cygnus.com>
1600 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1603 * automake.in (am_install_var): Remove redundancies from the
1604 result. Fixes test cond8.test.
1606 * automake.in (handle_single_transform_list): Handle dependency
1607 tracking when files are created in subdirs. Error if object in
1608 subdir has `..' component.
1610 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1612 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1614 * automake.in (lang_yacc_finish): Added missing `&'.
1616 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1618 * automake.in (handle_configure): Replace multiple occurrences of
1619 @STAMP@ in the same line; completes the patch for remake-hdr.am
1622 * automake.in (handle_dependencies): Fix test for `autodep'
1625 * automake.in (handle_source_transform): Add a pfx to used_pfx
1626 only if it's conditional or non-empty, to reduce the number of
1627 empty variables. Emit _OBJECS variable based on program name if
1628 no SOURCES were explicitly specified.
1630 * remake-hdr.am: Create the stamp file before the header file,
1631 and just rename it after, so that the timestamps will be correct.
1632 Reported by Marc Horowitz <marc@mit.edu>
1634 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1635 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1636 Reported by Jim Meyering <meyering@ascend.com>
1638 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1640 1999-04-10 Tom Tromey <tromey@cygnus.com>
1642 * Makefile.am (EXTRA_DIST): New macro.
1643 * ChangeLog.1996, ChangeLog.1998: New files.
1645 1999-04-09 Tom Tromey <tromey@cygnus.com>
1647 * automake.in (handle_source_transform): Handle dist and nodist
1649 (initialize_per_input): Initialize dist_sources.
1650 (check_libobjs_sources): Handle dist and nodist prefixes.
1651 (generate_makefile): Define DIST_SOURCES.
1652 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1654 * automake.texi (Macros): Mention AM_PROG_GCJ.
1655 (Java Support): New node.
1656 (Dist): Documented dist_ and nodist_ prefixes.
1658 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1660 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1661 files, not `.gcj' files.
1663 * m4/gcj.m4: New file.
1664 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1666 * automake.in: Register the `java' language.
1667 (resolve_linker): Handle GCJLINK.
1668 (lang_java_rewrite): New function.
1669 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1670 (lang_c_rewrite): Use new constants.
1671 (lang_cxx_rewrite): Likewise.
1672 (lang_header_rewrite): Likewise.
1673 (lang_yacc_rewrite): Likewise.
1674 (lang_yaccxx_rewrite): Likewise.
1675 (lang_lex_rewrite): Likewise.
1676 (lang_lexxx_rewrite): Likewise.
1677 (lang_asm_rewrite): Likewise.
1678 (lang_f77_rewrite): Likewise.
1679 (lang_ppf77_rewrite): Likewise.
1680 (lang_ratfor_rewrite): Likewise.
1681 (lang_objc_rewrite): Likewise.
1682 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1683 return from rewrite function.
1684 (lang_java_finish): New function.
1685 (register_language): Changed interface and all calls. Added
1686 `autodep' settings to various languages.
1687 (handle_dependencies): Use `autodep' property of language when
1688 including dependency-tracking code.
1690 1999-04-07 Tom Tromey <tromey@cygnus.com>
1692 * automake.in (handle_texinfo): Indentation fixes.
1694 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1696 * automake.in (value_to_list): Skip *only* trailing backslashes.
1698 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1700 * automake.in (value_to_list): Skip trailing backslashes.
1702 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1704 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1706 Reported by Per Cederqvist <ceder@lysator.liu.se>
1707 (handle_texinfo): Do not define texinfo_tex='.', use
1708 '$(srcdir)/texinfo.tex' instead; the directory name will be
1710 (require_conf_file_with_line): Fixed typo.
1712 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1714 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1715 we do not depend on PATH starting with `.'.
1717 1999-03-31 Tom Tromey <tromey@cygnus.com>
1719 * automake.in (quote_cond_val): Quote \n.
1720 (unquote_cond_val): Unquote \n.
1721 (read_am_file): If line ends with `\', preserve it and add a
1723 (read_main_am_file): In conditional case, put conditional text at
1724 beginning of each generated line.
1726 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1728 * automake.in (handle_tests): support XFAIL_TEST
1729 * automake.texi: document it
1731 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1733 * End of merge from trunk.
1735 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1737 * automake.in (cmdline_use_dependencies): Reintroduce it.
1738 (--ignore-deps): Set cmdline_use_dependencies again.
1739 (handle_dependencies): If use_dependencies is not set, define
1741 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1742 (scan_configure): Do not require depcomp when ignoring
1744 (initialize_global_constants): Reintroduce --ignore-deps.
1746 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1748 * depcomp: New file.
1749 * Makefile.am (dist_script_DATA): Added depcomp.
1750 * automake.in (cmdline_use_dependencies, omit_dependencies,
1751 dependency_macros): Removed.
1752 (--ignore-deps): Just ignore.
1753 (handle_single_transform_list, dep_files): Named dependency files
1754 as \$(DEPDIR)/$base.P$obj
1755 (handle_lib_objects_cond): Likewise.
1756 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1757 (scan_one_configure_file): Likewise.
1758 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1759 Ignore OMIT_DEPENDENCIES.
1760 (handle_configure): Do not pass --ignore-deps.
1761 (scan_configure): Require `depcomp'.
1762 (initialize_global_constants): Make `depcomp' common. Remove
1763 `--ignore-deps' from usage.
1764 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1765 * compile.am: Remove rules for .c.o and .c.obj
1766 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1767 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1768 Use it and depcomp in suffix rules.
1769 * libtool.m4: Likewise.
1770 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1771 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1772 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1773 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1774 from the Makefile and subst it in deps. Report creation of deps
1775 files (for now). Replace $U with `_' and the empty string. Write
1776 a comment to each created file.
1777 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1778 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1779 dependency mode and AC_SUBST [$1]DEPMODE.
1780 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1781 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1782 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1784 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1786 * depout.m4: Fix sed expression for extracting `dirpart'.
1788 1999-03-29 Tom Tromey <tromey@cygnus.com>
1790 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1792 * compile.am (.c.obj): Also disabled when dependency tracking
1794 * depend2.am (@EXT@.obj): New target.
1795 * automake.in (get_object_extension): Added explanatory comment.
1796 (generate_dependency_code): Handle $seen_objext.
1798 * depend.am: Removed obsolete comment.
1799 * depend2.am: Minor formatting fix.
1801 1999-03-28 Tom Tromey <tromey@cygnus.com>
1803 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1805 (EXTRA_DIST): Removed.
1806 * automake.in (dependency_macros): New global.
1807 (scan_one_configure_file): Recognize new dependency tracking
1808 macros, and define new resulting configure variables.
1809 (generate_dependency_code): New sub.
1810 (handle_dependencies): Use it.
1811 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1813 (@EXT@.lo): Likewise.
1814 * m4/depvars.m4: New file.
1815 * m4/objcdepend.m4: New file.
1816 * m4/cxxdepend.m4: New file.
1817 * m4/init.m4: Moved dependency handling code into depout.m4.
1818 * m4/depout.m4: New file.
1819 * m4/ccdepend.m4: New file.
1820 * m4/depend.m4: New file.
1822 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1823 (@EXT@.lo): Likewise.
1824 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1827 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1828 will create the required .P files for dependency tracking.
1829 * automake.in (scan_dependency_file): Removed.
1830 (handle_dependencies): Never call scan_dependency_file.
1831 (generate_deps): Removed.
1832 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1833 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1834 (srcdir_name): Removed.
1835 (build_directory): Removed.
1836 (initialize_global_constants): Changed $USAGE to reflect argument
1838 (handle_dist_worker): Never run automake in `dist' rule.
1839 (handle_configure): Use --ignore-deps, not --include-deps.
1840 * depend.am (DEPS_MAGIC): Removed.
1841 (DEP_FILES): Unconditionally include.
1843 1999-03-27 Tom Tromey <tromey@cygnus.com>
1845 * automake.in (saw_sources_p): Correctly count header extensions
1847 (handle_headers): Fixed order of arguments to am_install_var.
1849 * automake.in (am_install_var): Don't error if EXTRA_foo is
1852 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1853 (uninstall-@DIR@SCRIPTS): Likewise.
1854 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1855 (uninstall-@DIR@PROGRAMS): Likewise.
1856 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1857 (uninstall-@DIR@LTLIBRARIES): Likewise.
1858 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1859 (uninstall-@DIR@LISP): Likewise.
1860 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1861 (uninstall-@DIR@LIBRARIES): Likewise.
1862 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1863 (uninstall-@DIR@JAVA): Likewise.
1864 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1865 (uninstall-@DIR@HEADERS): Likewise.
1866 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1867 (uninstall-@DIR@DATA): Likewise.
1868 * Makefile.in: Rebuilt.
1869 * Makefile.am (dist_pkgdata_DATA): Renamed.
1870 (EXTRA_DIST): Removed.
1871 (install-data-hook): Added POST_INSTALL; print commands as they
1872 are run; respect DESTDIR.
1873 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1874 * automake.in (am_install_var): Accept `-candist' and
1875 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1876 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1877 and `nodist_' prefixes.
1878 (handle_scripts): Pass -candist to am_install_var.
1879 (handle_data): Pass -defaultdist to am_install_var.
1880 (handle_headers): Likewise.
1881 (handle_emacs_lisp): Pass -candist to am_install_var.
1882 (handle_java): Pass -candist to am_install_var.
1884 1999-03-26 Tom Tromey <tromey@cygnus.com>
1886 * m4/init.m4: Fixed typo when invoking SHELL.
1888 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1889 yacc header file. From Ralf Corsepius.
1891 * Makefile.in: Rebuilt.
1892 * Makefile.am: Updated to reflect removal of TAR subst.
1893 * automake.texi (Options): Document dist-bzip2.
1894 * automake.in (TAR): Removed global.
1895 (initialize_global_constants): Changed `dist' to use pipe with
1896 gzip; work with non-GNU tar.
1897 (handle_dist): Handle non-GNU tar. Don't define TAR.
1898 (initialize_global_constants): Added `dist-bzip2' entry.
1899 (handle_options): Recognize dist-bzip2 option.
1900 (handle_dist): Likewise.
1901 * configure: Rebuilt.
1902 * configure.in: Don't check for tar.
1903 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1906 * automake.in (am_install_var): Removed obsolete comment.
1908 * texinfos.am (uninstall-info): Don't print loop but instead print
1909 commands. Simplified pre-uninstall loop.
1910 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1911 instead print commands.
1912 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1914 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1915 instead print commands.
1916 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1917 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1918 instead print commands.
1919 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1921 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1923 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1924 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1925 instead print commands.
1926 * data.am (install-@DIR@DATA): Strip subdir from file name.
1927 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1928 instead print commands.
1930 * automake.in (handle_merge_targets): `install-strip' is a phony
1931 target. From Michel de Ruiter.
1933 1999-03-25 Tom Tromey <tromey@cygnus.com>
1935 * automake.in (define_compiler_variable): Don't define variable
1938 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1940 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1941 * automake.texi: ditto
1943 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1945 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1946 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1948 1999-03-24 Tom Tromey <tromey@cygnus.com>
1950 * automake.in (define_compiler_variable): New sub.
1951 (finish_languages): Use it.
1952 (lang_cxx_finish): Likewise.
1953 (lang_f77_finish): Likewise.
1954 (lang_ppf77_finish): Likewise.
1955 (lang_ratfor_finish): Likewise.
1956 (lang_objc_finish): Likewise.
1958 1999-03-23 Tom Tromey <tromey@cygnus.com>
1960 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1961 sed invocations. From Elrond.
1962 (uninstall-@DIR@PROGRAMS): Likewise.
1964 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1965 From Ralf Corsepius.
1967 1999-02-01 Thomas Tanner <tanner@gmx.de>
1969 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1970 warning when AM_PROG_LIBTOOL was found
1971 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1973 1999-03-22 Tom Tromey <tromey@cygnus.com>
1975 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1976 * automake.in (define_standard_variables): New sub.
1977 (read_main_am_file): Use two passes to scan standard variables.
1978 (read_am_file): Don't special-case configure variables with `+='.
1979 (initialize_per_input): Initialize %var_was_plus_eq.
1980 (read_am_file): Set var_was_plus_eq element correctly.
1981 (define_variable): Give error if variable assigned with `+=' is
1983 (initialize_per_input): Initialize %am_var_defs.
1984 (file_contents_with_transform): Set element in %am_var_defs.
1985 (read_am_file): Use %am_var_defs.
1987 1999-03-21 Tom Tromey <tromey@cygnus.com>
1989 * automake.in (initialize_per_input): Initialize %object_map.
1990 (handle_single_transform_list): Allow source files in
1993 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1995 * automake.in (handle_dist): Add missing newline after the first
1998 1999-03-11 Tom Tromey <tromey@cygnus.com>
2000 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
2001 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
2004 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
2006 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
2007 legitimate ending. Fixes libobj9.test.
2009 From Ralf Corsepius. Fixes lex3.test.
2010 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
2011 maintainer-clean list.
2012 (lang_lex_finish): Likewise.
2014 1999-03-02 Tom Tromey <tromey@cygnus.com>
2016 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
2017 construct to work around FreeBSD make/sh problem. From Rich Wales.
2019 1999-03-01 Tom Tromey <tromey@cygnus.com>
2021 Fixes from Pavel Roskin:
2022 * automake.in (variable_conditions_sub): Sort list passed to
2023 variable_conditions_permutations.
2024 (variable_conditions): Sort list before returning.
2026 1999-02-27 Tom Tromey <tromey@cygnus.com>
2028 * automake.in (lang_extensions): New sub.
2029 (handle_dependencies): Use it.
2030 (cxx_extensions): Removed.
2031 (lang_cxx_finish): Use lang_extensions.
2032 (f77_extensions): Removed.
2033 (lang_f77_finish): Use lang_extensions.
2034 (objc_extensions): Removed.
2035 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
2036 Report from Dave Morrison.
2037 (lang_ratfor_finish): Likewise.
2039 1999-02-26 Tom Tromey <tromey@cygnus.com>
2041 * automake.in (finish_languages): Added AM_LDFLAGS.
2042 (lang_cxx_finish): Likewise.
2043 (lang_f77_finish): Likewise.
2044 (lang_ppf77_finish): Likewise.
2045 (lang_ratfor_finish): Likewise.
2046 (lang_objc_finish): Likewise.
2048 1999-02-11 Tom Tromey <tromey@cygnus.com>
2050 * aclocal.in (obsolete_macros): Copied from automake.in.
2051 (obsolete_rx): Use only keys of obsolete_macros.
2052 (scan_configure): Report replacement macro for an obsolete macro.
2053 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
2055 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
2056 entry. Fixes obsolete2.test.
2058 * automake.in (obsolete_macros): Use empty string to indicate no
2060 (scan_one_configure_file): Likewise.
2062 1999-02-07 Paul Eggert <eggert@twinsun.com>
2064 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
2065 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
2066 needed by some programs.
2068 1999-02-10 Tom Tromey <tromey@cygnus.com>
2070 * automake.in (handle_texinfo): Added `pgs' to list of
2071 extensions. From NISHIDA Keisuke.
2073 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
2075 * automake.in (handle_texinfo): remove texinfo.tex from
2078 1999-02-02 Tom Tromey <tromey@cygnus.com>
2080 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
2081 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
2082 * header-vars.am (INSTALL_PROGRAM): Removed
2083 AM_INSTALL_PROGRAM_FLAGS.
2084 (INSTALL_STRIP_FLAG): New macro.
2086 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
2088 (lang_yacc_finish): Likewise.
2089 (lang_lex_finish): Likewise.
2091 1999-02-01 Tom Tromey <tromey@cygnus.com>
2093 * automake.in (handle_dist_worker): Correctly find find in $$d,
2094 not $$. From Bill Davidson.
2096 * automake.in (finish_languages): Use "&", not "do". From Pavel
2098 (handle_single_transform_list): Likewise.
2100 1999-01-29 Tom Tromey <tromey@cygnus.com>
2102 * automake.in (handle_configure): Removed unused variable. From
2105 * ansi2knr.c: New version from L. Peter Deutsch.
2107 1999-01-22 Tom Tromey <tromey@cygnus.com>
2109 * automake.in (require_file_internal): Correctly examine return
2110 value of `system'. From Andris Pavenis. Fixes copy.test.
2112 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2114 * automake.in (lang_ppf77_rewrite): New function. From Jochen
2115 Kuepper. Fixes ppf77.test.
2116 (lang_ratfor_rewrite): New function
2118 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2119 fix). From Erez Zadok.
2121 1999-01-15 Tom Tromey <tromey@cygnus.com>
2123 * configure.in: Version 1.4a (oops).
2125 * configure.in: Updated version to 1.5a.
2127 1999-01-14 Tom Tromey <tromey@cygnus.com>
2129 * automake.in (handle_configure): Compute $header_dir based on
2130 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
2132 (handle_configure): Compute relative path to input header
2133 correctly in all cases.
2135 * automake.in (handle_tests): Avoid error messages from dejagnu
2136 test rules. From Karl Heuer.
2138 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2140 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2142 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2143 From Alexandre Oliva and Erez Zadok.
2145 * automake.in (create): Renamed from touch.
2146 (handle_configure): Use create, not touch.
2148 * config.sub, config.guess: New versions from autoconf.
2150 * mkinstalldirs: New version from autoconf.
2152 1999-01-12 Tom Tromey <tromey@cygnus.com>
2154 * config.sub, config.guess, COPYING, texinfo.tex: New versions
2157 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
2159 * automake.in (PATH_PATTERN): New variable:
2160 (INCLUDE_PATTERN): Use it. Ignore all include commands using
2161 symbols besides $(top_srcdir) and $(srcdir).
2163 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2165 * automake.in (handle_dist_worker): avoid failure in `make dist'
2166 if last file is a builddir-only file
2168 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2170 * missing (autoheader): `s' was missing from sed script; grr
2172 1999-01-11 Tom Tromey <tromey@cygnus.com>
2174 * remake-hdr.am (@STAMP@): Reverted timestamp change.
2175 ($(srcdir)/@STAMP@.in): Likewise.
2177 1999-01-10 Tom Tromey <tromey@cygnus.com>
2179 * Makefile.am (scriptdir): New macro.
2180 (script_DATA): Likewise.
2181 (install-data-hook): Use them.
2182 (EXTRA_DIST): Added script_DATA.
2183 (installcheck-local): Use script_DATA.
2185 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2187 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2189 * missing (autoheader): accept multiple header files
2190 (automake): simplify sed processing
2192 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2194 * automake.in (handle_configure, stamp_dir): create only one stamp
2195 file per header, instead of one in the top-level directory and one
2196 in the directory that contains the header.
2198 1999-01-10 Tom Tromey <tromey@cygnus.com>
2200 * automake.in (lang_objc_finish): Formatting fix.
2202 * automake.in (objc_extensions): New sub.
2203 (handle_dependencies): Only generate dependency-tracking code for
2204 ObjC when ObjC source seen.
2208 Copyright 1999, 2000 Free Software Foundation, Inc.
2210 Copying and distribution of this file, with or without modification, are
2211 permitted provided the copyright notice and this notice are preserved.