1 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
2 Tom Tromey <tromey@redhat.com>
4 * automake.in (obsolete_rx): Match whole macro names, not
6 aclocal.in (obsolete_rx): Likewise.
8 2001-01-21 Tom Tromey <tromey@redhat.com>
10 * automake.texi: Changed dir category.
12 2001-01-18 Akim Demaille <akim@epita.fr>
14 * automake.in (handle_texinfo): Use &transform, and transform
16 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
18 2001-01-16 Akim Demaille <akim@epita.fr>
20 Let Automake support `configure.ac'.
22 * automake.in: In the comments, prefer `configure.ac' to
24 When using &am_conf_error, don't repeat `in configure.in', since
25 the function already reports it.
26 When referring to `configure.in' use `$configure_ac' instead.
27 (configure_ac): New global variable.
28 (scan_configure, scan_one_configure_file): Rename as...
29 (scan_autoconf_files, scan_one_autoconf_file): this.
30 (scan_autoconf_files): Compute $configure_ac.
31 (transform): New function.
32 (handle_configure): Use it to transform CONFIGURE_AC in
33 `remake.am' and in `remake-hdr.am'.
34 (common_files): Also consider `configure.ac'.
35 Use consistently single quotes.
36 * aclocal.in (configure_ac): New variable.
38 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
39 * remake.am: Likewise.
40 * remake-hdr.am: Likewise.
42 2001-01-16 Akim Demaille <akim@epita.fr>
44 * m4/multi.m4: Remove the hairy useless quotation of `$'.
45 Simplify `ifelse([$2],,,[$2])' into... `$2'!
46 * m4/minuso.m4: Don't use changequote!
47 * m4/cond.m4: Fix quotation.
48 * m4/sanity.m4: Follow the Autoconf coding style.
49 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
50 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
53 2001-01-15 Tom Tromey <tromey@redhat.com>
55 * automake.in (handle_single_transform_list): Don't print rule
56 here when source is in subdir and object is not. Fixes
59 * automake.in (handle_single_transform_list): Correctly compute
60 $nonansi_obj. Fixes cxxansi.test.
62 * automake.texi (Man pages): Updated to account for man1_MANS,
65 2001-01-13 Steve Robbins <smr@debian.org>
66 Tom Tromey <tromey@redhat.com>
68 * aclocal.in (scan_configure): Don't recognize macro assignments
72 2001-01-13 Kevin Ryde <user42@zip.com.au>
74 * automake.in (handle_ltlibraries): Omit -rpath from
75 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
77 2001-01-11 Tom Tromey <tromey@redhat.com>
79 * depcomp (case gcc3): Use -MD, not -M.
81 2001-01-10 Tom Tromey <tromey@redhat.com>
83 * depcomp: Handle gcc 3.
85 2000-12-23 Tom Tromey <tromey@redhat.com>
87 * configure.in: Updated to 1.4c for cvs.
89 * configure.in: Updated to 1.4b and released.
91 * config.guess, config.sub, texinfo.tex: New versions.
93 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
96 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
97 distclean and maintainer-clean.
98 * automake.texi (Top level): Document use of DIST_SUBDIRS.
100 From Rusty Ballinger:
101 * automake.in (handle_java): Don't skip `noinst' prefix.
103 * automake.texi (Invoking aclocal): Mention ## comments.
105 2000-12-22 Tom Tromey <tromey@redhat.com>
107 From Raja R Harinath:
108 * automake.in (libtoolize_sometimes): New global.
109 (initialize_global_constants): Added libtoolize_sometimes to
112 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
114 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
116 2000-12-21 Tom Tromey <tromey@redhat.com>
118 * automake.texi (Tags): Document GTAGS target.
119 * tags.am (GTAGS): New target.
121 * automake.in (libtoolize_files): Removed ltconfig.
122 (initialize_global_constants): Added ltconfig to common_files.
124 2000-12-21 Kevin Ryde <user42@zip.com.au>
126 * automake.in (handle_footer): Generate .SUFFIXES target when user
127 defines suffixes but automake does not.
129 2000-12-20 Marc Espie <espie@openbsd.org>
131 * automake.in (handle_texinfo): Make path of $vtexi explicit in
133 * texi-vers.am: Likewise.
135 2000-12-20 Tom Tromey <tromey@redhat.com>
138 * automake.in (handle_footer): Always push user suffixes at the
140 * automake.texi (Suffixes): Updated to reflect new suffix
143 2000-12-18 Tom Tromey <tromey@redhat.com>
145 * automake.in (handle_built_sources): Removed.
146 (handle_merge_targets): Handle BUILT_SOURCES.
147 * automake.texi (Sources): Updated documentation of
150 2000-12-17 Tom Tromey <tromey@redhat.com>
152 * m4/protos.m4: Always do header checks.
154 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
157 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
158 conditionally defined. Fixes PR automake/77 and ldflags.test.
160 2000-11-25 Tom Tromey <tromey@cygnus.com>
162 * automake.in (file_contents_with_transform): Added file name and
163 line number to error report.
164 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
166 2000-11-23 Pavel Roskin <proski@gnu.org>
168 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
170 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
171 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
172 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
173 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
174 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
175 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
176 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
178 2000-11-23 Tom Tromey <tromey@cygnus.com>
180 * automake.in (require_file_internal): Pass $file as second
181 argument to maybe_push_required_file. Fixes PR automake/87.
183 2000-11-18 Tom Tromey <tromey@cygnus.com>
185 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
186 /dev/null. From Paul Martinolich.
188 2000-11-16 Morten Eriksen <mortene@sim.no>
190 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
191 opened, otherwise it has no effect.
193 2000-10-23 Morten Eriksen <mortene@sim.no>
195 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
196 CRLFs. This circumvents a bug in Cygwin bash.
198 * automake.in (generate_makefile): Don't write Makefile.in
199 files with CRLFs, as it causes problems for the dependency-file
200 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
202 2000-10-19 Alex Hornby <alex@anvil.co.uk>
204 * automake.in (handle_merge_targets): Allow parallel install
207 2000-10-19 Akim Demaille <akim@epita.fr>
209 * subdir4.test (depcomp): Don't create it, defs does.
211 2000-10-17 Pavel Roskin <proski@gnu.org>
213 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
214 acinclude.m4 from the dependencies of aclocal.m4 to avoid
215 circular and duplicated dependencies. Strip "./" from the
218 2000-10-17 Lars J. Aas <larsa@sim.no>
220 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
221 normal comments (#) instead of m4 dnl-type comments.
223 2000-10-17 Alex Hornby <alex@anvil.com>
225 * depcomp: Altered sed clause to strip of inclusion depth
226 numbers generated by cpp. Also output in gcc style.
228 2000-10-16 Morten Eriksen <mortene@sim.no>
230 * depcomp (msvisualcpp): New dependency tracking mode, for
231 Microsoft Visual C++.
233 2000-10-16 Morten Eriksen <mortene@sim.no>
235 * depcomp: Fix a bug in SGI dependency tracking mode with source
236 files which do not dependend on any other source files.
238 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
240 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
241 * automake.in, automake.texi: Likewise.
242 * clean-kr.am, clean.am: Likewise.
243 * comp-vars.am: Likewise.
244 * compile, compile.am: Likewise.
245 * data-clean.am: Likewise.
247 * dejagnu.am: Likewise.
249 * depend.am, depend2.am: Likewise.
250 * dist-vars.am, dist.am: Likewise.
251 * elisp-comp: Likewise.
252 * footer.am: Likewise.
253 * header-vars.am, header.am: Likewise.
254 * java-clean.am java.am: Likewise.
255 * kr-extra.am: Likewise.
256 * library.am: Likewise.
257 * libs-clean.am, libs.am: Likewise.
258 * libtool.am: Likewise.
259 * lisp-clean.am lisp.am: Likewise.
260 * ltlib-clean.am ltlib.am: Likewise.
261 * ltlibrary.am: Likewise.
262 * m4/Makefile.in: Likewise.
263 * m4/strtod.m4: Likewise.
264 * mans-vars.am, mans.am: Likewise.
265 * mdate-sh: Likewise.
267 * multilib.am: Likewise.
268 * program.am: Likewise.
269 * progs-clean.am, progs.am: Likewise.
270 * python-clean.am, python.am: Likewise.
271 * remake-hdr.am, remake.am: Likewise.
272 * scripts.am: Likewise.
273 * subdirs.am: Likewise.
274 * tags-clean.am, tags.am: Likewise.
275 * texi-vers.am: Likewise.
276 * texinfos.am: Likewise.
279 2000-10-09 Pavel Roskin <proski@gnu.org>
281 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
282 assignments changing $? - it's broken in ash-0.2.
283 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
285 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
286 defined use it as the list of M4 files aclocal.m4 depends on.
288 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
290 * aclocal.in (add_file): Strip comments while scanning for
293 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
295 * automake.in (initialize_global_constants): End the
296 result of dist-bzip2 with tar.bz2, not bz2.
298 2000-08-30 Tom Tromey <tromey@cygnus.com>
300 Fix for PR automake/72:
301 * automake.in (initialize_per_input): Define `need_link'.
302 (finish_languages): Use need_link.
303 (handle_source_transform): Set need_link if required.
305 2000-08-28 Tom Tromey <tromey@cygnus.com>
307 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
309 (register_language): Default the `derived-autodep' option.
310 (handle_single_transform_list): Add to %dep_files if language has
311 `derived-autodep' set. Re-fixes lex4.test.
313 2000-08-27 Tom Tromey <tromey@cygnus.com>
315 * automake.in (handle_single_transform_list): Only add to
316 %dep_files if language is found and supports automatic dependency
317 tracking. Fixes PR automake/75.
319 * automake.in (am_primary_prefixes): Don't set `valid' for
320 configure variables that don't satisfy the other constraints.
321 Fixes PR automake/68.
323 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
325 Fix for PR automake/67.
326 * automake.in (handle_multilib): remove .am suffix in fragment
327 name passed to file_contents.
328 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
329 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
330 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
332 2000-08-26 Tom Tromey <tromey@cygnus.com>
334 * subdirs.am (maintainer-clean-recursive): Always run clean rules
335 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
337 * automake.in (handle_man_pages): Generate install targets for man
338 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
340 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
341 Fix for PR automake/74. From js pendry.
343 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
345 * depcomp (gcc): Support DOS-style absolute file names with drive
348 2000-08-06 Jim Meyering <meyering@lucent.com>
350 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
351 if the depcomp file exists, before calling require_config_file on
352 `depcomp'. This makes require_file_internal skip its buggy existence
353 test that would make automake fail (with `required file `lib/depcomp'
354 not found') when AC_CONFIG_AUX_DIR is not set.
356 This change change does not fix the existing bug where, if `depcomp'
357 is not present in the build directory (at the top level), automake
358 still gives the inaccurate diagnostic about *lib*/depcomp rather
361 2000-08-05 Jim Meyering <meyering@lucent.com>
363 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
364 add missing closing bracket and closing parenthesis.
365 Don't quote the first argument to AC_OUTPUT_COMMANDS.
366 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
368 2000-08-04 Tom Tromey <tromey@cygnus.com>
370 Idea from Nicolas Thiery:
371 * automake.texi (Tests): Document DEJATOOL as a list.
372 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
373 (check-DEJAGNU): Run runtest in a loop.
375 2000-08-02 Akim Demaille <akim@epita.fr>
377 * m4: Quote properly the name of the macros being defined.
378 Use `#' instead of `dnl' where appropriate.
379 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
381 Don't quote passive characters.
382 Pull the AC_PREREQ outside the macro.
383 * m4/init.m4: Pull the AC_PREREQ outside the macro.
385 2000-07-28 Tom Tromey <tromey@cygnus.com>
387 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
390 2000-07-13 Kevin Ryde <user42@zip.com.au>
392 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
393 EXTRA_PROGRAMS as well as other _PROGRAMS.
395 2000-07-02 Jim Meyering <meyering@lucent.com>
397 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
399 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
401 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
404 2000-06-02 Morten Eriksen <mortene@sim.no>
406 * depcomp: workaround for problem with SGI IRIX sed (it can only
407 handle lines of up to 8192 characters, the rest of the line will
410 2000-05-31 Morten Eriksen <mortene@sim.no>
412 * depcomp: tell SGI MIPSpro compilers to generate dependencies
413 through the pre-processor (only CVS libtool has the -Wc option
416 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
418 * missing: Add support for `help2man'.
420 2000-05-11 Tom Tromey <tromey@cygnus.com>
422 * automake.in (handle_tests): Work correctly if TESTS is empty;
423 print nothing if it is. From Kevin Ryde.
425 2000-05-08 Tom Tromey <tromey@cygnus.com>
427 * automake.texi (Texinfo): Mention vers*.texi.
429 2000-05-04 Akim Demaille <akim@epita.fr>
431 AM_INIT_AUTOMAKE is no longer optional, so don't look for
432 `VERSION=' and `PACKAGE='.
433 * automake.in (seen_package, seen_version): Remove initializations of
434 unnecessary variables.
435 (scan_one_configure_file): Don't set them.
436 (scan_configure): Don't use them.
438 2000-05-01 Akim Demaille <akim@epita.fr>
440 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
441 (AM_INIT_AUTOMAKE): Update the writing conventions.
442 Quote the arguments properly.
443 Add a few missing `dnl'.
444 Use AC_PROVIDE_IFELSE.
446 2000-04-26 Jim Meyering <meyering@lucent.com>
448 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
449 macro. Based on a patch from Harlan Stenn.
451 2000-04-13 Akim Demaille <akim@epita.fr>
453 * compile: Remove unnecessary double quotes in assignments.
455 2000-04-13 Akim Demaille <demaille@epita.fr>
457 * automake.in (scan_one_configure_file): Also recognize
459 Remove trailing blanks.
461 2000-04-05 Tom Tromey <tromey@cygnus.com>
463 * header-vars.am (DESTDIR): Commented out definition.
465 * automake.in (require_file_internal): Pass --copy to libtoolize
466 if automake was run with `--copy'.
468 2000-03-22 Tom Tromey <tromey@cygnus.com>
470 * automake.texi (Uniform): Fix definition of pkglibdir.
471 From thi <ttn@revel.glug.org>.
473 2000-03-19 Tom Tromey <tromey@cygnus.com>
475 * aclocal.in (parse_arguments): Copyright 2000.
476 (write_aclocal): Likewise.
477 * automake.in (parse_arguments): Copyright 2000.
478 (initialize_global_constants): Likewise.
480 * automake.in (generate_makefile): Call handle_dist after
481 handle_dependencies and handle_tests. Fixes subobj3.test and
482 pr19.test regressions.
484 2000-03-19 Gordon Matzigkeit <gord@fig.org>
486 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
487 as the current directory.
488 (@EXT@.lo): Likewise.
490 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
492 * automake.in (handle_data): Pass -candist instead of
493 -defaultdist, for the compatibility.
495 2000-03-19 Tom Tromey <tromey@cygnus.com>
497 Fix for test nodepcomp.test:
498 * automake.in (require_file_internal): Use readlink on symlinks.
499 Only unlink file if we are going to try to add it again.
500 (handle_dependencies): Require `depcomp' here.
501 (scan_configure): Don't require `depcomp'.
503 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
505 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
506 the rule to remake Makefile, whether $use_dependencies is true
507 or not. This was a historical one and doesn't make sense any
510 2000-03-19 Tom Tromey <tromey@cygnus.com>
512 More for PR automake/38:
513 * automake.texi (Invoking Automake): Document --force-missing.
514 * automake.in (force_missing): New global.
515 (parse_arguments): Recognize --force-missing.
516 (initialize_global_constants): Document --force-missing.
517 (require_file_internal): Handle --force-missing.
519 Fix for PR automake/38:
520 * automake.in (require_file_internal): Check for and handle
521 dangling symlinks. Fixes symlink2.test.
523 Fix for PR automake/45:
524 * automake.texi (configure): Mention requirement to run
526 (Requirements): Removed most text.
527 * automake.in (seen_init_automake): New global.
528 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
529 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
530 Set seen_init_automake if needed.
532 Fix for PR automake/41:
533 * automake.in (require_file_found): New global.
534 (require_file_internal): Set require_file_found entry.
535 (handle_texinfo): Require file any number of times.
537 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
540 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
542 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
544 * m4/missing.m4: Print the backtick in a way that won't cause
545 autoconf CVS to emit any warnings.
547 2000-03-01 Jim Meyering <meyering@lucent.com>
549 * automake.in (handle_dist_worker) [generating rules for distdir]:
550 Don't use `ln' (which was just a space optimization anyway) to
551 populate $(distdir). Otherwise, the dist rules that change
552 permissions would end up affecting the master sources.
553 * texinfos.am (dist-info): Likewise.
555 2000-02-13 Jim Meyering <meyering@lucent.com>
557 * automake.in (generate_makefile): Detect write/close failure.
559 2000-02-02 Assar Westerlund <assar@sics.se>
561 * automake.in (handle_single_transform_list): do not use $< which
562 is not handled by all non-GNU makes. Instead do explicit sh code
563 testing for the file in this directory and srcdir. Based on a
564 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
566 2000-01-12 Tom Tromey <tromey@cygnus.com>
568 * m4/lispdir.m4: Added --with-lispdir argument processing.
571 2000-01-06 Tom Tromey <tromey@cygnus.com>
573 * automake.in (handle_configure): Don't check for
575 (scan_configure): Check for AC_PROG_MAKE_SET.
577 * header-vars.am (@SET_MAKE@): Added.
578 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
581 1999-12-19 Tom Tromey <tromey@cygnus.com>
583 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
585 (require_file_internal): Corrected arguments to second invocation
586 of maybe_push_required_file.
588 Fix for PR automake/9:
589 * automake.in (make_dirs, make_dirs_set): New globals.
590 (is_make_dir): New function.
591 (handle_configure): Use it.
592 (require_file_internal): Push file if there is no Makefile in its
594 (initialize_per_input): Initialize handle_dist_run.
595 (push_dist_common): Inspect handle_dist_run.
596 (handle_dist): Set handle_dist_run. Push items from
597 configure_dist_common onto dist_common if appropriate.
598 (configure_dist_common): New global.
599 (scan_configure): Set it.
600 (maybe_push_required_file): New function.
601 (require_file_internal): Use it.
603 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
604 more subdirs are defined. From Axel Belinfante. Fixes
607 1999-12-18 Tom Tromey <tromey@cygnus.com>
609 Partial fix for PR automake/40:
610 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
611 (uninstall-@DIR@LISP): Likewise.
612 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
613 (uninstall-@DIR@HEADERS): Likewise.
614 * data.am (install-@DIR@DATA): Handle nobase_ case.
615 (uninstall-@DIR@DATA): Likewise.
616 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
617 (am_install_var): Recognize and handle `nobase_' prefix.
619 1999-12-17 Tom Tromey <tromey@cygnus.com>
621 * automake.in (get_object_extension): Added space before `-I.'.
622 Report from Ralf Corsepius.
624 1999-12-15 Tom Tromey <tromey@cygnus.com>
626 * aclocal.in: Don't pass $acdir to scan_m4_files.
627 (parse_arguments): Push $acdir on end of dirlist.
628 (scan_file): Don't warn if duplicate macro seen.
630 1999-12-13 Tom Tromey <tromey@cygnus.com>
632 Fix for PR automake/30 and PR automake/23. Fixes test
634 * automake.in (initialize_per_input): Initialize
635 source_suffix_pattern.
636 (derive_suffix): New function.
637 (handle_single_transform_list): Call it.
639 * automake.in (add_depend2): Handle the no-dependency-tracking
640 case. Fixes test suffix2.test.
642 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
644 * automake.in (get_object_extension): Fixed quoting on
647 * depend2.am: Removed erroneous comment.
649 * automake.texi (Program variables): Document nostdinc.
651 * automake.in (get_object_extension): Respect nostdinc option.
652 (handle_options): Recognize nostdinc.
653 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
656 * automake.in (read_am_file): Allow conditional includes. Fixes
659 * depcomp: Handle case on SGI when libtool is `yes'.
660 * depend2.am (@EXT@.o): Set libtool.
661 (@EXT@.lo): Likewise.
662 (@EXT@.obj): Likewise.
664 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
667 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
669 * automake.in (add_depend2): substitute $rule in the rules
670 for individual files. Fixes test specflags5.test.
672 1999-12-12 Tom Tromey <tromey@cygnus.com>
674 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
675 to create directories. Fixes test subobj3.test.
677 1999-12-10 Tom Tromey <tromey@cygnus.com>
679 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
680 message when creating .deps files.
682 * automake.in (initialize_global_constants): If unreadable by
683 owner, make it readable by owner regardless of number of links.
684 Fixes more of install2.test.
686 * missing: Try to see if gnutar or gtar exist before invoking
689 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
690 install_sh value. Look for install-sh and install.sh in a
691 somewhat more sensible way. Fixes test install2.test. Partially
694 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
696 * m4/missing.m4: remove redundant backquote
698 1999-11-23 Tom Tromey <tromey@cygnus.com>
700 * automake.in (initialize_global_constants): Use `bzip2 -9', not
701 `bzip --best' Report from Jim Meyering.
703 1999-11-22 Tom Tromey <tromey@cygnus.com>
705 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
706 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
707 AM_MISSING_INSTALL_SH.
708 * automake.in (scan_one_configure_file): Reverted previous
711 * automake.in (scan_one_configure_file): Define `install_sh'
712 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
715 * automake.in (handle_single_transform_list): Generate explicit
716 rule for subdir objects. Fixes new addition to subobj.test.
718 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
719 defined by AC_SUBST. Fixes ltlibobjs.test.
721 Fix for sourcesub.test:
722 * automake.in (handle_single_transform_list): Added `var'
723 argument. If config sub found, give error.
724 (handle_source_transform): Updated for new
725 handle_source_transform.
727 * py-compile: New file.
728 * m4/Makefile.am (m4data_DATA): Added python.m4.
729 * m4/python.m4: New file.
730 * automake.texi (Uniform): Mention PYTHON.
732 * Makefile.am (amfiles): Added python.am, python-clean.am.
733 (dist_script_DATA): Added py-compile.
734 * python.am: New file.
735 * python-clean.am: New file.
736 * automake.in (seen_pythondir): New global.
737 (generate_makefile): Call handle_python.
738 (handle_python): New function.
739 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
741 (am_install_var): Special-case PYTHON like JAVA.
742 (scan_configure): Check for py-compile.
743 (initialize_global_constants): Added py-compile to @common_files.
745 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
747 1999-11-21 Tom Tromey <tromey@cygnus.com>
749 * automake.in (finish_languages): Only generate suffix rule when
750 not doing dependency tracking.
752 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
753 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
755 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
758 1999-11-19 Tom Tromey <tromey@cygnus.com>
760 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
761 Alexandre's change on branch.
763 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
765 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
767 * dejagnu.am: Set CDPATH before cd.
768 * Makefile.in: Rebuilt.
770 * automake.in (handle_single_transform_list): Change `\1' for `$1'
771 in `s///' replacement.
773 * automake.in (handle_dist): Set CDPATH before cd.
774 * dejagnu.am (check-DEJAGNU): Likewise.
775 * texinfos.am (install-info-am, dist-info): Likewise.
776 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
777 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
778 * aclocal.m4, configure, Makefile.in: Rebuilt.
780 * AUTHORS: Added myself.
782 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
784 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
785 Reported by Tim Wilkinson <tim@transvirtual.com>
786 * aclocal.m4, configure: Rebuilt.
788 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
790 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
791 LEX program is found, use `${am_missing_run}flex'.
793 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
795 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
798 * automake.in (handle_lib_objects_cond): Remove second dot from
799 dependency file names.
801 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
802 regardless of OBJEXT.
804 * automake.in (handle_dependencies): Add blank line after depend2.
805 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
806 blank line before `include's, not after them.
807 (scan_one_configure_file): Do not special-case `DEP_' any more.
809 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
811 * aclocal.m4, configure: Rebuilt.
813 * m4/depend.m4 (AMDEPBACKSLASH): Define.
814 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
816 * automake.in (handle_dependencies): Generate `include's for
817 dependency files after `@AMDEP@'.
819 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
820 --run support in the missing script, since SHELL is not exported.
821 Reported by job bogan <job@piquin.uchicago.edu>
822 * aclocal.m4, configure: Rebuilt.
824 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
826 * aclocal.m4, configure: Rebuilt with itself.
827 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
829 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
830 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
831 (AM_MISSING_HAS_RUN): New macro.
832 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
833 * automake.texi (Requirements): Likewise.
834 * version.texi, stamp-vti: Rebuilt.
836 1999-07-28 Tom Tromey <tromey@cygnus.com>
838 * depcomp: Handle the `hp' mode.
840 1999-07-06 Tom Tromey <tromey@cygnus.com>
842 * depcomp: Work around HP-UX 10.20 sed bug.
844 1999-07-05 Tom Tromey <tromey@cygnus.com>
846 * automake.in (handle_dependencies): Generate a separate include
847 for each dep file. Report from Alexandre Oliva.
848 * depend.am: Don't include DEP_FILES.
850 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
852 * depend.am: Add @AMDEP@ before `include', so that dependency
853 tracking can be disabled.
854 * depend2.am: Ditto, before all lines related with dependency
856 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
857 --enable/disable-dependency-tracking and sets AMDEP accordingly.
858 It is implicitly disabled if depcomp is missing.
859 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
860 generated by side-effect.
861 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
862 * automake.in (handle_dependencies): Add @AMDEP@ before the value
864 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
867 * depcomp: Support -xM for dependency generation, for Sun CC.
868 Reported by Alex Hornby <alex@anvil.co.uk>
869 * m4/depend.m4: Extract the list of supported dependency-tracking
870 mechanisms from the depcomp script and use it to test each one.
871 * THANKS: Added Alex Hornby.
873 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
874 to leave $(...COMPILE) in a line by itself.
876 * THANKS: Added Miles Bader.
878 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
880 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
881 Fix `dashmstdout' to ignore non-dependency-generating uses of the
883 * depcomp (makedepend): New dependency-generating method.
885 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
887 * missing: If given `--run' as first argument, try to run the
888 given program before falling back to the ``emulated'' behavior.
889 Add support for `tar'.
890 * automake.in: Use new `tar' support for `dist'.
891 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
892 program, prepend `missing --run' to the given program name.
893 * m4/init.m4: Remove AMTAR-related stuff.
896 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
897 CONFIG_FILES. Do not use temporary variable for list of
898 dependency files, it breaks Cygwin.
900 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
902 * depcomp (gcc): Imported comments removed from depend2.am, so
903 that we don't lose them.
905 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
906 when not using ansi2knr.
908 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
910 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
911 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
913 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
915 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
916 so as not to compile an empty source; some compilers fail on this.
917 Redirect stderr of depcc to /dev/null. Test for -M with -o,
918 because some compilers will output the rules to the output file.
919 * depcomp (dashmstdout): Add --silent before --mode=compile, so
920 that we don't get libtool output mixed up with make rules.
922 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
923 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
924 -o for libtool, otherwise it may try to deduce the object name
925 from the dependency-generation flag.
926 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
929 * libtool.am: Do not emit .c.lo here...
930 * depend2.am: ... emit .*.lo here, only when using libtool.
931 * automake.in (get_object_extension): No more @MINUSO@ here.
932 (handle_single_transform_list): Set $depfile from $object.
933 (handle_dependencies): Emit depend2.am for all used languages,
934 regardless of $use_dependencies; the setting of depcomp makes the
936 (lang_cxx_finish): Do not emit compilation rules.
937 (lang_objc_finish): Likewise.
938 (lang_java_finish): Likewise.
940 1999-04-21 Tom Tromey <tromey@cygnus.com>
942 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
943 interpolate DEPDIR in DEP_FILES expansion.
945 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
947 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
949 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
950 handle multi-line dependency lists.
952 1999-11-12 Tom Tromey <tromey@cygnus.com>
954 Fix for PR automake/14:
955 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
957 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
959 * m4/multi.m4: Added missing `]'. From Akim Demaille.
961 * Makefile.am (path-check): Make sure distdir is writeable before
963 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
964 (handle_dist_worker): Make sure distdir is writeable before
966 (initialize_global_constants [$dist_trailer]): Make sure distdir
967 is writeable before removing it.
968 * dist.am (distcheck): Make the new source tree read-only before
969 compiling. Idea from Karl Berry.
971 * automake.texi (Gnits): Allow COPYING.LIB again.
972 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
974 1999-11-11 Jim Meyering <meyering@ascend.com>
976 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
979 1999-11-09 Tom Tromey <tromey@cygnus.com>
981 * automake.in (handle_dist): Typo fix. From Jim Meyering.
983 1999-11-09 Jim Meyering <meyering@ascend.com>
985 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
986 markers, no matter what.
988 1999-11-08 Tom Tromey <tromey@cygnus.com>
990 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
993 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
994 From Jim Meyering. Also, don't mention file name in `cp'
995 destination. From Olly Betts.
997 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
999 * texinfos.am (uninstall-info): Use installed info file, not one
1000 from srcdir or builddir.
1002 1999-11-07 Tom Tromey <tromey@cygnus.com>
1004 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1007 Fix for PR automake/18:
1008 * automake.in (handle_dist): Add contents of dist.am to the output
1010 * Makefile.am (amfiles): Added dist.am.
1011 * dist.am: New file.
1012 (distcheck): Added uninstall and distclean checks.
1014 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1015 Fixes PR automake/20. From Matthew D. Langston.
1017 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1018 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1020 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1022 * m4/lispdir.m4: -batch must come before -q.
1023 * elisp-comp: Likewise.
1024 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1025 * THANKS: Added Lars.
1027 1999-08-15 Tom Tromey <tromey@cygnus.com>
1029 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1032 1999-07-27 Tom Tromey <tromey@cygnus.com>
1034 * config.guess, config.sub: New versions from autoconf.
1036 1999-07-13 Tom Tromey <tromey@cygnus.com>
1038 Work around losing `awk'. Report from Harlan Stenn.
1039 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1040 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1042 * automake.in (handle_source_transform): Mark prefix as seen if
1043 corresponding _SOURCES variable exists. Fixes empty2.test.
1045 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1047 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1049 (AUTOMAKE): Set --amdir to current directory.
1051 1999-06-20 Tom Tromey <tromey@cygnus.com>
1053 * Makefile.am (TAGS_FILES): New macro.
1054 (ETAGS_ARGS): Moved files into TAGS_FILES.
1055 (TAGS_DEPENDENCIES): Likewise.
1056 (ETAGS_ARGS): Removed.
1057 (TAGS_DEPENDENCIES): Removed duplicate definition.
1059 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1060 from Ganesan Rajagopal.
1063 1999-06-18 Thomas Tanner <tanner@ffii.org>
1065 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1068 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1070 * ylwrap: Handle filenames output by the DOS version of Bison.
1072 1999-06-20 Tom Tromey <tromey@cygnus.com>
1074 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1077 1999-06-19 Tom Tromey <tromey@cygnus.com>
1079 * automake.in (handle_dist_worker): Remove redundant entries from
1082 * automake.in (handle_lib_objects_cond): Better error message when
1083 unrecognized option passed in LDADD.
1085 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1087 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1088 appropriate --acdir and --amdir arguments.
1090 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1092 * automake.in (dist_header): Avoid changing permissions of files
1093 in the source tree, trying a complex `find/chmod' command before
1094 falling back to plain chmod.
1095 (handle_dist_worker): Do not create directories with mode 777, the
1096 find above will take care of that.
1097 * m4/init.m4: Set install_sh for find/chmod above.
1099 * THANKS: Added Shuhei Amakawa.
1101 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1103 * mans.am: Strip dirname from given filename.
1105 1999-06-07 Jim Meyering <meyering@ascend.com>
1107 * automake.in (handle_dist): Change emitted rules so that a failure
1108 in `$(MAKE) distcheck-hook' propagates to the outer make.
1110 1999-05-27 Tom Tromey <tromey@cygnus.com>
1112 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1113 not FLAG in compilation rule.
1114 (add_depend2): Likewise.
1116 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1119 * m4/dmalloc.m4: Updated dmalloc site information.
1121 1999-05-19 Tom Tromey <tromey@cygnus.com>
1123 * automake.in (handle_single_transform_list): Push object name
1124 without extension onto lang_specific_files. Fixes
1127 * automake.in (handle_single_transform_list): Added missing
1128 space. Fixes specflags.test.
1130 1999-05-05 Tom Tromey <tromey@cygnus.com>
1132 * automake.in: Disabled dependency tracking for Java.
1134 1999-05-04 Tom Tromey <tromey@cygnus.com>
1136 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1137 * automake.in (handle_libraries): Recognize _AR variable.
1139 1999-04-30 Tom Tromey <tromey@cygnus.com>
1141 * automake.in (finish_languages): Always use `-o $@' with
1142 libtool. Define ltcompile and ltlink at outermost scope in
1144 * libtool.am (.c.lo): Removed.
1146 * automake.in (finish_languages): Put `.' before extension in
1147 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1148 `-flag'. From Pavel Roskin.
1150 1999-04-28 Tom Tromey <tromey@cygnus.com>
1152 * automake.in (finish_languages): Fixed scoping of ltcompile and
1153 ltlink. From Pavel Roskin.
1155 1999-04-27 Tom Tromey <tromey@cygnus.com>
1157 * automake.in (read_main_am_file): Don't start macro definition
1158 with backslash-newline. Instead, append newline at the end if
1161 * automake.in (read_am_file): Insert a backslash before a trailing
1162 newline. Fixes pluseq8.test.
1164 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1166 (check_canonical_spelling): Don't insert `AM' before macro name
1167 (reverts Alexandre's 1999-04-27 patch).
1168 * automake.texi: Reverted documentation change for `AM' patch.
1170 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1171 Minor rewrite for clarity.
1172 (check_canonical_spelling): Prefer `$1' over `\1'.
1174 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1176 (@LTOBJ@): Likewise.
1177 * automake.in (handle_single_transform_list): Don't print rule if
1178 doing dependency tracking and the file's language supports it.
1179 (initialize_per_input): Initialize lang_specific_files.
1180 (add_depend2): New function.
1181 (handle_dependencies): Use it.
1183 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1184 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1185 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1187 (lang_ratfor_finish): Use lang_f77_finish.
1189 * compile.am (NOTDEPEND.c.o): Removed.
1190 (OBJEXT.c.obj): Likewise.
1191 * automake.in: Added `flags' attribute to all relevant languages.
1192 (handle_single_transform_list): Handle per-derived-object flags.
1193 Changed interface and all callers.
1194 (handle_built_sources): Don't call handle_single_transform_list.
1195 Added `compile' and `compiler-name' attribute to all relevant
1197 (finish_languages): Define compiler variables here.
1198 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1199 define flag variable or .o rules. Don't add to @suffixes.
1200 (lang_f77_finish): Likewise.
1201 (lang_ppf77_finish): Likewise.
1202 (lang_objc_finish): Likewise.
1203 (lang_java_finish): Likewise.
1204 (finish_languages): Define flag variable here.
1205 Added `output-arg' attribute to all relevant languages.
1206 (finish_languages): Define `.o' rules here.
1207 (finish_languages): Put extension on @suffixes.
1208 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1210 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1212 * automake.in (initialize_global_constants): Invoke gzip for
1213 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1215 * automake.in (initialize_global_constants): Remove zip file
1216 before re-creating it.
1217 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1219 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1220 like in install-info-am.
1221 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1223 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1224 Let's use the good ol' substitution, then.
1225 Reported by Russ Allbery <rra@stanford.edu>
1227 * automake.in (check_canonical_spelling): Insert AM before names
1228 starting with non-letters.
1230 * automake.texi: Document it.
1232 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1234 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1235 doesn't work on perl4. Maybe \Q and \E do.
1237 1999-04-24 Tom Tromey <tromey@cygnus.com>
1239 * automake.in: Treat `.zip' and `.jar' files as Java.
1241 * automake.in (generate_makefile): Define `subdir' after reading
1243 (read_main_am_file): Give programming error if variable defined
1246 1999-04-22 Tom Tromey <tromey@cygnus.com>
1248 * automake.in (generate_makefile): Define `subdir' variable.
1249 (handle_dist): Don't define `subdir'.
1251 * automake.in (handle_texinfo): Change numbering scheme for
1252 stamp-vti files, to avoid problems with DOS.
1253 From Michel de Ruiter.
1255 * automake.texi: Don't mention AM_FUNC_MKTIME.
1256 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1257 * automake.in (scan_one_configure_file): Recognize
1258 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1259 (obsolete_macros): Mention AM_FUNC_MKTIME.
1260 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1261 * m4/mktime.m4: Removed.
1263 1999-04-20 Tom Tromey <tromey@cygnus.com>
1265 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1267 1999-04-20 Brian Ford <ford@vss.fsi.com>
1269 * scripts.am: Change else if's to elif.
1271 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1273 * automake.in (handle_lib_objects_cond): Only require the source
1274 of a LIBOBJ if it's not in BUILT_SOURCES.
1275 Reported by Erez Zadok.
1277 1999-04-19 Tom Tromey <tromey@cygnus.com>
1279 * automake.in: Treat `.class' files as Java source.
1280 (lang_java_finish): Handle `.class' files.
1282 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1284 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1286 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1287 Run some emacs-lisp to find out the site-lisp directory, but
1288 relocate it into prefix.
1290 1999-04-17 Paul Eggert <eggert@twinsun.com>
1292 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1293 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1294 even outside of bigtime_test. Use a time limit of 60 seconds
1295 for the whole test, not 10 seconds per iteration.
1297 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1299 * automake.in: Create stamps for headers in appropriate
1300 directories, even if the input file lives in a different place.
1301 * remake-hdr.am: Likewise.
1303 1999-04-16 Tom Tromey <tromey@cygnus.com>
1306 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1307 Invoke `sed' only once per program.
1308 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1309 Invoke `sed' only once per program.
1311 1999-04-13 Tom Tromey <tromey@cygnus.com>
1313 * automake.in (handle_subdirs): Make `install-recursive' phony.
1314 From Michel de Ruiter.
1316 * automake.in (handle_ltlibraries): Added missing `check'.
1318 1999-04-12 Tom Tromey <tromey@cygnus.com>
1320 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1323 1999-04-11 Tom Tromey <tromey@cygnus.com>
1325 * automake.in (handle_dist): Use AMTAR.
1326 (initialize_global_constants): Likewise.
1327 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1329 * automake.in (lang_sub_obj): New function.
1330 (lang_cxx_rewrite): Use it.
1331 (lang_asm_rewrite): Likewise.
1332 (lang_objc_rewrite): Likewise.
1333 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1334 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1335 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1336 (lang_java_finish): Likewise.
1338 * automake.in: Only register `asm' once.
1339 (lang_asm_finish): Put assembly suffixes on @suffixes.
1341 * libtool.am (.s.lo): Removed.
1343 * automake.in (lang_asm_finish): Handle libtool.
1345 * libtool.am (.c.o): Always pass -c to libtool.
1347 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1348 (lang_yaccxx_rewrite): Likewise.
1349 (lang_lex_rewrite): Likewise.
1350 (lang_lexxx_rewrite): Likewise.
1352 Assembly code no longer included by default:
1353 * compile.am (.s.o): Removed.
1355 * automake.in: Register `asm' language.
1356 (lang_asm_finish): Generate suffix rules for assembly.
1357 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1359 * automake.in (get_object_extension): Substitute @MINUSO@ when
1360 including compile.am.
1361 * compile.am (.c.o): Added @MINUSO@.
1364 First cut at allowing objects in subdirectories:
1365 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1366 * Makefile.am (dist_script_DATA): Added compile.
1367 * m4/minuso.m4: New file.
1368 * automake.in (initialize_global_constants): Added compile to
1370 (seen_cc_c_o): New global.
1371 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1372 (handle_options): Recognize `subdir-objects' option.
1373 (lang_c_rewrite): Added directory argument.
1374 (lang_yacc_rewrite): Likewise.
1375 (lang_yaccxx_rewrite): Likewise.
1376 (lang_lex_rewrite): Likewise.
1377 (lang_lexxx_rewrite): Likewise.
1378 (handle_single_transform_list): Pass directory to _rewrite
1379 function. Generate dependencies for dirstamp files for each .o;
1380 it is just the rules we want to create once.
1381 (lang_c_rewrite): Handle `subdir-objects' option.
1382 (lang_c_rewrite): Require `compile' program.
1383 * compile: New file.
1385 * automake.in (initialize_per_input): Initialize %directory_map.
1386 (handle_single_transform_list): Only create .dirstamp rules once
1389 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1392 * automake.in (configure_input_files): New global.
1393 (scan_configure): Set it.
1394 (handle_configure): Use configure_input_files when determining
1395 which subdirs have a Makefile.am. Fixes confh.test.
1396 (handle_configure): Only recognize acconfig.h in top srcdir.
1398 1999-04-10 Tom Tromey <tromey@cygnus.com>
1400 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1403 * automake.in (am_install_var): Remove redundancies from the
1404 result. Fixes test cond8.test.
1406 * automake.in (handle_single_transform_list): Handle dependency
1407 tracking when files are created in subdirs. Error if object in
1408 subdir has `..' component.
1410 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1412 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1414 * automake.in (lang_yacc_finish): Added missing `&'.
1416 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1418 * automake.in (handle_configure): Replace multiple occurrences of
1419 @STAMP@ in the same line; completes the patch for remake-hdr.am
1422 * automake.in (handle_dependencies): Fix test for `autodep'
1425 * automake.in (handle_source_transform): Add a pfx to used_pfx
1426 only if it's conditional or non-empty, to reduce the number of
1427 empty variables. Emit _OBJECS variable based on program name if
1428 no SOURCES were explicitly specified.
1430 * remake-hdr.am: Create the stamp file before the header file,
1431 and just rename it after, so that the timestamps will be correct.
1432 Reported by Marc Horowitz <marc@mit.edu>
1434 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1435 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1436 Reported by Jim Meyering <meyering@ascend.com>
1438 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1440 1999-04-10 Tom Tromey <tromey@cygnus.com>
1442 * Makefile.am (EXTRA_DIST): New macro.
1443 * ChangeLog.1996, ChangeLog.1998: New files.
1445 1999-04-09 Tom Tromey <tromey@cygnus.com>
1447 * automake.in (handle_source_transform): Handle dist and nodist
1449 (initialize_per_input): Initialize dist_sources.
1450 (check_libobjs_sources): Handle dist and nodist prefixes.
1451 (generate_makefile): Define DIST_SOURCES.
1452 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1454 * automake.texi (Macros): Mention AM_PROG_GCJ.
1455 (Java Support): New node.
1456 (Dist): Documented dist_ and nodist_ prefixes.
1458 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1460 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1461 files, not `.gcj' files.
1463 * m4/gcj.m4: New file.
1464 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1466 * automake.in: Register the `java' language.
1467 (resolve_linker): Handle GCJLINK.
1468 (lang_java_rewrite): New function.
1469 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1470 (lang_c_rewrite): Use new constants.
1471 (lang_cxx_rewrite): Likewise.
1472 (lang_header_rewrite): Likewise.
1473 (lang_yacc_rewrite): Likewise.
1474 (lang_yaccxx_rewrite): Likewise.
1475 (lang_lex_rewrite): Likewise.
1476 (lang_lexxx_rewrite): Likewise.
1477 (lang_asm_rewrite): Likewise.
1478 (lang_f77_rewrite): Likewise.
1479 (lang_ppf77_rewrite): Likewise.
1480 (lang_ratfor_rewrite): Likewise.
1481 (lang_objc_rewrite): Likewise.
1482 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1483 return from rewrite function.
1484 (lang_java_finish): New function.
1485 (register_language): Changed interface and all calls. Added
1486 `autodep' settings to various languages.
1487 (handle_dependencies): Use `autodep' property of language when
1488 including dependency-tracking code.
1490 1999-04-07 Tom Tromey <tromey@cygnus.com>
1492 * automake.in (handle_texinfo): Indentation fixes.
1494 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1496 * automake.in (value_to_list): Skip *only* trailing backslashes.
1498 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1500 * automake.in (value_to_list): Skip trailing backslashes.
1502 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1504 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1506 Reported by Per Cederqvist <ceder@lysator.liu.se>
1507 (handle_texinfo): Do not define texinfo_tex='.', use
1508 '$(srcdir)/texinfo.tex' instead; the directory name will be
1510 (require_conf_file_with_line): Fixed typo.
1512 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1514 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1515 we do not depend on PATH starting with `.'.
1517 1999-03-31 Tom Tromey <tromey@cygnus.com>
1519 * automake.in (quote_cond_val): Quote \n.
1520 (unquote_cond_val): Unquote \n.
1521 (read_am_file): If line ends with `\', preserve it and add a
1523 (read_main_am_file): In conditional case, put conditional text at
1524 beginning of each generated line.
1526 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1528 * automake.in (handle_tests): support XFAIL_TEST
1529 * automake.texi: document it
1531 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1533 * End of merge from trunk.
1535 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1537 * automake.in (cmdline_use_dependencies): Reintroduce it.
1538 (--ignore-deps): Set cmdline_use_dependencies again.
1539 (handle_dependencies): If use_dependencies is not set, define
1541 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1542 (scan_configure): Do not require depcomp when ignoring
1544 (initialize_global_constants): Reintroduce --ignore-deps.
1546 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1548 * depcomp: New file.
1549 * Makefile.am (dist_script_DATA): Added depcomp.
1550 * automake.in (cmdline_use_dependencies, omit_dependencies,
1551 dependency_macros): Removed.
1552 (--ignore-deps): Just ignore.
1553 (handle_single_transform_list, dep_files): Named dependency files
1554 as \$(DEPDIR)/$base.P$obj
1555 (handle_lib_objects_cond): Likewise.
1556 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1557 (scan_one_configure_file): Likewise.
1558 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1559 Ignore OMIT_DEPENDENCIES.
1560 (handle_configure): Do not pass --ignore-deps.
1561 (scan_configure): Require `depcomp'.
1562 (initialize_global_constants): Make `depcomp' common. Remove
1563 `--ignore-deps' from usage.
1564 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1565 * compile.am: Remove rules for .c.o and .c.obj
1566 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1567 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1568 Use it and depcomp in suffix rules.
1569 * libtool.m4: Likewise.
1570 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1571 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1572 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1573 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1574 from the Makefile and subst it in deps. Report creation of deps
1575 files (for now). Replace $U with `_' and the empty string. Write
1576 a comment to each created file.
1577 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1578 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1579 dependency mode and AC_SUBST [$1]DEPMODE.
1580 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1581 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1582 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1584 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1586 * depout.m4: Fix sed expression for extracting `dirpart'.
1588 1999-03-29 Tom Tromey <tromey@cygnus.com>
1590 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1592 * compile.am (.c.obj): Also disabled when dependency tracking
1594 * depend2.am (@EXT@.obj): New target.
1595 * automake.in (get_object_extension): Added explanatory comment.
1596 (generate_dependency_code): Handle $seen_objext.
1598 * depend.am: Removed obsolete comment.
1599 * depend2.am: Minor formatting fix.
1601 1999-03-28 Tom Tromey <tromey@cygnus.com>
1603 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1605 (EXTRA_DIST): Removed.
1606 * automake.in (dependency_macros): New global.
1607 (scan_one_configure_file): Recognize new dependency tracking
1608 macros, and define new resulting configure variables.
1609 (generate_dependency_code): New sub.
1610 (handle_dependencies): Use it.
1611 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1613 (@EXT@.lo): Likewise.
1614 * m4/depvars.m4: New file.
1615 * m4/objcdepend.m4: New file.
1616 * m4/cxxdepend.m4: New file.
1617 * m4/init.m4: Moved dependency handling code into depout.m4.
1618 * m4/depout.m4: New file.
1619 * m4/ccdepend.m4: New file.
1620 * m4/depend.m4: New file.
1622 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1623 (@EXT@.lo): Likewise.
1624 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1627 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1628 will create the required .P files for dependency tracking.
1629 * automake.in (scan_dependency_file): Removed.
1630 (handle_dependencies): Never call scan_dependency_file.
1631 (generate_deps): Removed.
1632 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1633 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1634 (srcdir_name): Removed.
1635 (build_directory): Removed.
1636 (initialize_global_constants): Changed $USAGE to reflect argument
1638 (handle_dist_worker): Never run automake in `dist' rule.
1639 (handle_configure): Use --ignore-deps, not --include-deps.
1640 * depend.am (DEPS_MAGIC): Removed.
1641 (DEP_FILES): Unconditionally include.
1643 1999-03-27 Tom Tromey <tromey@cygnus.com>
1645 * automake.in (saw_sources_p): Correctly count header extensions
1647 (handle_headers): Fixed order of arguments to am_install_var.
1649 * automake.in (am_install_var): Don't error if EXTRA_foo is
1652 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1653 (uninstall-@DIR@SCRIPTS): Likewise.
1654 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1655 (uninstall-@DIR@PROGRAMS): Likewise.
1656 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1657 (uninstall-@DIR@LTLIBRARIES): Likewise.
1658 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1659 (uninstall-@DIR@LISP): Likewise.
1660 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1661 (uninstall-@DIR@LIBRARIES): Likewise.
1662 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1663 (uninstall-@DIR@JAVA): Likewise.
1664 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1665 (uninstall-@DIR@HEADERS): Likewise.
1666 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1667 (uninstall-@DIR@DATA): Likewise.
1668 * Makefile.in: Rebuilt.
1669 * Makefile.am (dist_pkgdata_DATA): Renamed.
1670 (EXTRA_DIST): Removed.
1671 (install-data-hook): Added POST_INSTALL; print commands as they
1672 are run; respect DESTDIR.
1673 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1674 * automake.in (am_install_var): Accept `-candist' and
1675 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1676 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1677 and `nodist_' prefixes.
1678 (handle_scripts): Pass -candist to am_install_var.
1679 (handle_data): Pass -defaultdist to am_install_var.
1680 (handle_headers): Likewise.
1681 (handle_emacs_lisp): Pass -candist to am_install_var.
1682 (handle_java): Pass -candist to am_install_var.
1684 1999-03-26 Tom Tromey <tromey@cygnus.com>
1686 * m4/init.m4: Fixed typo when invoking SHELL.
1688 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1689 yacc header file. From Ralf Corsepius.
1691 * Makefile.in: Rebuilt.
1692 * Makefile.am: Updated to reflect removal of TAR subst.
1693 * automake.texi (Options): Document dist-bzip2.
1694 * automake.in (TAR): Removed global.
1695 (initialize_global_constants): Changed `dist' to use pipe with
1696 gzip; work with non-GNU tar.
1697 (handle_dist): Handle non-GNU tar. Don't define TAR.
1698 (initialize_global_constants): Added `dist-bzip2' entry.
1699 (handle_options): Recognize dist-bzip2 option.
1700 (handle_dist): Likewise.
1701 * configure: Rebuilt.
1702 * configure.in: Don't check for tar.
1703 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1706 * automake.in (am_install_var): Removed obsolete comment.
1708 * texinfos.am (uninstall-info): Don't print loop but instead print
1709 commands. Simplified pre-uninstall loop.
1710 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1711 instead print commands.
1712 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1714 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1715 instead print commands.
1716 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1717 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1718 instead print commands.
1719 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1721 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1723 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1724 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1725 instead print commands.
1726 * data.am (install-@DIR@DATA): Strip subdir from file name.
1727 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1728 instead print commands.
1730 * automake.in (handle_merge_targets): `install-strip' is a phony
1731 target. From Michel de Ruiter.
1733 1999-03-25 Tom Tromey <tromey@cygnus.com>
1735 * automake.in (define_compiler_variable): Don't define variable
1738 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1740 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1741 * automake.texi: ditto
1743 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1745 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1746 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1748 1999-03-24 Tom Tromey <tromey@cygnus.com>
1750 * automake.in (define_compiler_variable): New sub.
1751 (finish_languages): Use it.
1752 (lang_cxx_finish): Likewise.
1753 (lang_f77_finish): Likewise.
1754 (lang_ppf77_finish): Likewise.
1755 (lang_ratfor_finish): Likewise.
1756 (lang_objc_finish): Likewise.
1758 1999-03-23 Tom Tromey <tromey@cygnus.com>
1760 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1761 sed invocations. From Elrond.
1762 (uninstall-@DIR@PROGRAMS): Likewise.
1764 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1765 From Ralf Corsepius.
1767 1999-02-01 Thomas Tanner <tanner@gmx.de>
1769 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1770 warning when AM_PROG_LIBTOOL was found
1771 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1773 1999-03-22 Tom Tromey <tromey@cygnus.com>
1775 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1776 * automake.in (define_standard_variables): New sub.
1777 (read_main_am_file): Use two passes to scan standard variables.
1778 (read_am_file): Don't special-case configure variables with `+='.
1779 (initialize_per_input): Initialize %var_was_plus_eq.
1780 (read_am_file): Set var_was_plus_eq element correctly.
1781 (define_variable): Give error if variable assigned with `+=' is
1783 (initialize_per_input): Initialize %am_var_defs.
1784 (file_contents_with_transform): Set element in %am_var_defs.
1785 (read_am_file): Use %am_var_defs.
1787 1999-03-21 Tom Tromey <tromey@cygnus.com>
1789 * automake.in (initialize_per_input): Initialize %object_map.
1790 (handle_single_transform_list): Allow source files in
1793 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1795 * automake.in (handle_dist): Add missing newline after the first
1798 1999-03-11 Tom Tromey <tromey@cygnus.com>
1800 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1801 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1804 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1806 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1807 legitimate ending. Fixes libobj9.test.
1809 From Ralf Corsepius. Fixes lex3.test.
1810 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1811 maintainer-clean list.
1812 (lang_lex_finish): Likewise.
1814 1999-03-02 Tom Tromey <tromey@cygnus.com>
1816 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1817 construct to work around FreeBSD make/sh problem. From Rich Wales.
1819 1999-03-01 Tom Tromey <tromey@cygnus.com>
1821 Fixes from Pavel Roskin:
1822 * automake.in (variable_conditions_sub): Sort list passed to
1823 variable_conditions_permutations.
1824 (variable_conditions): Sort list before returning.
1826 1999-02-27 Tom Tromey <tromey@cygnus.com>
1828 * automake.in (lang_extensions): New sub.
1829 (handle_dependencies): Use it.
1830 (cxx_extensions): Removed.
1831 (lang_cxx_finish): Use lang_extensions.
1832 (f77_extensions): Removed.
1833 (lang_f77_finish): Use lang_extensions.
1834 (objc_extensions): Removed.
1835 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1836 Report from Dave Morrison.
1837 (lang_ratfor_finish): Likewise.
1839 1999-02-26 Tom Tromey <tromey@cygnus.com>
1841 * automake.in (finish_languages): Added AM_LDFLAGS.
1842 (lang_cxx_finish): Likewise.
1843 (lang_f77_finish): Likewise.
1844 (lang_ppf77_finish): Likewise.
1845 (lang_ratfor_finish): Likewise.
1846 (lang_objc_finish): Likewise.
1848 1999-02-11 Tom Tromey <tromey@cygnus.com>
1850 * aclocal.in (obsolete_macros): Copied from automake.in.
1851 (obsolete_rx): Use only keys of obsolete_macros.
1852 (scan_configure): Report replacement macro for an obsolete macro.
1853 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1855 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1856 entry. Fixes obsolete2.test.
1858 * automake.in (obsolete_macros): Use empty string to indicate no
1860 (scan_one_configure_file): Likewise.
1862 1999-02-07 Paul Eggert <eggert@twinsun.com>
1864 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1865 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1866 needed by some programs.
1868 1999-02-10 Tom Tromey <tromey@cygnus.com>
1870 * automake.in (handle_texinfo): Added `pgs' to list of
1871 extensions. From NISHIDA Keisuke.
1873 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1875 * automake.in (handle_texinfo): remove texinfo.tex from
1878 1999-02-02 Tom Tromey <tromey@cygnus.com>
1880 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1881 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1882 * header-vars.am (INSTALL_PROGRAM): Removed
1883 AM_INSTALL_PROGRAM_FLAGS.
1884 (INSTALL_STRIP_FLAG): New macro.
1886 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1888 (lang_yacc_finish): Likewise.
1889 (lang_lex_finish): Likewise.
1891 1999-02-01 Tom Tromey <tromey@cygnus.com>
1893 * automake.in (handle_dist_worker): Correctly find find in $$d,
1894 not $$. From Bill Davidson.
1896 * automake.in (finish_languages): Use "&", not "do". From Pavel
1898 (handle_single_transform_list): Likewise.
1900 1999-01-29 Tom Tromey <tromey@cygnus.com>
1902 * automake.in (handle_configure): Removed unused variable. From
1905 * ansi2knr.c: New version from L. Peter Deutsch.
1907 1999-01-22 Tom Tromey <tromey@cygnus.com>
1909 * automake.in (require_file_internal): Correctly examine return
1910 value of `system'. From Andris Pavenis. Fixes copy.test.
1912 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1914 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1915 Kuepper. Fixes ppf77.test.
1916 (lang_ratfor_rewrite): New function
1918 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1919 fix). From Erez Zadok.
1921 1999-01-15 Tom Tromey <tromey@cygnus.com>
1923 * configure.in: Version 1.4a (oops).
1925 * configure.in: Updated version to 1.5a.
1927 1999-01-14 Tom Tromey <tromey@cygnus.com>
1929 * automake.in (handle_configure): Compute $header_dir based on
1930 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1932 (handle_configure): Compute relative path to input header
1933 correctly in all cases.
1935 * automake.in (handle_tests): Avoid error messages from dejagnu
1936 test rules. From Karl Heuer.
1938 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1940 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1942 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1943 From Alexandre Oliva and Erez Zadok.
1945 * automake.in (create): Renamed from touch.
1946 (handle_configure): Use create, not touch.
1948 * config.sub, config.guess: New versions from autoconf.
1950 * mkinstalldirs: New version from autoconf.
1952 1999-01-12 Tom Tromey <tromey@cygnus.com>
1954 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1957 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1959 * automake.in (PATH_PATTERN): New variable:
1960 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1961 symbols besides $(top_srcdir) and $(srcdir).
1963 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1965 * automake.in (handle_dist_worker): avoid failure in `make dist'
1966 if last file is a builddir-only file
1968 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1970 * missing (autoheader): `s' was missing from sed script; grr
1972 1999-01-11 Tom Tromey <tromey@cygnus.com>
1974 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1975 ($(srcdir)/@STAMP@.in): Likewise.
1977 1999-01-10 Tom Tromey <tromey@cygnus.com>
1979 * Makefile.am (scriptdir): New macro.
1980 (script_DATA): Likewise.
1981 (install-data-hook): Use them.
1982 (EXTRA_DIST): Added script_DATA.
1983 (installcheck-local): Use script_DATA.
1985 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1987 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1989 * missing (autoheader): accept multiple header files
1990 (automake): simplify sed processing
1992 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1994 * automake.in (handle_configure, stamp_dir): create only one stamp
1995 file per header, instead of one in the top-level directory and one
1996 in the directory that contains the header.
1998 1999-01-10 Tom Tromey <tromey@cygnus.com>
2000 * automake.in (lang_objc_finish): Formatting fix.
2002 * automake.in (objc_extensions): New sub.
2003 (handle_dependencies): Only generate dependency-tracking code for
2004 ObjC when ObjC source seen.