1 2001-01-29 Akim Demaille <akim@epita.fr>
3 * texinfos.am, tags.am, subdirs.am, multilib.am, mans.am: Add a
5 * automake.in (handle_texinfo, handle_man_pages, handle_multilib)
6 (handle_etags, handle_subdirs): Don't push into @phony.
8 2001-01-29 Akim Demaille <akim@epita.fr>
10 * automake.in (scan_one_autoconf_file): Correctly recognize
14 2001-01-29 Akim Demaille <akim@epita.fr>
16 * automake.in (handle_tests_dejagnu): New, extracted from...
17 (handle_tests): here. Use `.PHONY:'.
20 2001-01-29 Akim Demaille <akim@epita.fr>
22 * automake.in (handle_phony): Sort.
23 (file_contents_with_transform): Catch `.PHONY:'.
24 (handle_tests): Instead dumping the hard coded target check-TESTS
25 and registering its .PHONYsm, get them from...
26 * check.am: here, new file.
28 2001-01-29 Akim Demaille <akim@epita.fr>
30 * automake.in (add_depend2): Use &transform.
32 2001-01-29 Akim Demaille <akim@epita.fr>
34 * automake.in (handle_tags): Use &transform.
35 (am_error, am_line_error, am_conf_error, read_am_file): Use
36 directly arrays in strings, no need for &join.
38 * Makefile.am (maintainer-check): Use grep -w when looking for
41 2001-01-29 Akim Demaille <akim@epita.fr>
43 * automake.in (prog_error): New.
46 2001-01-29 Akim Demaille <akim@epita.fr>
48 * automake.in (handle_single_transform_list): if (@list) { foreach
49 (@list) ...} can be written as a simple `foreach' loop.
51 2001-01-29 Akim Demaille <akim@epita.fr>
53 * automake.in (define_standard_variables): Use &transform instead
56 2001-01-29 Akim Demaille <akim@epita.fr>
58 * automake.in (handle_texinfo): Use the new $texinfodir instead of
59 the removed $texinfo_tex.
61 2001-01-29 Akim Demaille <akim@epita.fr>
63 * automake.in (handle_libraries, handle_ltlibraries): Use
66 2001-01-29 Akim Demaille <akim@epita.fr>
68 * automake.in (handle_programs) <xexe>: Remove, replaced by
70 Use it, and &transform.
72 2001-01-29 Akim Demaille <akim@epita.fr>
74 * automake.in (get_object_extension) <$default_includes>: New.
75 Use it and &transform.
77 2001-01-28 Tom Tromey <tromey@redhat.com>
79 * automake.in (variable_value_as_list_worker): Handle entries in
80 %am_var_defs. Fixes listval.test.
82 2001-01-26 Akim Demaille <akim@epita.fr>
84 * automake.in (handle_texinfo): Don't use $conf_pat, just
85 $conf_dir to transform MDDIR since now &transform handles the
86 escaping of RE special characters by itself.
88 2001-01-24 Akim Demaille <akim@epita.fr>
90 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
92 * m4/init.m4: Likewise.
93 * m4/sanity.m4: s/conftestfile/conftest.file/.
95 2001-01-24 Tom Tromey <tromey@redhat.com>
97 * automake.in (handle_libraries): Use $configure_ac; typo fix.
99 * automake.in (transform): Quote substitution.
101 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
102 Tom Tromey <tromey@redhat.com>
104 * automake.in (obsolete_rx): Match whole macro names, not
106 * aclocal.in (obsolete_rx): Likewise.
108 2001-01-21 Tom Tromey <tromey@redhat.com>
110 * automake.texi: Changed dir category.
112 2001-01-18 Akim Demaille <akim@epita.fr>
114 * automake.in (handle_texinfo): Use &transform, and transform
116 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
118 2001-01-16 Akim Demaille <akim@epita.fr>
120 Let Automake support `configure.ac'.
122 * automake.in: In the comments, prefer `configure.ac' to
124 When using &am_conf_error, don't repeat `in configure.in', since
125 the function already reports it.
126 When referring to `configure.in' use `$configure_ac' instead.
127 (configure_ac): New global variable.
128 (scan_configure, scan_one_configure_file): Rename as...
129 (scan_autoconf_files, scan_one_autoconf_file): this.
130 (scan_autoconf_files): Compute $configure_ac.
131 (transform): New function.
132 (handle_configure): Use it to transform CONFIGURE_AC in
133 `remake.am' and in `remake-hdr.am'.
134 (common_files): Also consider `configure.ac'.
135 Use consistently single quotes.
136 * aclocal.in (configure_ac): New variable.
138 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
139 * remake.am: Likewise.
140 * remake-hdr.am: Likewise.
142 2001-01-16 Akim Demaille <akim@epita.fr>
144 * m4/multi.m4: Remove the hairy useless quotation of `$'.
145 Simplify `ifelse([$2],,,[$2])' into... `$2'!
146 * m4/minuso.m4: Don't use changequote!
147 * m4/cond.m4: Fix quotation.
148 * m4/sanity.m4: Follow the Autoconf coding style.
149 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
150 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
153 2001-01-15 Tom Tromey <tromey@redhat.com>
155 * automake.in (handle_single_transform_list): Don't print rule
156 here when source is in subdir and object is not. Fixes
159 * automake.in (handle_single_transform_list): Correctly compute
160 $nonansi_obj. Fixes cxxansi.test.
162 * automake.texi (Man pages): Updated to account for man1_MANS,
165 2001-01-13 Steve Robbins <smr@debian.org>
166 Tom Tromey <tromey@redhat.com>
168 * aclocal.in (scan_configure): Don't recognize macro assignments
170 (add_file): Likewise.
172 2001-01-13 Kevin Ryde <user42@zip.com.au>
174 * automake.in (handle_ltlibraries): Omit -rpath from
175 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
177 2001-01-11 Tom Tromey <tromey@redhat.com>
179 * depcomp (case gcc3): Use -MD, not -M.
181 2001-01-10 Tom Tromey <tromey@redhat.com>
183 * depcomp: Handle gcc 3.
185 2000-12-23 Tom Tromey <tromey@redhat.com>
187 * configure.in: Updated to 1.4c for cvs.
189 * configure.in: Updated to 1.4b and released.
191 * config.guess, config.sub, texinfo.tex: New versions.
193 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
196 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
197 distclean and maintainer-clean.
198 * automake.texi (Top level): Document use of DIST_SUBDIRS.
200 From Rusty Ballinger:
201 * automake.in (handle_java): Don't skip `noinst' prefix.
203 * automake.texi (Invoking aclocal): Mention ## comments.
205 2000-12-22 Tom Tromey <tromey@redhat.com>
207 From Raja R Harinath:
208 * automake.in (libtoolize_sometimes): New global.
209 (initialize_global_constants): Added libtoolize_sometimes to
212 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
214 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
216 2000-12-21 Tom Tromey <tromey@redhat.com>
218 * automake.texi (Tags): Document GTAGS target.
219 * tags.am (GTAGS): New target.
221 * automake.in (libtoolize_files): Removed ltconfig.
222 (initialize_global_constants): Added ltconfig to common_files.
224 2000-12-21 Kevin Ryde <user42@zip.com.au>
226 * automake.in (handle_footer): Generate .SUFFIXES target when user
227 defines suffixes but automake does not.
229 2000-12-20 Marc Espie <espie@openbsd.org>
231 * automake.in (handle_texinfo): Make path of $vtexi explicit in
233 * texi-vers.am: Likewise.
235 2000-12-20 Tom Tromey <tromey@redhat.com>
238 * automake.in (handle_footer): Always push user suffixes at the
240 * automake.texi (Suffixes): Updated to reflect new suffix
243 2000-12-18 Tom Tromey <tromey@redhat.com>
245 * automake.in (handle_built_sources): Removed.
246 (handle_merge_targets): Handle BUILT_SOURCES.
247 * automake.texi (Sources): Updated documentation of
250 2000-12-17 Tom Tromey <tromey@redhat.com>
252 * m4/protos.m4: Always do header checks.
254 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
257 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
258 conditionally defined. Fixes PR automake/77 and ldflags.test.
260 2000-11-25 Tom Tromey <tromey@cygnus.com>
262 * automake.in (file_contents_with_transform): Added file name and
263 line number to error report.
264 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
266 2000-11-23 Pavel Roskin <proski@gnu.org>
268 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
270 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
271 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
272 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
273 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
274 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
275 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
276 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
278 2000-11-23 Tom Tromey <tromey@cygnus.com>
280 * automake.in (require_file_internal): Pass $file as second
281 argument to maybe_push_required_file. Fixes PR automake/87.
283 2000-11-18 Tom Tromey <tromey@cygnus.com>
285 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
286 /dev/null. From Paul Martinolich.
288 2000-11-16 Morten Eriksen <mortene@sim.no>
290 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
291 opened, otherwise it has no effect.
293 2000-10-23 Morten Eriksen <mortene@sim.no>
295 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
296 CRLFs. This circumvents a bug in Cygwin bash.
298 * automake.in (generate_makefile): Don't write Makefile.in
299 files with CRLFs, as it causes problems for the dependency-file
300 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
302 2000-10-19 Alex Hornby <alex@anvil.co.uk>
304 * automake.in (handle_merge_targets): Allow parallel install
307 2000-10-19 Akim Demaille <akim@epita.fr>
309 * subdir4.test (depcomp): Don't create it, defs does.
311 2000-10-17 Pavel Roskin <proski@gnu.org>
313 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
314 acinclude.m4 from the dependencies of aclocal.m4 to avoid
315 circular and duplicated dependencies. Strip "./" from the
318 2000-10-17 Lars J. Aas <larsa@sim.no>
320 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
321 normal comments (#) instead of m4 dnl-type comments.
323 2000-10-17 Alex Hornby <alex@anvil.com>
325 * depcomp: Altered sed clause to strip of inclusion depth
326 numbers generated by cpp. Also output in gcc style.
328 2000-10-16 Morten Eriksen <mortene@sim.no>
330 * depcomp (msvisualcpp): New dependency tracking mode, for
331 Microsoft Visual C++.
333 2000-10-16 Morten Eriksen <mortene@sim.no>
335 * depcomp: Fix a bug in SGI dependency tracking mode with source
336 files which do not dependend on any other source files.
338 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
340 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
341 * automake.in, automake.texi: Likewise.
342 * clean-kr.am, clean.am: Likewise.
343 * comp-vars.am: Likewise.
344 * compile, compile.am: Likewise.
345 * data-clean.am: Likewise.
347 * dejagnu.am: Likewise.
349 * depend.am, depend2.am: Likewise.
350 * dist-vars.am, dist.am: Likewise.
351 * elisp-comp: Likewise.
352 * footer.am: Likewise.
353 * header-vars.am, header.am: Likewise.
354 * java-clean.am java.am: Likewise.
355 * kr-extra.am: Likewise.
356 * library.am: Likewise.
357 * libs-clean.am, libs.am: Likewise.
358 * libtool.am: Likewise.
359 * lisp-clean.am lisp.am: Likewise.
360 * ltlib-clean.am ltlib.am: Likewise.
361 * ltlibrary.am: Likewise.
362 * m4/Makefile.in: Likewise.
363 * m4/strtod.m4: Likewise.
364 * mans-vars.am, mans.am: Likewise.
365 * mdate-sh: Likewise.
367 * multilib.am: Likewise.
368 * program.am: Likewise.
369 * progs-clean.am, progs.am: Likewise.
370 * python-clean.am, python.am: Likewise.
371 * remake-hdr.am, remake.am: Likewise.
372 * scripts.am: Likewise.
373 * subdirs.am: Likewise.
374 * tags-clean.am, tags.am: Likewise.
375 * texi-vers.am: Likewise.
376 * texinfos.am: Likewise.
379 2000-10-09 Pavel Roskin <proski@gnu.org>
381 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
382 assignments changing $? - it's broken in ash-0.2.
383 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
385 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
386 defined use it as the list of M4 files aclocal.m4 depends on.
388 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
390 * aclocal.in (add_file): Strip comments while scanning for
393 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
395 * automake.in (initialize_global_constants): End the
396 result of dist-bzip2 with tar.bz2, not bz2.
398 2000-08-30 Tom Tromey <tromey@cygnus.com>
400 Fix for PR automake/72:
401 * automake.in (initialize_per_input): Define `need_link'.
402 (finish_languages): Use need_link.
403 (handle_source_transform): Set need_link if required.
405 2000-08-28 Tom Tromey <tromey@cygnus.com>
407 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
409 (register_language): Default the `derived-autodep' option.
410 (handle_single_transform_list): Add to %dep_files if language has
411 `derived-autodep' set. Re-fixes lex4.test.
413 2000-08-27 Tom Tromey <tromey@cygnus.com>
415 * automake.in (handle_single_transform_list): Only add to
416 %dep_files if language is found and supports automatic dependency
417 tracking. Fixes PR automake/75.
419 * automake.in (am_primary_prefixes): Don't set `valid' for
420 configure variables that don't satisfy the other constraints.
421 Fixes PR automake/68.
423 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
425 Fix for PR automake/67.
426 * automake.in (handle_multilib): remove .am suffix in fragment
427 name passed to file_contents.
428 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
429 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
430 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
432 2000-08-26 Tom Tromey <tromey@cygnus.com>
434 * subdirs.am (maintainer-clean-recursive): Always run clean rules
435 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
437 * automake.in (handle_man_pages): Generate install targets for man
438 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
440 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
441 Fix for PR automake/74. From js pendry.
443 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
445 * depcomp (gcc): Support DOS-style absolute file names with drive
448 2000-08-06 Jim Meyering <meyering@lucent.com>
450 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
451 if the depcomp file exists, before calling require_config_file on
452 `depcomp'. This makes require_file_internal skip its buggy existence
453 test that would make automake fail (with `required file `lib/depcomp'
454 not found') when AC_CONFIG_AUX_DIR is not set.
456 This change change does not fix the existing bug where, if `depcomp'
457 is not present in the build directory (at the top level), automake
458 still gives the inaccurate diagnostic about *lib*/depcomp rather
461 2000-08-05 Jim Meyering <meyering@lucent.com>
463 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
464 add missing closing bracket and closing parenthesis.
465 Don't quote the first argument to AC_OUTPUT_COMMANDS.
466 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
468 2000-08-04 Tom Tromey <tromey@cygnus.com>
470 Idea from Nicolas Thiery:
471 * automake.texi (Tests): Document DEJATOOL as a list.
472 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
473 (check-DEJAGNU): Run runtest in a loop.
475 2000-08-02 Akim Demaille <akim@epita.fr>
477 * m4: Quote properly the name of the macros being defined.
478 Use `#' instead of `dnl' where appropriate.
479 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
481 Don't quote passive characters.
482 Pull the AC_PREREQ outside the macro.
483 * m4/init.m4: Pull the AC_PREREQ outside the macro.
485 2000-07-28 Tom Tromey <tromey@cygnus.com>
487 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
490 2000-07-13 Kevin Ryde <user42@zip.com.au>
492 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
493 EXTRA_PROGRAMS as well as other _PROGRAMS.
495 2000-07-02 Jim Meyering <meyering@lucent.com>
497 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
499 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
501 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
504 2000-06-02 Morten Eriksen <mortene@sim.no>
506 * depcomp: workaround for problem with SGI IRIX sed (it can only
507 handle lines of up to 8192 characters, the rest of the line will
510 2000-05-31 Morten Eriksen <mortene@sim.no>
512 * depcomp: tell SGI MIPSpro compilers to generate dependencies
513 through the pre-processor (only CVS libtool has the -Wc option
516 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
518 * missing: Add support for `help2man'.
520 2000-05-11 Tom Tromey <tromey@cygnus.com>
522 * automake.in (handle_tests): Work correctly if TESTS is empty;
523 print nothing if it is. From Kevin Ryde.
525 2000-05-08 Tom Tromey <tromey@cygnus.com>
527 * automake.texi (Texinfo): Mention vers*.texi.
529 2000-05-04 Akim Demaille <akim@epita.fr>
531 AM_INIT_AUTOMAKE is no longer optional, so don't look for
532 `VERSION=' and `PACKAGE='.
533 * automake.in (seen_package, seen_version): Remove initializations of
534 unnecessary variables.
535 (scan_one_configure_file): Don't set them.
536 (scan_configure): Don't use them.
538 2000-05-01 Akim Demaille <akim@epita.fr>
540 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
541 (AM_INIT_AUTOMAKE): Update the writing conventions.
542 Quote the arguments properly.
543 Add a few missing `dnl'.
544 Use AC_PROVIDE_IFELSE.
546 2000-04-26 Jim Meyering <meyering@lucent.com>
548 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
549 macro. Based on a patch from Harlan Stenn.
551 2000-04-13 Akim Demaille <akim@epita.fr>
553 * compile: Remove unnecessary double quotes in assignments.
555 2000-04-13 Akim Demaille <demaille@epita.fr>
557 * automake.in (scan_one_configure_file): Also recognize
559 Remove trailing blanks.
561 2000-04-05 Tom Tromey <tromey@cygnus.com>
563 * header-vars.am (DESTDIR): Commented out definition.
565 * automake.in (require_file_internal): Pass --copy to libtoolize
566 if automake was run with `--copy'.
568 2000-03-22 Tom Tromey <tromey@cygnus.com>
570 * automake.texi (Uniform): Fix definition of pkglibdir.
571 From thi <ttn@revel.glug.org>.
573 2000-03-19 Tom Tromey <tromey@cygnus.com>
575 * aclocal.in (parse_arguments): Copyright 2000.
576 (write_aclocal): Likewise.
577 * automake.in (parse_arguments): Copyright 2000.
578 (initialize_global_constants): Likewise.
580 * automake.in (generate_makefile): Call handle_dist after
581 handle_dependencies and handle_tests. Fixes subobj3.test and
582 pr19.test regressions.
584 2000-03-19 Gordon Matzigkeit <gord@fig.org>
586 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
587 as the current directory.
588 (@EXT@.lo): Likewise.
590 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
592 * automake.in (handle_data): Pass -candist instead of
593 -defaultdist, for the compatibility.
595 2000-03-19 Tom Tromey <tromey@cygnus.com>
597 Fix for test nodepcomp.test:
598 * automake.in (require_file_internal): Use readlink on symlinks.
599 Only unlink file if we are going to try to add it again.
600 (handle_dependencies): Require `depcomp' here.
601 (scan_configure): Don't require `depcomp'.
603 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
605 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
606 the rule to remake Makefile, whether $use_dependencies is true
607 or not. This was a historical one and doesn't make sense any
610 2000-03-19 Tom Tromey <tromey@cygnus.com>
612 More for PR automake/38:
613 * automake.texi (Invoking Automake): Document --force-missing.
614 * automake.in (force_missing): New global.
615 (parse_arguments): Recognize --force-missing.
616 (initialize_global_constants): Document --force-missing.
617 (require_file_internal): Handle --force-missing.
619 Fix for PR automake/38:
620 * automake.in (require_file_internal): Check for and handle
621 dangling symlinks. Fixes symlink2.test.
623 Fix for PR automake/45:
624 * automake.texi (configure): Mention requirement to run
626 (Requirements): Removed most text.
627 * automake.in (seen_init_automake): New global.
628 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
629 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
630 Set seen_init_automake if needed.
632 Fix for PR automake/41:
633 * automake.in (require_file_found): New global.
634 (require_file_internal): Set require_file_found entry.
635 (handle_texinfo): Require file any number of times.
637 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
640 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
642 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
644 * m4/missing.m4: Print the backtick in a way that won't cause
645 autoconf CVS to emit any warnings.
647 2000-03-01 Jim Meyering <meyering@lucent.com>
649 * automake.in (handle_dist_worker) [generating rules for distdir]:
650 Don't use `ln' (which was just a space optimization anyway) to
651 populate $(distdir). Otherwise, the dist rules that change
652 permissions would end up affecting the master sources.
653 * texinfos.am (dist-info): Likewise.
655 2000-02-13 Jim Meyering <meyering@lucent.com>
657 * automake.in (generate_makefile): Detect write/close failure.
659 2000-02-02 Assar Westerlund <assar@sics.se>
661 * automake.in (handle_single_transform_list): do not use $< which
662 is not handled by all non-GNU makes. Instead do explicit sh code
663 testing for the file in this directory and srcdir. Based on a
664 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
666 2000-01-12 Tom Tromey <tromey@cygnus.com>
668 * m4/lispdir.m4: Added --with-lispdir argument processing.
671 2000-01-06 Tom Tromey <tromey@cygnus.com>
673 * automake.in (handle_configure): Don't check for
675 (scan_configure): Check for AC_PROG_MAKE_SET.
677 * header-vars.am (@SET_MAKE@): Added.
678 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
681 1999-12-19 Tom Tromey <tromey@cygnus.com>
683 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
685 (require_file_internal): Corrected arguments to second invocation
686 of maybe_push_required_file.
688 Fix for PR automake/9:
689 * automake.in (make_dirs, make_dirs_set): New globals.
690 (is_make_dir): New function.
691 (handle_configure): Use it.
692 (require_file_internal): Push file if there is no Makefile in its
694 (initialize_per_input): Initialize handle_dist_run.
695 (push_dist_common): Inspect handle_dist_run.
696 (handle_dist): Set handle_dist_run. Push items from
697 configure_dist_common onto dist_common if appropriate.
698 (configure_dist_common): New global.
699 (scan_configure): Set it.
700 (maybe_push_required_file): New function.
701 (require_file_internal): Use it.
703 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
704 more subdirs are defined. From Axel Belinfante. Fixes
707 1999-12-18 Tom Tromey <tromey@cygnus.com>
709 Partial fix for PR automake/40:
710 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
711 (uninstall-@DIR@LISP): Likewise.
712 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
713 (uninstall-@DIR@HEADERS): Likewise.
714 * data.am (install-@DIR@DATA): Handle nobase_ case.
715 (uninstall-@DIR@DATA): Likewise.
716 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
717 (am_install_var): Recognize and handle `nobase_' prefix.
719 1999-12-17 Tom Tromey <tromey@cygnus.com>
721 * automake.in (get_object_extension): Added space before `-I.'.
722 Report from Ralf Corsepius.
724 1999-12-15 Tom Tromey <tromey@cygnus.com>
726 * aclocal.in: Don't pass $acdir to scan_m4_files.
727 (parse_arguments): Push $acdir on end of dirlist.
728 (scan_file): Don't warn if duplicate macro seen.
730 1999-12-13 Tom Tromey <tromey@cygnus.com>
732 Fix for PR automake/30 and PR automake/23. Fixes test
734 * automake.in (initialize_per_input): Initialize
735 source_suffix_pattern.
736 (derive_suffix): New function.
737 (handle_single_transform_list): Call it.
739 * automake.in (add_depend2): Handle the no-dependency-tracking
740 case. Fixes test suffix2.test.
742 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
744 * automake.in (get_object_extension): Fixed quoting on
747 * depend2.am: Removed erroneous comment.
749 * automake.texi (Program variables): Document nostdinc.
751 * automake.in (get_object_extension): Respect nostdinc option.
752 (handle_options): Recognize nostdinc.
753 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
756 * automake.in (read_am_file): Allow conditional includes. Fixes
759 * depcomp: Handle case on SGI when libtool is `yes'.
760 * depend2.am (@EXT@.o): Set libtool.
761 (@EXT@.lo): Likewise.
762 (@EXT@.obj): Likewise.
764 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
767 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
769 * automake.in (add_depend2): substitute $rule in the rules
770 for individual files. Fixes test specflags5.test.
772 1999-12-12 Tom Tromey <tromey@cygnus.com>
774 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
775 to create directories. Fixes test subobj3.test.
777 1999-12-10 Tom Tromey <tromey@cygnus.com>
779 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
780 message when creating .deps files.
782 * automake.in (initialize_global_constants): If unreadable by
783 owner, make it readable by owner regardless of number of links.
784 Fixes more of install2.test.
786 * missing: Try to see if gnutar or gtar exist before invoking
789 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
790 install_sh value. Look for install-sh and install.sh in a
791 somewhat more sensible way. Fixes test install2.test. Partially
794 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
796 * m4/missing.m4: remove redundant backquote
798 1999-11-23 Tom Tromey <tromey@cygnus.com>
800 * automake.in (initialize_global_constants): Use `bzip2 -9', not
801 `bzip --best' Report from Jim Meyering.
803 1999-11-22 Tom Tromey <tromey@cygnus.com>
805 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
806 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
807 AM_MISSING_INSTALL_SH.
808 * automake.in (scan_one_configure_file): Reverted previous
811 * automake.in (scan_one_configure_file): Define `install_sh'
812 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
815 * automake.in (handle_single_transform_list): Generate explicit
816 rule for subdir objects. Fixes new addition to subobj.test.
818 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
819 defined by AC_SUBST. Fixes ltlibobjs.test.
821 Fix for sourcesub.test:
822 * automake.in (handle_single_transform_list): Added `var'
823 argument. If config sub found, give error.
824 (handle_source_transform): Updated for new
825 handle_source_transform.
827 * py-compile: New file.
828 * m4/Makefile.am (m4data_DATA): Added python.m4.
829 * m4/python.m4: New file.
830 * automake.texi (Uniform): Mention PYTHON.
832 * Makefile.am (amfiles): Added python.am, python-clean.am.
833 (dist_script_DATA): Added py-compile.
834 * python.am: New file.
835 * python-clean.am: New file.
836 * automake.in (seen_pythondir): New global.
837 (generate_makefile): Call handle_python.
838 (handle_python): New function.
839 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
841 (am_install_var): Special-case PYTHON like JAVA.
842 (scan_configure): Check for py-compile.
843 (initialize_global_constants): Added py-compile to @common_files.
845 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
847 1999-11-21 Tom Tromey <tromey@cygnus.com>
849 * automake.in (finish_languages): Only generate suffix rule when
850 not doing dependency tracking.
852 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
853 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
855 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
858 1999-11-19 Tom Tromey <tromey@cygnus.com>
860 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
861 Alexandre's change on branch.
863 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
865 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
867 * dejagnu.am: Set CDPATH before cd.
868 * Makefile.in: Rebuilt.
870 * automake.in (handle_single_transform_list): Change `\1' for `$1'
871 in `s///' replacement.
873 * automake.in (handle_dist): Set CDPATH before cd.
874 * dejagnu.am (check-DEJAGNU): Likewise.
875 * texinfos.am (install-info-am, dist-info): Likewise.
876 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
877 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
878 * aclocal.m4, configure, Makefile.in: Rebuilt.
880 * AUTHORS: Added myself.
882 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
884 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
885 Reported by Tim Wilkinson <tim@transvirtual.com>
886 * aclocal.m4, configure: Rebuilt.
888 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
890 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
891 LEX program is found, use `${am_missing_run}flex'.
893 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
895 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
898 * automake.in (handle_lib_objects_cond): Remove second dot from
899 dependency file names.
901 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
902 regardless of OBJEXT.
904 * automake.in (handle_dependencies): Add blank line after depend2.
905 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
906 blank line before `include's, not after them.
907 (scan_one_configure_file): Do not special-case `DEP_' any more.
909 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
911 * aclocal.m4, configure: Rebuilt.
913 * m4/depend.m4 (AMDEPBACKSLASH): Define.
914 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
916 * automake.in (handle_dependencies): Generate `include's for
917 dependency files after `@AMDEP@'.
919 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
920 --run support in the missing script, since SHELL is not exported.
921 Reported by job bogan <job@piquin.uchicago.edu>
922 * aclocal.m4, configure: Rebuilt.
924 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
926 * aclocal.m4, configure: Rebuilt with itself.
927 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
929 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
930 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
931 (AM_MISSING_HAS_RUN): New macro.
932 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
933 * automake.texi (Requirements): Likewise.
934 * version.texi, stamp-vti: Rebuilt.
936 1999-07-28 Tom Tromey <tromey@cygnus.com>
938 * depcomp: Handle the `hp' mode.
940 1999-07-06 Tom Tromey <tromey@cygnus.com>
942 * depcomp: Work around HP-UX 10.20 sed bug.
944 1999-07-05 Tom Tromey <tromey@cygnus.com>
946 * automake.in (handle_dependencies): Generate a separate include
947 for each dep file. Report from Alexandre Oliva.
948 * depend.am: Don't include DEP_FILES.
950 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
952 * depend.am: Add @AMDEP@ before `include', so that dependency
953 tracking can be disabled.
954 * depend2.am: Ditto, before all lines related with dependency
956 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
957 --enable/disable-dependency-tracking and sets AMDEP accordingly.
958 It is implicitly disabled if depcomp is missing.
959 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
960 generated by side-effect.
961 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
962 * automake.in (handle_dependencies): Add @AMDEP@ before the value
964 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
967 * depcomp: Support -xM for dependency generation, for Sun CC.
968 Reported by Alex Hornby <alex@anvil.co.uk>
969 * m4/depend.m4: Extract the list of supported dependency-tracking
970 mechanisms from the depcomp script and use it to test each one.
971 * THANKS: Added Alex Hornby.
973 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
974 to leave $(...COMPILE) in a line by itself.
976 * THANKS: Added Miles Bader.
978 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
980 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
981 Fix `dashmstdout' to ignore non-dependency-generating uses of the
983 * depcomp (makedepend): New dependency-generating method.
985 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
987 * missing: If given `--run' as first argument, try to run the
988 given program before falling back to the ``emulated'' behavior.
989 Add support for `tar'.
990 * automake.in: Use new `tar' support for `dist'.
991 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
992 program, prepend `missing --run' to the given program name.
993 * m4/init.m4: Remove AMTAR-related stuff.
996 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
997 CONFIG_FILES. Do not use temporary variable for list of
998 dependency files, it breaks Cygwin.
1000 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1002 * depcomp (gcc): Imported comments removed from depend2.am, so
1003 that we don't lose them.
1005 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
1006 when not using ansi2knr.
1008 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1010 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
1011 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
1013 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1015 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
1016 so as not to compile an empty source; some compilers fail on this.
1017 Redirect stderr of depcc to /dev/null. Test for -M with -o,
1018 because some compilers will output the rules to the output file.
1019 * depcomp (dashmstdout): Add --silent before --mode=compile, so
1020 that we don't get libtool output mixed up with make rules.
1022 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
1023 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
1024 -o for libtool, otherwise it may try to deduce the object name
1025 from the dependency-generation flag.
1026 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
1029 * libtool.am: Do not emit .c.lo here...
1030 * depend2.am: ... emit .*.lo here, only when using libtool.
1031 * automake.in (get_object_extension): No more @MINUSO@ here.
1032 (handle_single_transform_list): Set $depfile from $object.
1033 (handle_dependencies): Emit depend2.am for all used languages,
1034 regardless of $use_dependencies; the setting of depcomp makes the
1036 (lang_cxx_finish): Do not emit compilation rules.
1037 (lang_objc_finish): Likewise.
1038 (lang_java_finish): Likewise.
1040 1999-04-21 Tom Tromey <tromey@cygnus.com>
1042 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1043 interpolate DEPDIR in DEP_FILES expansion.
1045 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
1047 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1048 dependency updating.
1049 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1050 handle multi-line dependency lists.
1052 1999-11-12 Tom Tromey <tromey@cygnus.com>
1054 Fix for PR automake/14:
1055 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
1057 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1059 * m4/multi.m4: Added missing `]'. From Akim Demaille.
1061 * Makefile.am (path-check): Make sure distdir is writeable before
1063 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1064 (handle_dist_worker): Make sure distdir is writeable before
1066 (initialize_global_constants [$dist_trailer]): Make sure distdir
1067 is writeable before removing it.
1068 * dist.am (distcheck): Make the new source tree read-only before
1069 compiling. Idea from Karl Berry.
1071 * automake.texi (Gnits): Allow COPYING.LIB again.
1072 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1074 1999-11-11 Jim Meyering <meyering@ascend.com>
1076 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1079 1999-11-09 Tom Tromey <tromey@cygnus.com>
1081 * automake.in (handle_dist): Typo fix. From Jim Meyering.
1083 1999-11-09 Jim Meyering <meyering@ascend.com>
1085 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1086 markers, no matter what.
1088 1999-11-08 Tom Tromey <tromey@cygnus.com>
1090 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1093 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1094 From Jim Meyering. Also, don't mention file name in `cp'
1095 destination. From Olly Betts.
1097 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1099 * texinfos.am (uninstall-info): Use installed info file, not one
1100 from srcdir or builddir.
1102 1999-11-07 Tom Tromey <tromey@cygnus.com>
1104 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1107 Fix for PR automake/18:
1108 * automake.in (handle_dist): Add contents of dist.am to the output
1110 * Makefile.am (amfiles): Added dist.am.
1111 * dist.am: New file.
1112 (distcheck): Added uninstall and distclean checks.
1114 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1115 Fixes PR automake/20. From Matthew D. Langston.
1117 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1118 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1120 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1122 * m4/lispdir.m4: -batch must come before -q.
1123 * elisp-comp: Likewise.
1124 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1125 * THANKS: Added Lars.
1127 1999-08-15 Tom Tromey <tromey@cygnus.com>
1129 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1132 1999-07-27 Tom Tromey <tromey@cygnus.com>
1134 * config.guess, config.sub: New versions from autoconf.
1136 1999-07-13 Tom Tromey <tromey@cygnus.com>
1138 Work around losing `awk'. Report from Harlan Stenn.
1139 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1140 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1142 * automake.in (handle_source_transform): Mark prefix as seen if
1143 corresponding _SOURCES variable exists. Fixes empty2.test.
1145 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1147 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1149 (AUTOMAKE): Set --amdir to current directory.
1151 1999-06-20 Tom Tromey <tromey@cygnus.com>
1153 * Makefile.am (TAGS_FILES): New macro.
1154 (ETAGS_ARGS): Moved files into TAGS_FILES.
1155 (TAGS_DEPENDENCIES): Likewise.
1156 (ETAGS_ARGS): Removed.
1157 (TAGS_DEPENDENCIES): Removed duplicate definition.
1159 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1160 from Ganesan Rajagopal.
1163 1999-06-18 Thomas Tanner <tanner@ffii.org>
1165 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1168 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1170 * ylwrap: Handle filenames output by the DOS version of Bison.
1172 1999-06-20 Tom Tromey <tromey@cygnus.com>
1174 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1177 1999-06-19 Tom Tromey <tromey@cygnus.com>
1179 * automake.in (handle_dist_worker): Remove redundant entries from
1182 * automake.in (handle_lib_objects_cond): Better error message when
1183 unrecognized option passed in LDADD.
1185 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1187 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1188 appropriate --acdir and --amdir arguments.
1190 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1192 * automake.in (dist_header): Avoid changing permissions of files
1193 in the source tree, trying a complex `find/chmod' command before
1194 falling back to plain chmod.
1195 (handle_dist_worker): Do not create directories with mode 777, the
1196 find above will take care of that.
1197 * m4/init.m4: Set install_sh for find/chmod above.
1199 * THANKS: Added Shuhei Amakawa.
1201 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1203 * mans.am: Strip dirname from given filename.
1205 1999-06-07 Jim Meyering <meyering@ascend.com>
1207 * automake.in (handle_dist): Change emitted rules so that a failure
1208 in `$(MAKE) distcheck-hook' propagates to the outer make.
1210 1999-05-27 Tom Tromey <tromey@cygnus.com>
1212 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1213 not FLAG in compilation rule.
1214 (add_depend2): Likewise.
1216 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1219 * m4/dmalloc.m4: Updated dmalloc site information.
1221 1999-05-19 Tom Tromey <tromey@cygnus.com>
1223 * automake.in (handle_single_transform_list): Push object name
1224 without extension onto lang_specific_files. Fixes
1227 * automake.in (handle_single_transform_list): Added missing
1228 space. Fixes specflags.test.
1230 1999-05-05 Tom Tromey <tromey@cygnus.com>
1232 * automake.in: Disabled dependency tracking for Java.
1234 1999-05-04 Tom Tromey <tromey@cygnus.com>
1236 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1237 * automake.in (handle_libraries): Recognize _AR variable.
1239 1999-04-30 Tom Tromey <tromey@cygnus.com>
1241 * automake.in (finish_languages): Always use `-o $@' with
1242 libtool. Define ltcompile and ltlink at outermost scope in
1244 * libtool.am (.c.lo): Removed.
1246 * automake.in (finish_languages): Put `.' before extension in
1247 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1248 `-flag'. From Pavel Roskin.
1250 1999-04-28 Tom Tromey <tromey@cygnus.com>
1252 * automake.in (finish_languages): Fixed scoping of ltcompile and
1253 ltlink. From Pavel Roskin.
1255 1999-04-27 Tom Tromey <tromey@cygnus.com>
1257 * automake.in (read_main_am_file): Don't start macro definition
1258 with backslash-newline. Instead, append newline at the end if
1261 * automake.in (read_am_file): Insert a backslash before a trailing
1262 newline. Fixes pluseq8.test.
1264 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1266 (check_canonical_spelling): Don't insert `AM' before macro name
1267 (reverts Alexandre's 1999-04-27 patch).
1268 * automake.texi: Reverted documentation change for `AM' patch.
1270 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1271 Minor rewrite for clarity.
1272 (check_canonical_spelling): Prefer `$1' over `\1'.
1274 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1276 (@LTOBJ@): Likewise.
1277 * automake.in (handle_single_transform_list): Don't print rule if
1278 doing dependency tracking and the file's language supports it.
1279 (initialize_per_input): Initialize lang_specific_files.
1280 (add_depend2): New function.
1281 (handle_dependencies): Use it.
1283 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1284 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1285 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1287 (lang_ratfor_finish): Use lang_f77_finish.
1289 * compile.am (NOTDEPEND.c.o): Removed.
1290 (OBJEXT.c.obj): Likewise.
1291 * automake.in: Added `flags' attribute to all relevant languages.
1292 (handle_single_transform_list): Handle per-derived-object flags.
1293 Changed interface and all callers.
1294 (handle_built_sources): Don't call handle_single_transform_list.
1295 Added `compile' and `compiler-name' attribute to all relevant
1297 (finish_languages): Define compiler variables here.
1298 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1299 define flag variable or .o rules. Don't add to @suffixes.
1300 (lang_f77_finish): Likewise.
1301 (lang_ppf77_finish): Likewise.
1302 (lang_objc_finish): Likewise.
1303 (lang_java_finish): Likewise.
1304 (finish_languages): Define flag variable here.
1305 Added `output-arg' attribute to all relevant languages.
1306 (finish_languages): Define `.o' rules here.
1307 (finish_languages): Put extension on @suffixes.
1308 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1310 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1312 * automake.in (initialize_global_constants): Invoke gzip for
1313 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1315 * automake.in (initialize_global_constants): Remove zip file
1316 before re-creating it.
1317 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1319 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1320 like in install-info-am.
1321 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1323 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1324 Let's use the good ol' substitution, then.
1325 Reported by Russ Allbery <rra@stanford.edu>
1327 * automake.in (check_canonical_spelling): Insert AM before names
1328 starting with non-letters.
1330 * automake.texi: Document it.
1332 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1334 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1335 doesn't work on perl4. Maybe \Q and \E do.
1337 1999-04-24 Tom Tromey <tromey@cygnus.com>
1339 * automake.in: Treat `.zip' and `.jar' files as Java.
1341 * automake.in (generate_makefile): Define `subdir' after reading
1343 (read_main_am_file): Give programming error if variable defined
1346 1999-04-22 Tom Tromey <tromey@cygnus.com>
1348 * automake.in (generate_makefile): Define `subdir' variable.
1349 (handle_dist): Don't define `subdir'.
1351 * automake.in (handle_texinfo): Change numbering scheme for
1352 stamp-vti files, to avoid problems with DOS.
1353 From Michel de Ruiter.
1355 * automake.texi: Don't mention AM_FUNC_MKTIME.
1356 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1357 * automake.in (scan_one_configure_file): Recognize
1358 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1359 (obsolete_macros): Mention AM_FUNC_MKTIME.
1360 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1361 * m4/mktime.m4: Removed.
1363 1999-04-20 Tom Tromey <tromey@cygnus.com>
1365 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1367 1999-04-20 Brian Ford <ford@vss.fsi.com>
1369 * scripts.am: Change else if's to elif.
1371 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1373 * automake.in (handle_lib_objects_cond): Only require the source
1374 of a LIBOBJ if it's not in BUILT_SOURCES.
1375 Reported by Erez Zadok.
1377 1999-04-19 Tom Tromey <tromey@cygnus.com>
1379 * automake.in: Treat `.class' files as Java source.
1380 (lang_java_finish): Handle `.class' files.
1382 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1384 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1386 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1387 Run some emacs-lisp to find out the site-lisp directory, but
1388 relocate it into prefix.
1390 1999-04-17 Paul Eggert <eggert@twinsun.com>
1392 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1393 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1394 even outside of bigtime_test. Use a time limit of 60 seconds
1395 for the whole test, not 10 seconds per iteration.
1397 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1399 * automake.in: Create stamps for headers in appropriate
1400 directories, even if the input file lives in a different place.
1401 * remake-hdr.am: Likewise.
1403 1999-04-16 Tom Tromey <tromey@cygnus.com>
1406 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1407 Invoke `sed' only once per program.
1408 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1409 Invoke `sed' only once per program.
1411 1999-04-13 Tom Tromey <tromey@cygnus.com>
1413 * automake.in (handle_subdirs): Make `install-recursive' phony.
1414 From Michel de Ruiter.
1416 * automake.in (handle_ltlibraries): Added missing `check'.
1418 1999-04-12 Tom Tromey <tromey@cygnus.com>
1420 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1423 1999-04-11 Tom Tromey <tromey@cygnus.com>
1425 * automake.in (handle_dist): Use AMTAR.
1426 (initialize_global_constants): Likewise.
1427 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1429 * automake.in (lang_sub_obj): New function.
1430 (lang_cxx_rewrite): Use it.
1431 (lang_asm_rewrite): Likewise.
1432 (lang_objc_rewrite): Likewise.
1433 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1434 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1435 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1436 (lang_java_finish): Likewise.
1438 * automake.in: Only register `asm' once.
1439 (lang_asm_finish): Put assembly suffixes on @suffixes.
1441 * libtool.am (.s.lo): Removed.
1443 * automake.in (lang_asm_finish): Handle libtool.
1445 * libtool.am (.c.o): Always pass -c to libtool.
1447 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1448 (lang_yaccxx_rewrite): Likewise.
1449 (lang_lex_rewrite): Likewise.
1450 (lang_lexxx_rewrite): Likewise.
1452 Assembly code no longer included by default:
1453 * compile.am (.s.o): Removed.
1455 * automake.in: Register `asm' language.
1456 (lang_asm_finish): Generate suffix rules for assembly.
1457 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1459 * automake.in (get_object_extension): Substitute @MINUSO@ when
1460 including compile.am.
1461 * compile.am (.c.o): Added @MINUSO@.
1464 First cut at allowing objects in subdirectories:
1465 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1466 * Makefile.am (dist_script_DATA): Added compile.
1467 * m4/minuso.m4: New file.
1468 * automake.in (initialize_global_constants): Added compile to
1470 (seen_cc_c_o): New global.
1471 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1472 (handle_options): Recognize `subdir-objects' option.
1473 (lang_c_rewrite): Added directory argument.
1474 (lang_yacc_rewrite): Likewise.
1475 (lang_yaccxx_rewrite): Likewise.
1476 (lang_lex_rewrite): Likewise.
1477 (lang_lexxx_rewrite): Likewise.
1478 (handle_single_transform_list): Pass directory to _rewrite
1479 function. Generate dependencies for dirstamp files for each .o;
1480 it is just the rules we want to create once.
1481 (lang_c_rewrite): Handle `subdir-objects' option.
1482 (lang_c_rewrite): Require `compile' program.
1483 * compile: New file.
1485 * automake.in (initialize_per_input): Initialize %directory_map.
1486 (handle_single_transform_list): Only create .dirstamp rules once
1489 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1492 * automake.in (configure_input_files): New global.
1493 (scan_configure): Set it.
1494 (handle_configure): Use configure_input_files when determining
1495 which subdirs have a Makefile.am. Fixes confh.test.
1496 (handle_configure): Only recognize acconfig.h in top srcdir.
1498 1999-04-10 Tom Tromey <tromey@cygnus.com>
1500 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1503 * automake.in (am_install_var): Remove redundancies from the
1504 result. Fixes test cond8.test.
1506 * automake.in (handle_single_transform_list): Handle dependency
1507 tracking when files are created in subdirs. Error if object in
1508 subdir has `..' component.
1510 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1512 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1514 * automake.in (lang_yacc_finish): Added missing `&'.
1516 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1518 * automake.in (handle_configure): Replace multiple occurrences of
1519 @STAMP@ in the same line; completes the patch for remake-hdr.am
1522 * automake.in (handle_dependencies): Fix test for `autodep'
1525 * automake.in (handle_source_transform): Add a pfx to used_pfx
1526 only if it's conditional or non-empty, to reduce the number of
1527 empty variables. Emit _OBJECS variable based on program name if
1528 no SOURCES were explicitly specified.
1530 * remake-hdr.am: Create the stamp file before the header file,
1531 and just rename it after, so that the timestamps will be correct.
1532 Reported by Marc Horowitz <marc@mit.edu>
1534 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1535 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1536 Reported by Jim Meyering <meyering@ascend.com>
1538 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1540 1999-04-10 Tom Tromey <tromey@cygnus.com>
1542 * Makefile.am (EXTRA_DIST): New macro.
1543 * ChangeLog.1996, ChangeLog.1998: New files.
1545 1999-04-09 Tom Tromey <tromey@cygnus.com>
1547 * automake.in (handle_source_transform): Handle dist and nodist
1549 (initialize_per_input): Initialize dist_sources.
1550 (check_libobjs_sources): Handle dist and nodist prefixes.
1551 (generate_makefile): Define DIST_SOURCES.
1552 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1554 * automake.texi (Macros): Mention AM_PROG_GCJ.
1555 (Java Support): New node.
1556 (Dist): Documented dist_ and nodist_ prefixes.
1558 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1560 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1561 files, not `.gcj' files.
1563 * m4/gcj.m4: New file.
1564 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1566 * automake.in: Register the `java' language.
1567 (resolve_linker): Handle GCJLINK.
1568 (lang_java_rewrite): New function.
1569 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1570 (lang_c_rewrite): Use new constants.
1571 (lang_cxx_rewrite): Likewise.
1572 (lang_header_rewrite): Likewise.
1573 (lang_yacc_rewrite): Likewise.
1574 (lang_yaccxx_rewrite): Likewise.
1575 (lang_lex_rewrite): Likewise.
1576 (lang_lexxx_rewrite): Likewise.
1577 (lang_asm_rewrite): Likewise.
1578 (lang_f77_rewrite): Likewise.
1579 (lang_ppf77_rewrite): Likewise.
1580 (lang_ratfor_rewrite): Likewise.
1581 (lang_objc_rewrite): Likewise.
1582 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1583 return from rewrite function.
1584 (lang_java_finish): New function.
1585 (register_language): Changed interface and all calls. Added
1586 `autodep' settings to various languages.
1587 (handle_dependencies): Use `autodep' property of language when
1588 including dependency-tracking code.
1590 1999-04-07 Tom Tromey <tromey@cygnus.com>
1592 * automake.in (handle_texinfo): Indentation fixes.
1594 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1596 * automake.in (value_to_list): Skip *only* trailing backslashes.
1598 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1600 * automake.in (value_to_list): Skip trailing backslashes.
1602 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1604 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1606 Reported by Per Cederqvist <ceder@lysator.liu.se>
1607 (handle_texinfo): Do not define texinfo_tex='.', use
1608 '$(srcdir)/texinfo.tex' instead; the directory name will be
1610 (require_conf_file_with_line): Fixed typo.
1612 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1614 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1615 we do not depend on PATH starting with `.'.
1617 1999-03-31 Tom Tromey <tromey@cygnus.com>
1619 * automake.in (quote_cond_val): Quote \n.
1620 (unquote_cond_val): Unquote \n.
1621 (read_am_file): If line ends with `\', preserve it and add a
1623 (read_main_am_file): In conditional case, put conditional text at
1624 beginning of each generated line.
1626 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1628 * automake.in (handle_tests): support XFAIL_TEST
1629 * automake.texi: document it
1631 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1633 * End of merge from trunk.
1635 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1637 * automake.in (cmdline_use_dependencies): Reintroduce it.
1638 (--ignore-deps): Set cmdline_use_dependencies again.
1639 (handle_dependencies): If use_dependencies is not set, define
1641 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1642 (scan_configure): Do not require depcomp when ignoring
1644 (initialize_global_constants): Reintroduce --ignore-deps.
1646 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1648 * depcomp: New file.
1649 * Makefile.am (dist_script_DATA): Added depcomp.
1650 * automake.in (cmdline_use_dependencies, omit_dependencies,
1651 dependency_macros): Removed.
1652 (--ignore-deps): Just ignore.
1653 (handle_single_transform_list, dep_files): Named dependency files
1654 as \$(DEPDIR)/$base.P$obj
1655 (handle_lib_objects_cond): Likewise.
1656 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1657 (scan_one_configure_file): Likewise.
1658 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1659 Ignore OMIT_DEPENDENCIES.
1660 (handle_configure): Do not pass --ignore-deps.
1661 (scan_configure): Require `depcomp'.
1662 (initialize_global_constants): Make `depcomp' common. Remove
1663 `--ignore-deps' from usage.
1664 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1665 * compile.am: Remove rules for .c.o and .c.obj
1666 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1667 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1668 Use it and depcomp in suffix rules.
1669 * libtool.m4: Likewise.
1670 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1671 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1672 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1673 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1674 from the Makefile and subst it in deps. Report creation of deps
1675 files (for now). Replace $U with `_' and the empty string. Write
1676 a comment to each created file.
1677 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1678 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1679 dependency mode and AC_SUBST [$1]DEPMODE.
1680 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1681 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1682 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1684 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1686 * depout.m4: Fix sed expression for extracting `dirpart'.
1688 1999-03-29 Tom Tromey <tromey@cygnus.com>
1690 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1692 * compile.am (.c.obj): Also disabled when dependency tracking
1694 * depend2.am (@EXT@.obj): New target.
1695 * automake.in (get_object_extension): Added explanatory comment.
1696 (generate_dependency_code): Handle $seen_objext.
1698 * depend.am: Removed obsolete comment.
1699 * depend2.am: Minor formatting fix.
1701 1999-03-28 Tom Tromey <tromey@cygnus.com>
1703 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1705 (EXTRA_DIST): Removed.
1706 * automake.in (dependency_macros): New global.
1707 (scan_one_configure_file): Recognize new dependency tracking
1708 macros, and define new resulting configure variables.
1709 (generate_dependency_code): New sub.
1710 (handle_dependencies): Use it.
1711 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1713 (@EXT@.lo): Likewise.
1714 * m4/depvars.m4: New file.
1715 * m4/objcdepend.m4: New file.
1716 * m4/cxxdepend.m4: New file.
1717 * m4/init.m4: Moved dependency handling code into depout.m4.
1718 * m4/depout.m4: New file.
1719 * m4/ccdepend.m4: New file.
1720 * m4/depend.m4: New file.
1722 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1723 (@EXT@.lo): Likewise.
1724 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1727 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1728 will create the required .P files for dependency tracking.
1729 * automake.in (scan_dependency_file): Removed.
1730 (handle_dependencies): Never call scan_dependency_file.
1731 (generate_deps): Removed.
1732 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1733 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1734 (srcdir_name): Removed.
1735 (build_directory): Removed.
1736 (initialize_global_constants): Changed $USAGE to reflect argument
1738 (handle_dist_worker): Never run automake in `dist' rule.
1739 (handle_configure): Use --ignore-deps, not --include-deps.
1740 * depend.am (DEPS_MAGIC): Removed.
1741 (DEP_FILES): Unconditionally include.
1743 1999-03-27 Tom Tromey <tromey@cygnus.com>
1745 * automake.in (saw_sources_p): Correctly count header extensions
1747 (handle_headers): Fixed order of arguments to am_install_var.
1749 * automake.in (am_install_var): Don't error if EXTRA_foo is
1752 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1753 (uninstall-@DIR@SCRIPTS): Likewise.
1754 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1755 (uninstall-@DIR@PROGRAMS): Likewise.
1756 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1757 (uninstall-@DIR@LTLIBRARIES): Likewise.
1758 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1759 (uninstall-@DIR@LISP): Likewise.
1760 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1761 (uninstall-@DIR@LIBRARIES): Likewise.
1762 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1763 (uninstall-@DIR@JAVA): Likewise.
1764 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1765 (uninstall-@DIR@HEADERS): Likewise.
1766 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1767 (uninstall-@DIR@DATA): Likewise.
1768 * Makefile.in: Rebuilt.
1769 * Makefile.am (dist_pkgdata_DATA): Renamed.
1770 (EXTRA_DIST): Removed.
1771 (install-data-hook): Added POST_INSTALL; print commands as they
1772 are run; respect DESTDIR.
1773 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1774 * automake.in (am_install_var): Accept `-candist' and
1775 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1776 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1777 and `nodist_' prefixes.
1778 (handle_scripts): Pass -candist to am_install_var.
1779 (handle_data): Pass -defaultdist to am_install_var.
1780 (handle_headers): Likewise.
1781 (handle_emacs_lisp): Pass -candist to am_install_var.
1782 (handle_java): Pass -candist to am_install_var.
1784 1999-03-26 Tom Tromey <tromey@cygnus.com>
1786 * m4/init.m4: Fixed typo when invoking SHELL.
1788 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1789 yacc header file. From Ralf Corsepius.
1791 * Makefile.in: Rebuilt.
1792 * Makefile.am: Updated to reflect removal of TAR subst.
1793 * automake.texi (Options): Document dist-bzip2.
1794 * automake.in (TAR): Removed global.
1795 (initialize_global_constants): Changed `dist' to use pipe with
1796 gzip; work with non-GNU tar.
1797 (handle_dist): Handle non-GNU tar. Don't define TAR.
1798 (initialize_global_constants): Added `dist-bzip2' entry.
1799 (handle_options): Recognize dist-bzip2 option.
1800 (handle_dist): Likewise.
1801 * configure: Rebuilt.
1802 * configure.in: Don't check for tar.
1803 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1806 * automake.in (am_install_var): Removed obsolete comment.
1808 * texinfos.am (uninstall-info): Don't print loop but instead print
1809 commands. Simplified pre-uninstall loop.
1810 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1811 instead print commands.
1812 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1814 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1815 instead print commands.
1816 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1817 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1818 instead print commands.
1819 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1821 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1823 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1824 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1825 instead print commands.
1826 * data.am (install-@DIR@DATA): Strip subdir from file name.
1827 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1828 instead print commands.
1830 * automake.in (handle_merge_targets): `install-strip' is a phony
1831 target. From Michel de Ruiter.
1833 1999-03-25 Tom Tromey <tromey@cygnus.com>
1835 * automake.in (define_compiler_variable): Don't define variable
1838 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1840 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1841 * automake.texi: ditto
1843 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1845 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1846 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1848 1999-03-24 Tom Tromey <tromey@cygnus.com>
1850 * automake.in (define_compiler_variable): New sub.
1851 (finish_languages): Use it.
1852 (lang_cxx_finish): Likewise.
1853 (lang_f77_finish): Likewise.
1854 (lang_ppf77_finish): Likewise.
1855 (lang_ratfor_finish): Likewise.
1856 (lang_objc_finish): Likewise.
1858 1999-03-23 Tom Tromey <tromey@cygnus.com>
1860 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1861 sed invocations. From Elrond.
1862 (uninstall-@DIR@PROGRAMS): Likewise.
1864 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1865 From Ralf Corsepius.
1867 1999-02-01 Thomas Tanner <tanner@gmx.de>
1869 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1870 warning when AM_PROG_LIBTOOL was found
1871 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1873 1999-03-22 Tom Tromey <tromey@cygnus.com>
1875 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1876 * automake.in (define_standard_variables): New sub.
1877 (read_main_am_file): Use two passes to scan standard variables.
1878 (read_am_file): Don't special-case configure variables with `+='.
1879 (initialize_per_input): Initialize %var_was_plus_eq.
1880 (read_am_file): Set var_was_plus_eq element correctly.
1881 (define_variable): Give error if variable assigned with `+=' is
1883 (initialize_per_input): Initialize %am_var_defs.
1884 (file_contents_with_transform): Set element in %am_var_defs.
1885 (read_am_file): Use %am_var_defs.
1887 1999-03-21 Tom Tromey <tromey@cygnus.com>
1889 * automake.in (initialize_per_input): Initialize %object_map.
1890 (handle_single_transform_list): Allow source files in
1893 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1895 * automake.in (handle_dist): Add missing newline after the first
1898 1999-03-11 Tom Tromey <tromey@cygnus.com>
1900 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1901 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1904 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1906 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1907 legitimate ending. Fixes libobj9.test.
1909 From Ralf Corsepius. Fixes lex3.test.
1910 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1911 maintainer-clean list.
1912 (lang_lex_finish): Likewise.
1914 1999-03-02 Tom Tromey <tromey@cygnus.com>
1916 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1917 construct to work around FreeBSD make/sh problem. From Rich Wales.
1919 1999-03-01 Tom Tromey <tromey@cygnus.com>
1921 Fixes from Pavel Roskin:
1922 * automake.in (variable_conditions_sub): Sort list passed to
1923 variable_conditions_permutations.
1924 (variable_conditions): Sort list before returning.
1926 1999-02-27 Tom Tromey <tromey@cygnus.com>
1928 * automake.in (lang_extensions): New sub.
1929 (handle_dependencies): Use it.
1930 (cxx_extensions): Removed.
1931 (lang_cxx_finish): Use lang_extensions.
1932 (f77_extensions): Removed.
1933 (lang_f77_finish): Use lang_extensions.
1934 (objc_extensions): Removed.
1935 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1936 Report from Dave Morrison.
1937 (lang_ratfor_finish): Likewise.
1939 1999-02-26 Tom Tromey <tromey@cygnus.com>
1941 * automake.in (finish_languages): Added AM_LDFLAGS.
1942 (lang_cxx_finish): Likewise.
1943 (lang_f77_finish): Likewise.
1944 (lang_ppf77_finish): Likewise.
1945 (lang_ratfor_finish): Likewise.
1946 (lang_objc_finish): Likewise.
1948 1999-02-11 Tom Tromey <tromey@cygnus.com>
1950 * aclocal.in (obsolete_macros): Copied from automake.in.
1951 (obsolete_rx): Use only keys of obsolete_macros.
1952 (scan_configure): Report replacement macro for an obsolete macro.
1953 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1955 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1956 entry. Fixes obsolete2.test.
1958 * automake.in (obsolete_macros): Use empty string to indicate no
1960 (scan_one_configure_file): Likewise.
1962 1999-02-07 Paul Eggert <eggert@twinsun.com>
1964 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1965 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1966 needed by some programs.
1968 1999-02-10 Tom Tromey <tromey@cygnus.com>
1970 * automake.in (handle_texinfo): Added `pgs' to list of
1971 extensions. From NISHIDA Keisuke.
1973 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1975 * automake.in (handle_texinfo): remove texinfo.tex from
1978 1999-02-02 Tom Tromey <tromey@cygnus.com>
1980 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1981 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1982 * header-vars.am (INSTALL_PROGRAM): Removed
1983 AM_INSTALL_PROGRAM_FLAGS.
1984 (INSTALL_STRIP_FLAG): New macro.
1986 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1988 (lang_yacc_finish): Likewise.
1989 (lang_lex_finish): Likewise.
1991 1999-02-01 Tom Tromey <tromey@cygnus.com>
1993 * automake.in (handle_dist_worker): Correctly find find in $$d,
1994 not $$. From Bill Davidson.
1996 * automake.in (finish_languages): Use "&", not "do". From Pavel
1998 (handle_single_transform_list): Likewise.
2000 1999-01-29 Tom Tromey <tromey@cygnus.com>
2002 * automake.in (handle_configure): Removed unused variable. From
2005 * ansi2knr.c: New version from L. Peter Deutsch.
2007 1999-01-22 Tom Tromey <tromey@cygnus.com>
2009 * automake.in (require_file_internal): Correctly examine return
2010 value of `system'. From Andris Pavenis. Fixes copy.test.
2012 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
2014 * automake.in (lang_ppf77_rewrite): New function. From Jochen
2015 Kuepper. Fixes ppf77.test.
2016 (lang_ratfor_rewrite): New function
2018 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
2019 fix). From Erez Zadok.
2021 1999-01-15 Tom Tromey <tromey@cygnus.com>
2023 * configure.in: Version 1.4a (oops).
2025 * configure.in: Updated version to 1.5a.
2027 1999-01-14 Tom Tromey <tromey@cygnus.com>
2029 * automake.in (handle_configure): Compute $header_dir based on
2030 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
2032 (handle_configure): Compute relative path to input header
2033 correctly in all cases.
2035 * automake.in (handle_tests): Avoid error messages from dejagnu
2036 test rules. From Karl Heuer.
2038 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2040 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2042 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2043 From Alexandre Oliva and Erez Zadok.
2045 * automake.in (create): Renamed from touch.
2046 (handle_configure): Use create, not touch.
2048 * config.sub, config.guess: New versions from autoconf.
2050 * mkinstalldirs: New version from autoconf.
2052 1999-01-12 Tom Tromey <tromey@cygnus.com>
2054 * config.sub, config.guess, COPYING, texinfo.tex: New versions
2057 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
2059 * automake.in (PATH_PATTERN): New variable:
2060 (INCLUDE_PATTERN): Use it. Ignore all include commands using
2061 symbols besides $(top_srcdir) and $(srcdir).
2063 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2065 * automake.in (handle_dist_worker): avoid failure in `make dist'
2066 if last file is a builddir-only file
2068 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2070 * missing (autoheader): `s' was missing from sed script; grr
2072 1999-01-11 Tom Tromey <tromey@cygnus.com>
2074 * remake-hdr.am (@STAMP@): Reverted timestamp change.
2075 ($(srcdir)/@STAMP@.in): Likewise.
2077 1999-01-10 Tom Tromey <tromey@cygnus.com>
2079 * Makefile.am (scriptdir): New macro.
2080 (script_DATA): Likewise.
2081 (install-data-hook): Use them.
2082 (EXTRA_DIST): Added script_DATA.
2083 (installcheck-local): Use script_DATA.
2085 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2087 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2089 * missing (autoheader): accept multiple header files
2090 (automake): simplify sed processing
2092 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2094 * automake.in (handle_configure, stamp_dir): create only one stamp
2095 file per header, instead of one in the top-level directory and one
2096 in the directory that contains the header.
2098 1999-01-10 Tom Tromey <tromey@cygnus.com>
2100 * automake.in (lang_objc_finish): Formatting fix.
2102 * automake.in (objc_extensions): New sub.
2103 (handle_dependencies): Only generate dependency-tracking code for
2104 ObjC when ObjC source seen.