1 2001-01-29 Akim Demaille <akim@epita.fr>
3 * automake.in (handle_tags): Use &transform.
4 (am_error, am_line_error, am_conf_error, read_am_file): Use
5 directly arrays in strings, no need for &join.
7 * Makefile.am (maintainer-check): Use grep -w when looking for
10 2001-01-29 Akim Demaille <akim@epita.fr>
12 * automake.in (prog_error): New.
15 2001-01-29 Akim Demaille <akim@epita.fr>
17 * automake.in (handle_single_transform_list): if (@list) { foreach
18 (@list) ...} can be written as a simple `foreach' loop.
20 2001-01-29 Akim Demaille <akim@epita.fr>
22 * automake.in (define_standard_variables): Use &transform instead
25 2001-01-29 Akim Demaille <akim@epita.fr>
27 * automake.in (handle_texinfo): Use the new $texinfodir instead of
28 the removed $texinfo_tex.
30 2001-01-29 Akim Demaille <akim@epita.fr>
32 * automake.in (handle_libraries, handle_ltlibraries): Use
35 2001-01-29 Akim Demaille <akim@epita.fr>
37 * automake.in (handle_programs) <xexe>: Remove, replaced by
39 Use it, and &transform.
41 2001-01-29 Akim Demaille <akim@epita.fr>
43 * automake.in (get_object_extension) <$default_includes>: New.
44 Use it and &transform.
46 2001-01-28 Tom Tromey <tromey@redhat.com>
48 * automake.in (variable_value_as_list_worker): Handle entries in
49 %am_var_defs. Fixes listval.test.
51 2001-01-26 Akim Demaille <akim@epita.fr>
53 * automake.in (handle_texinfo): Don't use $conf_pat, just
54 $conf_dir to transform MDDIR since now &transform handles the
55 escaping of RE special characters by itself.
57 2001-01-24 Akim Demaille <akim@epita.fr>
59 * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in
61 * m4/init.m4: Likewise.
62 * m4/sanity.m4: s/conftestfile/conftest.file/.
64 2001-01-24 Tom Tromey <tromey@redhat.com>
66 * automake.in (handle_libraries): Use $configure_ac; typo fix.
68 * automake.in (transform): Quote substitution.
70 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
71 Tom Tromey <tromey@redhat.com>
73 * automake.in (obsolete_rx): Match whole macro names, not
75 * aclocal.in (obsolete_rx): Likewise.
77 2001-01-21 Tom Tromey <tromey@redhat.com>
79 * automake.texi: Changed dir category.
81 2001-01-18 Akim Demaille <akim@epita.fr>
83 * automake.in (handle_texinfo): Use &transform, and transform
85 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
87 2001-01-16 Akim Demaille <akim@epita.fr>
89 Let Automake support `configure.ac'.
91 * automake.in: In the comments, prefer `configure.ac' to
93 When using &am_conf_error, don't repeat `in configure.in', since
94 the function already reports it.
95 When referring to `configure.in' use `$configure_ac' instead.
96 (configure_ac): New global variable.
97 (scan_configure, scan_one_configure_file): Rename as...
98 (scan_autoconf_files, scan_one_autoconf_file): this.
99 (scan_autoconf_files): Compute $configure_ac.
100 (transform): New function.
101 (handle_configure): Use it to transform CONFIGURE_AC in
102 `remake.am' and in `remake-hdr.am'.
103 (common_files): Also consider `configure.ac'.
104 Use consistently single quotes.
105 * aclocal.in (configure_ac): New variable.
107 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
108 * remake.am: Likewise.
109 * remake-hdr.am: Likewise.
111 2001-01-16 Akim Demaille <akim@epita.fr>
113 * m4/multi.m4: Remove the hairy useless quotation of `$'.
114 Simplify `ifelse([$2],,,[$2])' into... `$2'!
115 * m4/minuso.m4: Don't use changequote!
116 * m4/cond.m4: Fix quotation.
117 * m4/sanity.m4: Follow the Autoconf coding style.
118 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
119 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
122 2001-01-15 Tom Tromey <tromey@redhat.com>
124 * automake.in (handle_single_transform_list): Don't print rule
125 here when source is in subdir and object is not. Fixes
128 * automake.in (handle_single_transform_list): Correctly compute
129 $nonansi_obj. Fixes cxxansi.test.
131 * automake.texi (Man pages): Updated to account for man1_MANS,
134 2001-01-13 Steve Robbins <smr@debian.org>
135 Tom Tromey <tromey@redhat.com>
137 * aclocal.in (scan_configure): Don't recognize macro assignments
139 (add_file): Likewise.
141 2001-01-13 Kevin Ryde <user42@zip.com.au>
143 * automake.in (handle_ltlibraries): Omit -rpath from
144 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
146 2001-01-11 Tom Tromey <tromey@redhat.com>
148 * depcomp (case gcc3): Use -MD, not -M.
150 2001-01-10 Tom Tromey <tromey@redhat.com>
152 * depcomp: Handle gcc 3.
154 2000-12-23 Tom Tromey <tromey@redhat.com>
156 * configure.in: Updated to 1.4c for cvs.
158 * configure.in: Updated to 1.4b and released.
160 * config.guess, config.sub, texinfo.tex: New versions.
162 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
165 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
166 distclean and maintainer-clean.
167 * automake.texi (Top level): Document use of DIST_SUBDIRS.
169 From Rusty Ballinger:
170 * automake.in (handle_java): Don't skip `noinst' prefix.
172 * automake.texi (Invoking aclocal): Mention ## comments.
174 2000-12-22 Tom Tromey <tromey@redhat.com>
176 From Raja R Harinath:
177 * automake.in (libtoolize_sometimes): New global.
178 (initialize_global_constants): Added libtoolize_sometimes to
181 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
183 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
185 2000-12-21 Tom Tromey <tromey@redhat.com>
187 * automake.texi (Tags): Document GTAGS target.
188 * tags.am (GTAGS): New target.
190 * automake.in (libtoolize_files): Removed ltconfig.
191 (initialize_global_constants): Added ltconfig to common_files.
193 2000-12-21 Kevin Ryde <user42@zip.com.au>
195 * automake.in (handle_footer): Generate .SUFFIXES target when user
196 defines suffixes but automake does not.
198 2000-12-20 Marc Espie <espie@openbsd.org>
200 * automake.in (handle_texinfo): Make path of $vtexi explicit in
202 * texi-vers.am: Likewise.
204 2000-12-20 Tom Tromey <tromey@redhat.com>
207 * automake.in (handle_footer): Always push user suffixes at the
209 * automake.texi (Suffixes): Updated to reflect new suffix
212 2000-12-18 Tom Tromey <tromey@redhat.com>
214 * automake.in (handle_built_sources): Removed.
215 (handle_merge_targets): Handle BUILT_SOURCES.
216 * automake.texi (Sources): Updated documentation of
219 2000-12-17 Tom Tromey <tromey@redhat.com>
221 * m4/protos.m4: Always do header checks.
223 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
226 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
227 conditionally defined. Fixes PR automake/77 and ldflags.test.
229 2000-11-25 Tom Tromey <tromey@cygnus.com>
231 * automake.in (file_contents_with_transform): Added file name and
232 line number to error report.
233 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
235 2000-11-23 Pavel Roskin <proski@gnu.org>
237 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
239 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
240 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
241 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
242 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
243 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
244 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
245 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
247 2000-11-23 Tom Tromey <tromey@cygnus.com>
249 * automake.in (require_file_internal): Pass $file as second
250 argument to maybe_push_required_file. Fixes PR automake/87.
252 2000-11-18 Tom Tromey <tromey@cygnus.com>
254 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
255 /dev/null. From Paul Martinolich.
257 2000-11-16 Morten Eriksen <mortene@sim.no>
259 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
260 opened, otherwise it has no effect.
262 2000-10-23 Morten Eriksen <mortene@sim.no>
264 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
265 CRLFs. This circumvents a bug in Cygwin bash.
267 * automake.in (generate_makefile): Don't write Makefile.in
268 files with CRLFs, as it causes problems for the dependency-file
269 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
271 2000-10-19 Alex Hornby <alex@anvil.co.uk>
273 * automake.in (handle_merge_targets): Allow parallel install
276 2000-10-19 Akim Demaille <akim@epita.fr>
278 * subdir4.test (depcomp): Don't create it, defs does.
280 2000-10-17 Pavel Roskin <proski@gnu.org>
282 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
283 acinclude.m4 from the dependencies of aclocal.m4 to avoid
284 circular and duplicated dependencies. Strip "./" from the
287 2000-10-17 Lars J. Aas <larsa@sim.no>
289 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
290 normal comments (#) instead of m4 dnl-type comments.
292 2000-10-17 Alex Hornby <alex@anvil.com>
294 * depcomp: Altered sed clause to strip of inclusion depth
295 numbers generated by cpp. Also output in gcc style.
297 2000-10-16 Morten Eriksen <mortene@sim.no>
299 * depcomp (msvisualcpp): New dependency tracking mode, for
300 Microsoft Visual C++.
302 2000-10-16 Morten Eriksen <mortene@sim.no>
304 * depcomp: Fix a bug in SGI dependency tracking mode with source
305 files which do not dependend on any other source files.
307 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
309 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
310 * automake.in, automake.texi: Likewise.
311 * clean-kr.am, clean.am: Likewise.
312 * comp-vars.am: Likewise.
313 * compile, compile.am: Likewise.
314 * data-clean.am: Likewise.
316 * dejagnu.am: Likewise.
318 * depend.am, depend2.am: Likewise.
319 * dist-vars.am, dist.am: Likewise.
320 * elisp-comp: Likewise.
321 * footer.am: Likewise.
322 * header-vars.am, header.am: Likewise.
323 * java-clean.am java.am: Likewise.
324 * kr-extra.am: Likewise.
325 * library.am: Likewise.
326 * libs-clean.am, libs.am: Likewise.
327 * libtool.am: Likewise.
328 * lisp-clean.am lisp.am: Likewise.
329 * ltlib-clean.am ltlib.am: Likewise.
330 * ltlibrary.am: Likewise.
331 * m4/Makefile.in: Likewise.
332 * m4/strtod.m4: Likewise.
333 * mans-vars.am, mans.am: Likewise.
334 * mdate-sh: Likewise.
336 * multilib.am: Likewise.
337 * program.am: Likewise.
338 * progs-clean.am, progs.am: Likewise.
339 * python-clean.am, python.am: Likewise.
340 * remake-hdr.am, remake.am: Likewise.
341 * scripts.am: Likewise.
342 * subdirs.am: Likewise.
343 * tags-clean.am, tags.am: Likewise.
344 * texi-vers.am: Likewise.
345 * texinfos.am: Likewise.
348 2000-10-09 Pavel Roskin <proski@gnu.org>
350 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
351 assignments changing $? - it's broken in ash-0.2.
352 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
354 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
355 defined use it as the list of M4 files aclocal.m4 depends on.
357 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
359 * aclocal.in (add_file): Strip comments while scanning for
362 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
364 * automake.in (initialize_global_constants): End the
365 result of dist-bzip2 with tar.bz2, not bz2.
367 2000-08-30 Tom Tromey <tromey@cygnus.com>
369 Fix for PR automake/72:
370 * automake.in (initialize_per_input): Define `need_link'.
371 (finish_languages): Use need_link.
372 (handle_source_transform): Set need_link if required.
374 2000-08-28 Tom Tromey <tromey@cygnus.com>
376 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
378 (register_language): Default the `derived-autodep' option.
379 (handle_single_transform_list): Add to %dep_files if language has
380 `derived-autodep' set. Re-fixes lex4.test.
382 2000-08-27 Tom Tromey <tromey@cygnus.com>
384 * automake.in (handle_single_transform_list): Only add to
385 %dep_files if language is found and supports automatic dependency
386 tracking. Fixes PR automake/75.
388 * automake.in (am_primary_prefixes): Don't set `valid' for
389 configure variables that don't satisfy the other constraints.
390 Fixes PR automake/68.
392 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
394 Fix for PR automake/67.
395 * automake.in (handle_multilib): remove .am suffix in fragment
396 name passed to file_contents.
397 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
398 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
399 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
401 2000-08-26 Tom Tromey <tromey@cygnus.com>
403 * subdirs.am (maintainer-clean-recursive): Always run clean rules
404 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
406 * automake.in (handle_man_pages): Generate install targets for man
407 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
409 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
410 Fix for PR automake/74. From js pendry.
412 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
414 * depcomp (gcc): Support DOS-style absolute file names with drive
417 2000-08-06 Jim Meyering <meyering@lucent.com>
419 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
420 if the depcomp file exists, before calling require_config_file on
421 `depcomp'. This makes require_file_internal skip its buggy existence
422 test that would make automake fail (with `required file `lib/depcomp'
423 not found') when AC_CONFIG_AUX_DIR is not set.
425 This change change does not fix the existing bug where, if `depcomp'
426 is not present in the build directory (at the top level), automake
427 still gives the inaccurate diagnostic about *lib*/depcomp rather
430 2000-08-05 Jim Meyering <meyering@lucent.com>
432 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
433 add missing closing bracket and closing parenthesis.
434 Don't quote the first argument to AC_OUTPUT_COMMANDS.
435 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
437 2000-08-04 Tom Tromey <tromey@cygnus.com>
439 Idea from Nicolas Thiery:
440 * automake.texi (Tests): Document DEJATOOL as a list.
441 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
442 (check-DEJAGNU): Run runtest in a loop.
444 2000-08-02 Akim Demaille <akim@epita.fr>
446 * m4: Quote properly the name of the macros being defined.
447 Use `#' instead of `dnl' where appropriate.
448 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
450 Don't quote passive characters.
451 Pull the AC_PREREQ outside the macro.
452 * m4/init.m4: Pull the AC_PREREQ outside the macro.
454 2000-07-28 Tom Tromey <tromey@cygnus.com>
456 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
459 2000-07-13 Kevin Ryde <user42@zip.com.au>
461 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
462 EXTRA_PROGRAMS as well as other _PROGRAMS.
464 2000-07-02 Jim Meyering <meyering@lucent.com>
466 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
468 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
470 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
473 2000-06-02 Morten Eriksen <mortene@sim.no>
475 * depcomp: workaround for problem with SGI IRIX sed (it can only
476 handle lines of up to 8192 characters, the rest of the line will
479 2000-05-31 Morten Eriksen <mortene@sim.no>
481 * depcomp: tell SGI MIPSpro compilers to generate dependencies
482 through the pre-processor (only CVS libtool has the -Wc option
485 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
487 * missing: Add support for `help2man'.
489 2000-05-11 Tom Tromey <tromey@cygnus.com>
491 * automake.in (handle_tests): Work correctly if TESTS is empty;
492 print nothing if it is. From Kevin Ryde.
494 2000-05-08 Tom Tromey <tromey@cygnus.com>
496 * automake.texi (Texinfo): Mention vers*.texi.
498 2000-05-04 Akim Demaille <akim@epita.fr>
500 AM_INIT_AUTOMAKE is no longer optional, so don't look for
501 `VERSION=' and `PACKAGE='.
502 * automake.in (seen_package, seen_version): Remove initializations of
503 unnecessary variables.
504 (scan_one_configure_file): Don't set them.
505 (scan_configure): Don't use them.
507 2000-05-01 Akim Demaille <akim@epita.fr>
509 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
510 (AM_INIT_AUTOMAKE): Update the writing conventions.
511 Quote the arguments properly.
512 Add a few missing `dnl'.
513 Use AC_PROVIDE_IFELSE.
515 2000-04-26 Jim Meyering <meyering@lucent.com>
517 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
518 macro. Based on a patch from Harlan Stenn.
520 2000-04-13 Akim Demaille <akim@epita.fr>
522 * compile: Remove unnecessary double quotes in assignments.
524 2000-04-13 Akim Demaille <demaille@epita.fr>
526 * automake.in (scan_one_configure_file): Also recognize
528 Remove trailing blanks.
530 2000-04-05 Tom Tromey <tromey@cygnus.com>
532 * header-vars.am (DESTDIR): Commented out definition.
534 * automake.in (require_file_internal): Pass --copy to libtoolize
535 if automake was run with `--copy'.
537 2000-03-22 Tom Tromey <tromey@cygnus.com>
539 * automake.texi (Uniform): Fix definition of pkglibdir.
540 From thi <ttn@revel.glug.org>.
542 2000-03-19 Tom Tromey <tromey@cygnus.com>
544 * aclocal.in (parse_arguments): Copyright 2000.
545 (write_aclocal): Likewise.
546 * automake.in (parse_arguments): Copyright 2000.
547 (initialize_global_constants): Likewise.
549 * automake.in (generate_makefile): Call handle_dist after
550 handle_dependencies and handle_tests. Fixes subobj3.test and
551 pr19.test regressions.
553 2000-03-19 Gordon Matzigkeit <gord@fig.org>
555 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
556 as the current directory.
557 (@EXT@.lo): Likewise.
559 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
561 * automake.in (handle_data): Pass -candist instead of
562 -defaultdist, for the compatibility.
564 2000-03-19 Tom Tromey <tromey@cygnus.com>
566 Fix for test nodepcomp.test:
567 * automake.in (require_file_internal): Use readlink on symlinks.
568 Only unlink file if we are going to try to add it again.
569 (handle_dependencies): Require `depcomp' here.
570 (scan_configure): Don't require `depcomp'.
572 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
574 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
575 the rule to remake Makefile, whether $use_dependencies is true
576 or not. This was a historical one and doesn't make sense any
579 2000-03-19 Tom Tromey <tromey@cygnus.com>
581 More for PR automake/38:
582 * automake.texi (Invoking Automake): Document --force-missing.
583 * automake.in (force_missing): New global.
584 (parse_arguments): Recognize --force-missing.
585 (initialize_global_constants): Document --force-missing.
586 (require_file_internal): Handle --force-missing.
588 Fix for PR automake/38:
589 * automake.in (require_file_internal): Check for and handle
590 dangling symlinks. Fixes symlink2.test.
592 Fix for PR automake/45:
593 * automake.texi (configure): Mention requirement to run
595 (Requirements): Removed most text.
596 * automake.in (seen_init_automake): New global.
597 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
598 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
599 Set seen_init_automake if needed.
601 Fix for PR automake/41:
602 * automake.in (require_file_found): New global.
603 (require_file_internal): Set require_file_found entry.
604 (handle_texinfo): Require file any number of times.
606 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
609 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
611 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
613 * m4/missing.m4: Print the backtick in a way that won't cause
614 autoconf CVS to emit any warnings.
616 2000-03-01 Jim Meyering <meyering@lucent.com>
618 * automake.in (handle_dist_worker) [generating rules for distdir]:
619 Don't use `ln' (which was just a space optimization anyway) to
620 populate $(distdir). Otherwise, the dist rules that change
621 permissions would end up affecting the master sources.
622 * texinfos.am (dist-info): Likewise.
624 2000-02-13 Jim Meyering <meyering@lucent.com>
626 * automake.in (generate_makefile): Detect write/close failure.
628 2000-02-02 Assar Westerlund <assar@sics.se>
630 * automake.in (handle_single_transform_list): do not use $< which
631 is not handled by all non-GNU makes. Instead do explicit sh code
632 testing for the file in this directory and srcdir. Based on a
633 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
635 2000-01-12 Tom Tromey <tromey@cygnus.com>
637 * m4/lispdir.m4: Added --with-lispdir argument processing.
640 2000-01-06 Tom Tromey <tromey@cygnus.com>
642 * automake.in (handle_configure): Don't check for
644 (scan_configure): Check for AC_PROG_MAKE_SET.
646 * header-vars.am (@SET_MAKE@): Added.
647 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
650 1999-12-19 Tom Tromey <tromey@cygnus.com>
652 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
654 (require_file_internal): Corrected arguments to second invocation
655 of maybe_push_required_file.
657 Fix for PR automake/9:
658 * automake.in (make_dirs, make_dirs_set): New globals.
659 (is_make_dir): New function.
660 (handle_configure): Use it.
661 (require_file_internal): Push file if there is no Makefile in its
663 (initialize_per_input): Initialize handle_dist_run.
664 (push_dist_common): Inspect handle_dist_run.
665 (handle_dist): Set handle_dist_run. Push items from
666 configure_dist_common onto dist_common if appropriate.
667 (configure_dist_common): New global.
668 (scan_configure): Set it.
669 (maybe_push_required_file): New function.
670 (require_file_internal): Use it.
672 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
673 more subdirs are defined. From Axel Belinfante. Fixes
676 1999-12-18 Tom Tromey <tromey@cygnus.com>
678 Partial fix for PR automake/40:
679 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
680 (uninstall-@DIR@LISP): Likewise.
681 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
682 (uninstall-@DIR@HEADERS): Likewise.
683 * data.am (install-@DIR@DATA): Handle nobase_ case.
684 (uninstall-@DIR@DATA): Likewise.
685 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
686 (am_install_var): Recognize and handle `nobase_' prefix.
688 1999-12-17 Tom Tromey <tromey@cygnus.com>
690 * automake.in (get_object_extension): Added space before `-I.'.
691 Report from Ralf Corsepius.
693 1999-12-15 Tom Tromey <tromey@cygnus.com>
695 * aclocal.in: Don't pass $acdir to scan_m4_files.
696 (parse_arguments): Push $acdir on end of dirlist.
697 (scan_file): Don't warn if duplicate macro seen.
699 1999-12-13 Tom Tromey <tromey@cygnus.com>
701 Fix for PR automake/30 and PR automake/23. Fixes test
703 * automake.in (initialize_per_input): Initialize
704 source_suffix_pattern.
705 (derive_suffix): New function.
706 (handle_single_transform_list): Call it.
708 * automake.in (add_depend2): Handle the no-dependency-tracking
709 case. Fixes test suffix2.test.
711 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
713 * automake.in (get_object_extension): Fixed quoting on
716 * depend2.am: Removed erroneous comment.
718 * automake.texi (Program variables): Document nostdinc.
720 * automake.in (get_object_extension): Respect nostdinc option.
721 (handle_options): Recognize nostdinc.
722 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
725 * automake.in (read_am_file): Allow conditional includes. Fixes
728 * depcomp: Handle case on SGI when libtool is `yes'.
729 * depend2.am (@EXT@.o): Set libtool.
730 (@EXT@.lo): Likewise.
731 (@EXT@.obj): Likewise.
733 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
736 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
738 * automake.in (add_depend2): substitute $rule in the rules
739 for individual files. Fixes test specflags5.test.
741 1999-12-12 Tom Tromey <tromey@cygnus.com>
743 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
744 to create directories. Fixes test subobj3.test.
746 1999-12-10 Tom Tromey <tromey@cygnus.com>
748 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
749 message when creating .deps files.
751 * automake.in (initialize_global_constants): If unreadable by
752 owner, make it readable by owner regardless of number of links.
753 Fixes more of install2.test.
755 * missing: Try to see if gnutar or gtar exist before invoking
758 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
759 install_sh value. Look for install-sh and install.sh in a
760 somewhat more sensible way. Fixes test install2.test. Partially
763 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
765 * m4/missing.m4: remove redundant backquote
767 1999-11-23 Tom Tromey <tromey@cygnus.com>
769 * automake.in (initialize_global_constants): Use `bzip2 -9', not
770 `bzip --best' Report from Jim Meyering.
772 1999-11-22 Tom Tromey <tromey@cygnus.com>
774 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
775 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
776 AM_MISSING_INSTALL_SH.
777 * automake.in (scan_one_configure_file): Reverted previous
780 * automake.in (scan_one_configure_file): Define `install_sh'
781 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
784 * automake.in (handle_single_transform_list): Generate explicit
785 rule for subdir objects. Fixes new addition to subobj.test.
787 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
788 defined by AC_SUBST. Fixes ltlibobjs.test.
790 Fix for sourcesub.test:
791 * automake.in (handle_single_transform_list): Added `var'
792 argument. If config sub found, give error.
793 (handle_source_transform): Updated for new
794 handle_source_transform.
796 * py-compile: New file.
797 * m4/Makefile.am (m4data_DATA): Added python.m4.
798 * m4/python.m4: New file.
799 * automake.texi (Uniform): Mention PYTHON.
801 * Makefile.am (amfiles): Added python.am, python-clean.am.
802 (dist_script_DATA): Added py-compile.
803 * python.am: New file.
804 * python-clean.am: New file.
805 * automake.in (seen_pythondir): New global.
806 (generate_makefile): Call handle_python.
807 (handle_python): New function.
808 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
810 (am_install_var): Special-case PYTHON like JAVA.
811 (scan_configure): Check for py-compile.
812 (initialize_global_constants): Added py-compile to @common_files.
814 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
816 1999-11-21 Tom Tromey <tromey@cygnus.com>
818 * automake.in (finish_languages): Only generate suffix rule when
819 not doing dependency tracking.
821 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
822 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
824 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
827 1999-11-19 Tom Tromey <tromey@cygnus.com>
829 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
830 Alexandre's change on branch.
832 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
834 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
836 * dejagnu.am: Set CDPATH before cd.
837 * Makefile.in: Rebuilt.
839 * automake.in (handle_single_transform_list): Change `\1' for `$1'
840 in `s///' replacement.
842 * automake.in (handle_dist): Set CDPATH before cd.
843 * dejagnu.am (check-DEJAGNU): Likewise.
844 * texinfos.am (install-info-am, dist-info): Likewise.
845 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
846 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
847 * aclocal.m4, configure, Makefile.in: Rebuilt.
849 * AUTHORS: Added myself.
851 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
853 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
854 Reported by Tim Wilkinson <tim@transvirtual.com>
855 * aclocal.m4, configure: Rebuilt.
857 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
859 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
860 LEX program is found, use `${am_missing_run}flex'.
862 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
864 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
867 * automake.in (handle_lib_objects_cond): Remove second dot from
868 dependency file names.
870 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
871 regardless of OBJEXT.
873 * automake.in (handle_dependencies): Add blank line after depend2.
874 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
875 blank line before `include's, not after them.
876 (scan_one_configure_file): Do not special-case `DEP_' any more.
878 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
880 * aclocal.m4, configure: Rebuilt.
882 * m4/depend.m4 (AMDEPBACKSLASH): Define.
883 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
885 * automake.in (handle_dependencies): Generate `include's for
886 dependency files after `@AMDEP@'.
888 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
889 --run support in the missing script, since SHELL is not exported.
890 Reported by job bogan <job@piquin.uchicago.edu>
891 * aclocal.m4, configure: Rebuilt.
893 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
895 * aclocal.m4, configure: Rebuilt with itself.
896 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
898 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
899 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
900 (AM_MISSING_HAS_RUN): New macro.
901 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
902 * automake.texi (Requirements): Likewise.
903 * version.texi, stamp-vti: Rebuilt.
905 1999-07-28 Tom Tromey <tromey@cygnus.com>
907 * depcomp: Handle the `hp' mode.
909 1999-07-06 Tom Tromey <tromey@cygnus.com>
911 * depcomp: Work around HP-UX 10.20 sed bug.
913 1999-07-05 Tom Tromey <tromey@cygnus.com>
915 * automake.in (handle_dependencies): Generate a separate include
916 for each dep file. Report from Alexandre Oliva.
917 * depend.am: Don't include DEP_FILES.
919 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
921 * depend.am: Add @AMDEP@ before `include', so that dependency
922 tracking can be disabled.
923 * depend2.am: Ditto, before all lines related with dependency
925 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
926 --enable/disable-dependency-tracking and sets AMDEP accordingly.
927 It is implicitly disabled if depcomp is missing.
928 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
929 generated by side-effect.
930 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
931 * automake.in (handle_dependencies): Add @AMDEP@ before the value
933 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
936 * depcomp: Support -xM for dependency generation, for Sun CC.
937 Reported by Alex Hornby <alex@anvil.co.uk>
938 * m4/depend.m4: Extract the list of supported dependency-tracking
939 mechanisms from the depcomp script and use it to test each one.
940 * THANKS: Added Alex Hornby.
942 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
943 to leave $(...COMPILE) in a line by itself.
945 * THANKS: Added Miles Bader.
947 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
949 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
950 Fix `dashmstdout' to ignore non-dependency-generating uses of the
952 * depcomp (makedepend): New dependency-generating method.
954 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
956 * missing: If given `--run' as first argument, try to run the
957 given program before falling back to the ``emulated'' behavior.
958 Add support for `tar'.
959 * automake.in: Use new `tar' support for `dist'.
960 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
961 program, prepend `missing --run' to the given program name.
962 * m4/init.m4: Remove AMTAR-related stuff.
965 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
966 CONFIG_FILES. Do not use temporary variable for list of
967 dependency files, it breaks Cygwin.
969 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
971 * depcomp (gcc): Imported comments removed from depend2.am, so
972 that we don't lose them.
974 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
975 when not using ansi2knr.
977 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
979 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
980 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
982 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
984 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
985 so as not to compile an empty source; some compilers fail on this.
986 Redirect stderr of depcc to /dev/null. Test for -M with -o,
987 because some compilers will output the rules to the output file.
988 * depcomp (dashmstdout): Add --silent before --mode=compile, so
989 that we don't get libtool output mixed up with make rules.
991 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
992 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
993 -o for libtool, otherwise it may try to deduce the object name
994 from the dependency-generation flag.
995 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
998 * libtool.am: Do not emit .c.lo here...
999 * depend2.am: ... emit .*.lo here, only when using libtool.
1000 * automake.in (get_object_extension): No more @MINUSO@ here.
1001 (handle_single_transform_list): Set $depfile from $object.
1002 (handle_dependencies): Emit depend2.am for all used languages,
1003 regardless of $use_dependencies; the setting of depcomp makes the
1005 (lang_cxx_finish): Do not emit compilation rules.
1006 (lang_objc_finish): Likewise.
1007 (lang_java_finish): Likewise.
1009 1999-04-21 Tom Tromey <tromey@cygnus.com>
1011 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
1012 interpolate DEPDIR in DEP_FILES expansion.
1014 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
1016 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
1017 dependency updating.
1018 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
1019 handle multi-line dependency lists.
1021 1999-11-12 Tom Tromey <tromey@cygnus.com>
1023 Fix for PR automake/14:
1024 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
1026 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
1028 * m4/multi.m4: Added missing `]'. From Akim Demaille.
1030 * Makefile.am (path-check): Make sure distdir is writeable before
1032 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
1033 (handle_dist_worker): Make sure distdir is writeable before
1035 (initialize_global_constants [$dist_trailer]): Make sure distdir
1036 is writeable before removing it.
1037 * dist.am (distcheck): Make the new source tree read-only before
1038 compiling. Idea from Karl Berry.
1040 * automake.texi (Gnits): Allow COPYING.LIB again.
1041 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
1043 1999-11-11 Jim Meyering <meyering@ascend.com>
1045 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
1048 1999-11-09 Tom Tromey <tromey@cygnus.com>
1050 * automake.in (handle_dist): Typo fix. From Jim Meyering.
1052 1999-11-09 Jim Meyering <meyering@ascend.com>
1054 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
1055 markers, no matter what.
1057 1999-11-08 Tom Tromey <tromey@cygnus.com>
1059 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
1062 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1063 From Jim Meyering. Also, don't mention file name in `cp'
1064 destination. From Olly Betts.
1066 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1068 * texinfos.am (uninstall-info): Use installed info file, not one
1069 from srcdir or builddir.
1071 1999-11-07 Tom Tromey <tromey@cygnus.com>
1073 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1076 Fix for PR automake/18:
1077 * automake.in (handle_dist): Add contents of dist.am to the output
1079 * Makefile.am (amfiles): Added dist.am.
1080 * dist.am: New file.
1081 (distcheck): Added uninstall and distclean checks.
1083 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1084 Fixes PR automake/20. From Matthew D. Langston.
1086 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1087 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1089 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1091 * m4/lispdir.m4: -batch must come before -q.
1092 * elisp-comp: Likewise.
1093 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1094 * THANKS: Added Lars.
1096 1999-08-15 Tom Tromey <tromey@cygnus.com>
1098 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1101 1999-07-27 Tom Tromey <tromey@cygnus.com>
1103 * config.guess, config.sub: New versions from autoconf.
1105 1999-07-13 Tom Tromey <tromey@cygnus.com>
1107 Work around losing `awk'. Report from Harlan Stenn.
1108 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1109 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1111 * automake.in (handle_source_transform): Mark prefix as seen if
1112 corresponding _SOURCES variable exists. Fixes empty2.test.
1114 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1116 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1118 (AUTOMAKE): Set --amdir to current directory.
1120 1999-06-20 Tom Tromey <tromey@cygnus.com>
1122 * Makefile.am (TAGS_FILES): New macro.
1123 (ETAGS_ARGS): Moved files into TAGS_FILES.
1124 (TAGS_DEPENDENCIES): Likewise.
1125 (ETAGS_ARGS): Removed.
1126 (TAGS_DEPENDENCIES): Removed duplicate definition.
1128 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1129 from Ganesan Rajagopal.
1132 1999-06-18 Thomas Tanner <tanner@ffii.org>
1134 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1137 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1139 * ylwrap: Handle filenames output by the DOS version of Bison.
1141 1999-06-20 Tom Tromey <tromey@cygnus.com>
1143 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1146 1999-06-19 Tom Tromey <tromey@cygnus.com>
1148 * automake.in (handle_dist_worker): Remove redundant entries from
1151 * automake.in (handle_lib_objects_cond): Better error message when
1152 unrecognized option passed in LDADD.
1154 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1156 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1157 appropriate --acdir and --amdir arguments.
1159 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1161 * automake.in (dist_header): Avoid changing permissions of files
1162 in the source tree, trying a complex `find/chmod' command before
1163 falling back to plain chmod.
1164 (handle_dist_worker): Do not create directories with mode 777, the
1165 find above will take care of that.
1166 * m4/init.m4: Set install_sh for find/chmod above.
1168 * THANKS: Added Shuhei Amakawa.
1170 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1172 * mans.am: Strip dirname from given filename.
1174 1999-06-07 Jim Meyering <meyering@ascend.com>
1176 * automake.in (handle_dist): Change emitted rules so that a failure
1177 in `$(MAKE) distcheck-hook' propagates to the outer make.
1179 1999-05-27 Tom Tromey <tromey@cygnus.com>
1181 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1182 not FLAG in compilation rule.
1183 (add_depend2): Likewise.
1185 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1188 * m4/dmalloc.m4: Updated dmalloc site information.
1190 1999-05-19 Tom Tromey <tromey@cygnus.com>
1192 * automake.in (handle_single_transform_list): Push object name
1193 without extension onto lang_specific_files. Fixes
1196 * automake.in (handle_single_transform_list): Added missing
1197 space. Fixes specflags.test.
1199 1999-05-05 Tom Tromey <tromey@cygnus.com>
1201 * automake.in: Disabled dependency tracking for Java.
1203 1999-05-04 Tom Tromey <tromey@cygnus.com>
1205 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1206 * automake.in (handle_libraries): Recognize _AR variable.
1208 1999-04-30 Tom Tromey <tromey@cygnus.com>
1210 * automake.in (finish_languages): Always use `-o $@' with
1211 libtool. Define ltcompile and ltlink at outermost scope in
1213 * libtool.am (.c.lo): Removed.
1215 * automake.in (finish_languages): Put `.' before extension in
1216 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1217 `-flag'. From Pavel Roskin.
1219 1999-04-28 Tom Tromey <tromey@cygnus.com>
1221 * automake.in (finish_languages): Fixed scoping of ltcompile and
1222 ltlink. From Pavel Roskin.
1224 1999-04-27 Tom Tromey <tromey@cygnus.com>
1226 * automake.in (read_main_am_file): Don't start macro definition
1227 with backslash-newline. Instead, append newline at the end if
1230 * automake.in (read_am_file): Insert a backslash before a trailing
1231 newline. Fixes pluseq8.test.
1233 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1235 (check_canonical_spelling): Don't insert `AM' before macro name
1236 (reverts Alexandre's 1999-04-27 patch).
1237 * automake.texi: Reverted documentation change for `AM' patch.
1239 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1240 Minor rewrite for clarity.
1241 (check_canonical_spelling): Prefer `$1' over `\1'.
1243 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1245 (@LTOBJ@): Likewise.
1246 * automake.in (handle_single_transform_list): Don't print rule if
1247 doing dependency tracking and the file's language supports it.
1248 (initialize_per_input): Initialize lang_specific_files.
1249 (add_depend2): New function.
1250 (handle_dependencies): Use it.
1252 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1253 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1254 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1256 (lang_ratfor_finish): Use lang_f77_finish.
1258 * compile.am (NOTDEPEND.c.o): Removed.
1259 (OBJEXT.c.obj): Likewise.
1260 * automake.in: Added `flags' attribute to all relevant languages.
1261 (handle_single_transform_list): Handle per-derived-object flags.
1262 Changed interface and all callers.
1263 (handle_built_sources): Don't call handle_single_transform_list.
1264 Added `compile' and `compiler-name' attribute to all relevant
1266 (finish_languages): Define compiler variables here.
1267 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1268 define flag variable or .o rules. Don't add to @suffixes.
1269 (lang_f77_finish): Likewise.
1270 (lang_ppf77_finish): Likewise.
1271 (lang_objc_finish): Likewise.
1272 (lang_java_finish): Likewise.
1273 (finish_languages): Define flag variable here.
1274 Added `output-arg' attribute to all relevant languages.
1275 (finish_languages): Define `.o' rules here.
1276 (finish_languages): Put extension on @suffixes.
1277 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1279 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1281 * automake.in (initialize_global_constants): Invoke gzip for
1282 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1284 * automake.in (initialize_global_constants): Remove zip file
1285 before re-creating it.
1286 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1288 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1289 like in install-info-am.
1290 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1292 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1293 Let's use the good ol' substitution, then.
1294 Reported by Russ Allbery <rra@stanford.edu>
1296 * automake.in (check_canonical_spelling): Insert AM before names
1297 starting with non-letters.
1299 * automake.texi: Document it.
1301 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1303 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1304 doesn't work on perl4. Maybe \Q and \E do.
1306 1999-04-24 Tom Tromey <tromey@cygnus.com>
1308 * automake.in: Treat `.zip' and `.jar' files as Java.
1310 * automake.in (generate_makefile): Define `subdir' after reading
1312 (read_main_am_file): Give programming error if variable defined
1315 1999-04-22 Tom Tromey <tromey@cygnus.com>
1317 * automake.in (generate_makefile): Define `subdir' variable.
1318 (handle_dist): Don't define `subdir'.
1320 * automake.in (handle_texinfo): Change numbering scheme for
1321 stamp-vti files, to avoid problems with DOS.
1322 From Michel de Ruiter.
1324 * automake.texi: Don't mention AM_FUNC_MKTIME.
1325 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1326 * automake.in (scan_one_configure_file): Recognize
1327 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1328 (obsolete_macros): Mention AM_FUNC_MKTIME.
1329 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1330 * m4/mktime.m4: Removed.
1332 1999-04-20 Tom Tromey <tromey@cygnus.com>
1334 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1336 1999-04-20 Brian Ford <ford@vss.fsi.com>
1338 * scripts.am: Change else if's to elif.
1340 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1342 * automake.in (handle_lib_objects_cond): Only require the source
1343 of a LIBOBJ if it's not in BUILT_SOURCES.
1344 Reported by Erez Zadok.
1346 1999-04-19 Tom Tromey <tromey@cygnus.com>
1348 * automake.in: Treat `.class' files as Java source.
1349 (lang_java_finish): Handle `.class' files.
1351 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1353 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1355 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1356 Run some emacs-lisp to find out the site-lisp directory, but
1357 relocate it into prefix.
1359 1999-04-17 Paul Eggert <eggert@twinsun.com>
1361 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1362 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1363 even outside of bigtime_test. Use a time limit of 60 seconds
1364 for the whole test, not 10 seconds per iteration.
1366 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1368 * automake.in: Create stamps for headers in appropriate
1369 directories, even if the input file lives in a different place.
1370 * remake-hdr.am: Likewise.
1372 1999-04-16 Tom Tromey <tromey@cygnus.com>
1375 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1376 Invoke `sed' only once per program.
1377 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1378 Invoke `sed' only once per program.
1380 1999-04-13 Tom Tromey <tromey@cygnus.com>
1382 * automake.in (handle_subdirs): Make `install-recursive' phony.
1383 From Michel de Ruiter.
1385 * automake.in (handle_ltlibraries): Added missing `check'.
1387 1999-04-12 Tom Tromey <tromey@cygnus.com>
1389 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1392 1999-04-11 Tom Tromey <tromey@cygnus.com>
1394 * automake.in (handle_dist): Use AMTAR.
1395 (initialize_global_constants): Likewise.
1396 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1398 * automake.in (lang_sub_obj): New function.
1399 (lang_cxx_rewrite): Use it.
1400 (lang_asm_rewrite): Likewise.
1401 (lang_objc_rewrite): Likewise.
1402 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1403 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1404 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1405 (lang_java_finish): Likewise.
1407 * automake.in: Only register `asm' once.
1408 (lang_asm_finish): Put assembly suffixes on @suffixes.
1410 * libtool.am (.s.lo): Removed.
1412 * automake.in (lang_asm_finish): Handle libtool.
1414 * libtool.am (.c.o): Always pass -c to libtool.
1416 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1417 (lang_yaccxx_rewrite): Likewise.
1418 (lang_lex_rewrite): Likewise.
1419 (lang_lexxx_rewrite): Likewise.
1421 Assembly code no longer included by default:
1422 * compile.am (.s.o): Removed.
1424 * automake.in: Register `asm' language.
1425 (lang_asm_finish): Generate suffix rules for assembly.
1426 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1428 * automake.in (get_object_extension): Substitute @MINUSO@ when
1429 including compile.am.
1430 * compile.am (.c.o): Added @MINUSO@.
1433 First cut at allowing objects in subdirectories:
1434 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1435 * Makefile.am (dist_script_DATA): Added compile.
1436 * m4/minuso.m4: New file.
1437 * automake.in (initialize_global_constants): Added compile to
1439 (seen_cc_c_o): New global.
1440 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1441 (handle_options): Recognize `subdir-objects' option.
1442 (lang_c_rewrite): Added directory argument.
1443 (lang_yacc_rewrite): Likewise.
1444 (lang_yaccxx_rewrite): Likewise.
1445 (lang_lex_rewrite): Likewise.
1446 (lang_lexxx_rewrite): Likewise.
1447 (handle_single_transform_list): Pass directory to _rewrite
1448 function. Generate dependencies for dirstamp files for each .o;
1449 it is just the rules we want to create once.
1450 (lang_c_rewrite): Handle `subdir-objects' option.
1451 (lang_c_rewrite): Require `compile' program.
1452 * compile: New file.
1454 * automake.in (initialize_per_input): Initialize %directory_map.
1455 (handle_single_transform_list): Only create .dirstamp rules once
1458 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1461 * automake.in (configure_input_files): New global.
1462 (scan_configure): Set it.
1463 (handle_configure): Use configure_input_files when determining
1464 which subdirs have a Makefile.am. Fixes confh.test.
1465 (handle_configure): Only recognize acconfig.h in top srcdir.
1467 1999-04-10 Tom Tromey <tromey@cygnus.com>
1469 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1472 * automake.in (am_install_var): Remove redundancies from the
1473 result. Fixes test cond8.test.
1475 * automake.in (handle_single_transform_list): Handle dependency
1476 tracking when files are created in subdirs. Error if object in
1477 subdir has `..' component.
1479 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1481 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1483 * automake.in (lang_yacc_finish): Added missing `&'.
1485 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1487 * automake.in (handle_configure): Replace multiple occurrences of
1488 @STAMP@ in the same line; completes the patch for remake-hdr.am
1491 * automake.in (handle_dependencies): Fix test for `autodep'
1494 * automake.in (handle_source_transform): Add a pfx to used_pfx
1495 only if it's conditional or non-empty, to reduce the number of
1496 empty variables. Emit _OBJECS variable based on program name if
1497 no SOURCES were explicitly specified.
1499 * remake-hdr.am: Create the stamp file before the header file,
1500 and just rename it after, so that the timestamps will be correct.
1501 Reported by Marc Horowitz <marc@mit.edu>
1503 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1504 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1505 Reported by Jim Meyering <meyering@ascend.com>
1507 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1509 1999-04-10 Tom Tromey <tromey@cygnus.com>
1511 * Makefile.am (EXTRA_DIST): New macro.
1512 * ChangeLog.1996, ChangeLog.1998: New files.
1514 1999-04-09 Tom Tromey <tromey@cygnus.com>
1516 * automake.in (handle_source_transform): Handle dist and nodist
1518 (initialize_per_input): Initialize dist_sources.
1519 (check_libobjs_sources): Handle dist and nodist prefixes.
1520 (generate_makefile): Define DIST_SOURCES.
1521 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1523 * automake.texi (Macros): Mention AM_PROG_GCJ.
1524 (Java Support): New node.
1525 (Dist): Documented dist_ and nodist_ prefixes.
1527 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1529 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1530 files, not `.gcj' files.
1532 * m4/gcj.m4: New file.
1533 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1535 * automake.in: Register the `java' language.
1536 (resolve_linker): Handle GCJLINK.
1537 (lang_java_rewrite): New function.
1538 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1539 (lang_c_rewrite): Use new constants.
1540 (lang_cxx_rewrite): Likewise.
1541 (lang_header_rewrite): Likewise.
1542 (lang_yacc_rewrite): Likewise.
1543 (lang_yaccxx_rewrite): Likewise.
1544 (lang_lex_rewrite): Likewise.
1545 (lang_lexxx_rewrite): Likewise.
1546 (lang_asm_rewrite): Likewise.
1547 (lang_f77_rewrite): Likewise.
1548 (lang_ppf77_rewrite): Likewise.
1549 (lang_ratfor_rewrite): Likewise.
1550 (lang_objc_rewrite): Likewise.
1551 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1552 return from rewrite function.
1553 (lang_java_finish): New function.
1554 (register_language): Changed interface and all calls. Added
1555 `autodep' settings to various languages.
1556 (handle_dependencies): Use `autodep' property of language when
1557 including dependency-tracking code.
1559 1999-04-07 Tom Tromey <tromey@cygnus.com>
1561 * automake.in (handle_texinfo): Indentation fixes.
1563 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1565 * automake.in (value_to_list): Skip *only* trailing backslashes.
1567 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1569 * automake.in (value_to_list): Skip trailing backslashes.
1571 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1573 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1575 Reported by Per Cederqvist <ceder@lysator.liu.se>
1576 (handle_texinfo): Do not define texinfo_tex='.', use
1577 '$(srcdir)/texinfo.tex' instead; the directory name will be
1579 (require_conf_file_with_line): Fixed typo.
1581 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1583 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1584 we do not depend on PATH starting with `.'.
1586 1999-03-31 Tom Tromey <tromey@cygnus.com>
1588 * automake.in (quote_cond_val): Quote \n.
1589 (unquote_cond_val): Unquote \n.
1590 (read_am_file): If line ends with `\', preserve it and add a
1592 (read_main_am_file): In conditional case, put conditional text at
1593 beginning of each generated line.
1595 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1597 * automake.in (handle_tests): support XFAIL_TEST
1598 * automake.texi: document it
1600 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1602 * End of merge from trunk.
1604 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1606 * automake.in (cmdline_use_dependencies): Reintroduce it.
1607 (--ignore-deps): Set cmdline_use_dependencies again.
1608 (handle_dependencies): If use_dependencies is not set, define
1610 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1611 (scan_configure): Do not require depcomp when ignoring
1613 (initialize_global_constants): Reintroduce --ignore-deps.
1615 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1617 * depcomp: New file.
1618 * Makefile.am (dist_script_DATA): Added depcomp.
1619 * automake.in (cmdline_use_dependencies, omit_dependencies,
1620 dependency_macros): Removed.
1621 (--ignore-deps): Just ignore.
1622 (handle_single_transform_list, dep_files): Named dependency files
1623 as \$(DEPDIR)/$base.P$obj
1624 (handle_lib_objects_cond): Likewise.
1625 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1626 (scan_one_configure_file): Likewise.
1627 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1628 Ignore OMIT_DEPENDENCIES.
1629 (handle_configure): Do not pass --ignore-deps.
1630 (scan_configure): Require `depcomp'.
1631 (initialize_global_constants): Make `depcomp' common. Remove
1632 `--ignore-deps' from usage.
1633 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1634 * compile.am: Remove rules for .c.o and .c.obj
1635 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1636 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1637 Use it and depcomp in suffix rules.
1638 * libtool.m4: Likewise.
1639 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1640 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1641 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1642 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1643 from the Makefile and subst it in deps. Report creation of deps
1644 files (for now). Replace $U with `_' and the empty string. Write
1645 a comment to each created file.
1646 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1647 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1648 dependency mode and AC_SUBST [$1]DEPMODE.
1649 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1650 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1651 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1653 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1655 * depout.m4: Fix sed expression for extracting `dirpart'.
1657 1999-03-29 Tom Tromey <tromey@cygnus.com>
1659 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1661 * compile.am (.c.obj): Also disabled when dependency tracking
1663 * depend2.am (@EXT@.obj): New target.
1664 * automake.in (get_object_extension): Added explanatory comment.
1665 (generate_dependency_code): Handle $seen_objext.
1667 * depend.am: Removed obsolete comment.
1668 * depend2.am: Minor formatting fix.
1670 1999-03-28 Tom Tromey <tromey@cygnus.com>
1672 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1674 (EXTRA_DIST): Removed.
1675 * automake.in (dependency_macros): New global.
1676 (scan_one_configure_file): Recognize new dependency tracking
1677 macros, and define new resulting configure variables.
1678 (generate_dependency_code): New sub.
1679 (handle_dependencies): Use it.
1680 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1682 (@EXT@.lo): Likewise.
1683 * m4/depvars.m4: New file.
1684 * m4/objcdepend.m4: New file.
1685 * m4/cxxdepend.m4: New file.
1686 * m4/init.m4: Moved dependency handling code into depout.m4.
1687 * m4/depout.m4: New file.
1688 * m4/ccdepend.m4: New file.
1689 * m4/depend.m4: New file.
1691 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1692 (@EXT@.lo): Likewise.
1693 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1696 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1697 will create the required .P files for dependency tracking.
1698 * automake.in (scan_dependency_file): Removed.
1699 (handle_dependencies): Never call scan_dependency_file.
1700 (generate_deps): Removed.
1701 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1702 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1703 (srcdir_name): Removed.
1704 (build_directory): Removed.
1705 (initialize_global_constants): Changed $USAGE to reflect argument
1707 (handle_dist_worker): Never run automake in `dist' rule.
1708 (handle_configure): Use --ignore-deps, not --include-deps.
1709 * depend.am (DEPS_MAGIC): Removed.
1710 (DEP_FILES): Unconditionally include.
1712 1999-03-27 Tom Tromey <tromey@cygnus.com>
1714 * automake.in (saw_sources_p): Correctly count header extensions
1716 (handle_headers): Fixed order of arguments to am_install_var.
1718 * automake.in (am_install_var): Don't error if EXTRA_foo is
1721 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1722 (uninstall-@DIR@SCRIPTS): Likewise.
1723 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1724 (uninstall-@DIR@PROGRAMS): Likewise.
1725 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1726 (uninstall-@DIR@LTLIBRARIES): Likewise.
1727 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1728 (uninstall-@DIR@LISP): Likewise.
1729 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1730 (uninstall-@DIR@LIBRARIES): Likewise.
1731 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1732 (uninstall-@DIR@JAVA): Likewise.
1733 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1734 (uninstall-@DIR@HEADERS): Likewise.
1735 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1736 (uninstall-@DIR@DATA): Likewise.
1737 * Makefile.in: Rebuilt.
1738 * Makefile.am (dist_pkgdata_DATA): Renamed.
1739 (EXTRA_DIST): Removed.
1740 (install-data-hook): Added POST_INSTALL; print commands as they
1741 are run; respect DESTDIR.
1742 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1743 * automake.in (am_install_var): Accept `-candist' and
1744 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1745 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1746 and `nodist_' prefixes.
1747 (handle_scripts): Pass -candist to am_install_var.
1748 (handle_data): Pass -defaultdist to am_install_var.
1749 (handle_headers): Likewise.
1750 (handle_emacs_lisp): Pass -candist to am_install_var.
1751 (handle_java): Pass -candist to am_install_var.
1753 1999-03-26 Tom Tromey <tromey@cygnus.com>
1755 * m4/init.m4: Fixed typo when invoking SHELL.
1757 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1758 yacc header file. From Ralf Corsepius.
1760 * Makefile.in: Rebuilt.
1761 * Makefile.am: Updated to reflect removal of TAR subst.
1762 * automake.texi (Options): Document dist-bzip2.
1763 * automake.in (TAR): Removed global.
1764 (initialize_global_constants): Changed `dist' to use pipe with
1765 gzip; work with non-GNU tar.
1766 (handle_dist): Handle non-GNU tar. Don't define TAR.
1767 (initialize_global_constants): Added `dist-bzip2' entry.
1768 (handle_options): Recognize dist-bzip2 option.
1769 (handle_dist): Likewise.
1770 * configure: Rebuilt.
1771 * configure.in: Don't check for tar.
1772 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1775 * automake.in (am_install_var): Removed obsolete comment.
1777 * texinfos.am (uninstall-info): Don't print loop but instead print
1778 commands. Simplified pre-uninstall loop.
1779 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1780 instead print commands.
1781 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1783 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1784 instead print commands.
1785 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1786 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1787 instead print commands.
1788 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1790 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1792 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1793 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1794 instead print commands.
1795 * data.am (install-@DIR@DATA): Strip subdir from file name.
1796 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1797 instead print commands.
1799 * automake.in (handle_merge_targets): `install-strip' is a phony
1800 target. From Michel de Ruiter.
1802 1999-03-25 Tom Tromey <tromey@cygnus.com>
1804 * automake.in (define_compiler_variable): Don't define variable
1807 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1809 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1810 * automake.texi: ditto
1812 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1814 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1815 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1817 1999-03-24 Tom Tromey <tromey@cygnus.com>
1819 * automake.in (define_compiler_variable): New sub.
1820 (finish_languages): Use it.
1821 (lang_cxx_finish): Likewise.
1822 (lang_f77_finish): Likewise.
1823 (lang_ppf77_finish): Likewise.
1824 (lang_ratfor_finish): Likewise.
1825 (lang_objc_finish): Likewise.
1827 1999-03-23 Tom Tromey <tromey@cygnus.com>
1829 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1830 sed invocations. From Elrond.
1831 (uninstall-@DIR@PROGRAMS): Likewise.
1833 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1834 From Ralf Corsepius.
1836 1999-02-01 Thomas Tanner <tanner@gmx.de>
1838 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1839 warning when AM_PROG_LIBTOOL was found
1840 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1842 1999-03-22 Tom Tromey <tromey@cygnus.com>
1844 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1845 * automake.in (define_standard_variables): New sub.
1846 (read_main_am_file): Use two passes to scan standard variables.
1847 (read_am_file): Don't special-case configure variables with `+='.
1848 (initialize_per_input): Initialize %var_was_plus_eq.
1849 (read_am_file): Set var_was_plus_eq element correctly.
1850 (define_variable): Give error if variable assigned with `+=' is
1852 (initialize_per_input): Initialize %am_var_defs.
1853 (file_contents_with_transform): Set element in %am_var_defs.
1854 (read_am_file): Use %am_var_defs.
1856 1999-03-21 Tom Tromey <tromey@cygnus.com>
1858 * automake.in (initialize_per_input): Initialize %object_map.
1859 (handle_single_transform_list): Allow source files in
1862 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1864 * automake.in (handle_dist): Add missing newline after the first
1867 1999-03-11 Tom Tromey <tromey@cygnus.com>
1869 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1870 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1873 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1875 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1876 legitimate ending. Fixes libobj9.test.
1878 From Ralf Corsepius. Fixes lex3.test.
1879 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1880 maintainer-clean list.
1881 (lang_lex_finish): Likewise.
1883 1999-03-02 Tom Tromey <tromey@cygnus.com>
1885 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1886 construct to work around FreeBSD make/sh problem. From Rich Wales.
1888 1999-03-01 Tom Tromey <tromey@cygnus.com>
1890 Fixes from Pavel Roskin:
1891 * automake.in (variable_conditions_sub): Sort list passed to
1892 variable_conditions_permutations.
1893 (variable_conditions): Sort list before returning.
1895 1999-02-27 Tom Tromey <tromey@cygnus.com>
1897 * automake.in (lang_extensions): New sub.
1898 (handle_dependencies): Use it.
1899 (cxx_extensions): Removed.
1900 (lang_cxx_finish): Use lang_extensions.
1901 (f77_extensions): Removed.
1902 (lang_f77_finish): Use lang_extensions.
1903 (objc_extensions): Removed.
1904 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1905 Report from Dave Morrison.
1906 (lang_ratfor_finish): Likewise.
1908 1999-02-26 Tom Tromey <tromey@cygnus.com>
1910 * automake.in (finish_languages): Added AM_LDFLAGS.
1911 (lang_cxx_finish): Likewise.
1912 (lang_f77_finish): Likewise.
1913 (lang_ppf77_finish): Likewise.
1914 (lang_ratfor_finish): Likewise.
1915 (lang_objc_finish): Likewise.
1917 1999-02-11 Tom Tromey <tromey@cygnus.com>
1919 * aclocal.in (obsolete_macros): Copied from automake.in.
1920 (obsolete_rx): Use only keys of obsolete_macros.
1921 (scan_configure): Report replacement macro for an obsolete macro.
1922 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1924 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1925 entry. Fixes obsolete2.test.
1927 * automake.in (obsolete_macros): Use empty string to indicate no
1929 (scan_one_configure_file): Likewise.
1931 1999-02-07 Paul Eggert <eggert@twinsun.com>
1933 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1934 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1935 needed by some programs.
1937 1999-02-10 Tom Tromey <tromey@cygnus.com>
1939 * automake.in (handle_texinfo): Added `pgs' to list of
1940 extensions. From NISHIDA Keisuke.
1942 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1944 * automake.in (handle_texinfo): remove texinfo.tex from
1947 1999-02-02 Tom Tromey <tromey@cygnus.com>
1949 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1950 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1951 * header-vars.am (INSTALL_PROGRAM): Removed
1952 AM_INSTALL_PROGRAM_FLAGS.
1953 (INSTALL_STRIP_FLAG): New macro.
1955 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1957 (lang_yacc_finish): Likewise.
1958 (lang_lex_finish): Likewise.
1960 1999-02-01 Tom Tromey <tromey@cygnus.com>
1962 * automake.in (handle_dist_worker): Correctly find find in $$d,
1963 not $$. From Bill Davidson.
1965 * automake.in (finish_languages): Use "&", not "do". From Pavel
1967 (handle_single_transform_list): Likewise.
1969 1999-01-29 Tom Tromey <tromey@cygnus.com>
1971 * automake.in (handle_configure): Removed unused variable. From
1974 * ansi2knr.c: New version from L. Peter Deutsch.
1976 1999-01-22 Tom Tromey <tromey@cygnus.com>
1978 * automake.in (require_file_internal): Correctly examine return
1979 value of `system'. From Andris Pavenis. Fixes copy.test.
1981 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1983 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1984 Kuepper. Fixes ppf77.test.
1985 (lang_ratfor_rewrite): New function
1987 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1988 fix). From Erez Zadok.
1990 1999-01-15 Tom Tromey <tromey@cygnus.com>
1992 * configure.in: Version 1.4a (oops).
1994 * configure.in: Updated version to 1.5a.
1996 1999-01-14 Tom Tromey <tromey@cygnus.com>
1998 * automake.in (handle_configure): Compute $header_dir based on
1999 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
2001 (handle_configure): Compute relative path to input header
2002 correctly in all cases.
2004 * automake.in (handle_tests): Avoid error messages from dejagnu
2005 test rules. From Karl Heuer.
2007 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
2009 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
2011 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
2012 From Alexandre Oliva and Erez Zadok.
2014 * automake.in (create): Renamed from touch.
2015 (handle_configure): Use create, not touch.
2017 * config.sub, config.guess: New versions from autoconf.
2019 * mkinstalldirs: New version from autoconf.
2021 1999-01-12 Tom Tromey <tromey@cygnus.com>
2023 * config.sub, config.guess, COPYING, texinfo.tex: New versions
2026 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
2028 * automake.in (PATH_PATTERN): New variable:
2029 (INCLUDE_PATTERN): Use it. Ignore all include commands using
2030 symbols besides $(top_srcdir) and $(srcdir).
2032 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2034 * automake.in (handle_dist_worker): avoid failure in `make dist'
2035 if last file is a builddir-only file
2037 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
2039 * missing (autoheader): `s' was missing from sed script; grr
2041 1999-01-11 Tom Tromey <tromey@cygnus.com>
2043 * remake-hdr.am (@STAMP@): Reverted timestamp change.
2044 ($(srcdir)/@STAMP@.in): Likewise.
2046 1999-01-10 Tom Tromey <tromey@cygnus.com>
2048 * Makefile.am (scriptdir): New macro.
2049 (script_DATA): Likewise.
2050 (install-data-hook): Use them.
2051 (EXTRA_DIST): Added script_DATA.
2052 (installcheck-local): Use script_DATA.
2054 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
2056 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2058 * missing (autoheader): accept multiple header files
2059 (automake): simplify sed processing
2061 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2063 * automake.in (handle_configure, stamp_dir): create only one stamp
2064 file per header, instead of one in the top-level directory and one
2065 in the directory that contains the header.
2067 1999-01-10 Tom Tromey <tromey@cygnus.com>
2069 * automake.in (lang_objc_finish): Formatting fix.
2071 * automake.in (objc_extensions): New sub.
2072 (handle_dependencies): Only generate dependency-tracking code for
2073 ObjC when ObjC source seen.