1 2000-03-19 Tom Tromey <tromey@cygnus.com>
3 More for PR automake/38:
4 * automake.texi (Invoking Automake): Document --force-missing.
5 * automake.in (force_missing): New global.
6 (parse_arguments): Recognize --force-missing.
7 (initialize_global_constants): Document --force-missing.
8 (require_file_internal): Handle --force-missing.
10 Fix for PR automake/38:
11 * automake.in (require_file_internal): Check for and handle
12 dangling symlinks. Fixes symlink2.test.
14 Fix for PR automake/45:
15 * automake.texi (configure): Mention requirement to run
17 (Requirements): Removed most text.
18 * automake.in (seen_init_automake): New global.
19 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
20 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
21 Set seen_init_automake if needed.
23 Fix for PR automake/41:
24 * automake.in (require_file_found): New global.
25 (require_file_internal): Set require_file_found entry.
26 (handle_texinfo): Require file any number of times.
28 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
31 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
33 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
35 * m4/missing.m4: Print the backtick in a way that won't cause
36 autoconf CVS to emit any warnings.
38 2000-03-01 Jim Meyering <meyering@lucent.com>
40 * automake.in (handle_dist_worker) [generating rules for distdir]:
41 Don't use `ln' (which was just a space optimization anyway) to
42 populate $(distdir). Otherwise, the dist rules that change
43 permissions would end up affecting the master sources.
44 * texinfos.am (dist-info): Likewise.
46 2000-02-13 Jim Meyering <meyering@lucent.com>
48 * automake.in (generate_makefile): Detect write/close failure.
50 2000-02-02 Assar Westerlund <assar@sics.se>
52 * automake.in (handle_single_transform_list): do not use $< which
53 is not handled by all non-GNU makes. Instead do explicit sh code
54 testing for the file in this directory and srcdir. Based on a
55 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
57 2000-01-12 Tom Tromey <tromey@cygnus.com>
59 * m4/lispdir.m4: Added --with-lispdir argument processing.
62 2000-01-06 Tom Tromey <tromey@cygnus.com>
64 * automake.in (handle_configure): Don't check for
66 (scan_configure): Check for AC_PROG_MAKE_SET.
68 * header-vars.am (@SET_MAKE@): Added.
69 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
72 1999-12-19 Tom Tromey <tromey@cygnus.com>
74 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
76 (require_file_internal): Corrected arguments to second invocation
77 of maybe_push_required_file.
79 Fix for PR automake/9:
80 * automake.in (make_dirs, make_dirs_set): New globals.
81 (is_make_dir): New function.
82 (handle_configure): Use it.
83 (require_file_internal): Push file if there is no Makefile in its
85 (initialize_per_input): Initialize handle_dist_run.
86 (push_dist_common): Inspect handle_dist_run.
87 (handle_dist): Set handle_dist_run. Push items from
88 configure_dist_common onto dist_common if appropriate.
89 (configure_dist_common): New global.
90 (scan_configure): Set it.
91 (maybe_push_required_file): New function.
92 (require_file_internal): Use it.
94 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
95 more subdirs are defined. From Axel Belinfante. Fixes
98 1999-12-18 Tom Tromey <tromey@cygnus.com>
100 Partial fix for PR automake/40:
101 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
102 (uninstall-@DIR@LISP): Likewise.
103 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
104 (uninstall-@DIR@HEADERS): Likewise.
105 * data.am (install-@DIR@DATA): Handle nobase_ case.
106 (uninstall-@DIR@DATA): Likewise.
107 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
108 (am_install_var): Recognize and handle `nobase_' prefix.
110 1999-12-17 Tom Tromey <tromey@cygnus.com>
112 * automake.in (get_object_extension): Added space before `-I.'.
113 Report from Ralf Corsepius.
115 1999-12-15 Tom Tromey <tromey@cygnus.com>
117 * aclocal.in: Don't pass $acdir to scan_m4_files.
118 (parse_arguments): Push $acdir on end of dirlist.
119 (scan_file): Don't warn if duplicate macro seen.
121 1999-12-13 Tom Tromey <tromey@cygnus.com>
123 Fix for PR automake/30 and PR automake/23. Fixes test
125 * automake.in (initialize_per_input): Initialize
126 source_suffix_pattern.
127 (derive_suffix): New function.
128 (handle_single_transform_list): Call it.
130 * automake.in (add_depend2): Handle the no-dependency-tracking
131 case. Fixes test suffix2.test.
133 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
135 * automake.in (get_object_extension): Fixed quoting on
138 * depend2.am: Removed erroneous comment.
140 * automake.texi (Program variables): Document nostdinc.
142 * automake.in (get_object_extension): Respect nostdinc option.
143 (handle_options): Recognize nostdinc.
144 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
147 * automake.in (read_am_file): Allow conditional includes. Fixes
150 * depcomp: Handle case on SGI when libtool is `yes'.
151 * depend2.am (@EXT@.o): Set libtool.
152 (@EXT@.lo): Likewise.
153 (@EXT@.obj): Likewise.
155 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
158 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
160 * automake.in (add_depend2): substitute $rule in the rules
161 for individual files. Fixes test specflags5.test.
163 1999-12-12 Tom Tromey <tromey@cygnus.com>
165 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
166 to create directories. Fixes test subobj3.test.
168 1999-12-10 Tom Tromey <tromey@cygnus.com>
170 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
171 message when creating .deps files.
173 * automake.in (initialize_global_constants): If unreadable by
174 owner, make it readable by owner regardless of number of links.
175 Fixes more of install2.test.
177 * missing: Try to see if gnutar or gtar exist before invoking
180 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
181 install_sh value. Look for install-sh and install.sh in a
182 somewhat more sensible way. Fixes test install2.test. Partially
185 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
187 * m4/missing.m4: remove redundant backquote
189 1999-11-23 Tom Tromey <tromey@cygnus.com>
191 * automake.in (initialize_global_constants): Use `bzip2 -9', not
192 `bzip --best' Report from Jim Meyering.
194 1999-11-22 Tom Tromey <tromey@cygnus.com>
196 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
197 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
198 AM_MISSING_INSTALL_SH.
199 * automake.in (scan_one_configure_file): Reverted previous
202 * automake.in (scan_one_configure_file): Define `install_sh'
203 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
206 * automake.in (handle_single_transform_list): Generate explicit
207 rule for subdir objects. Fixes new addition to subobj.test.
209 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
210 defined by AC_SUBST. Fixes ltlibobjs.test.
212 Fix for sourcesub.test:
213 * automake.in (handle_single_transform_list): Added `var'
214 argument. If config sub found, give error.
215 (handle_source_transform): Updated for new
216 handle_source_transform.
218 * py-compile: New file.
219 * m4/Makefile.am (m4data_DATA): Added python.m4.
220 * m4/python.m4: New file.
221 * automake.texi (Uniform): Mention PYTHON.
223 * Makefile.am (amfiles): Added python.am, python-clean.am.
224 (dist_script_DATA): Added py-compile.
225 * python.am: New file.
226 * python-clean.am: New file.
227 * automake.in (seen_pythondir): New global.
228 (generate_makefile): Call handle_python.
229 (handle_python): New function.
230 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
232 (am_install_var): Special-case PYTHON like JAVA.
233 (scan_configure): Check for py-compile.
234 (initialize_global_constants): Added py-compile to @common_files.
236 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
238 1999-11-21 Tom Tromey <tromey@cygnus.com>
240 * automake.in (finish_languages): Only generate suffix rule when
241 not doing dependency tracking.
243 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
244 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
246 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
249 1999-11-19 Tom Tromey <tromey@cygnus.com>
251 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
252 Alexandre's change on branch.
254 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
256 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
258 * dejagnu.am: Set CDPATH before cd.
259 * Makefile.in: Rebuilt.
261 * automake.in (handle_single_transform_list): Change `\1' for `$1'
262 in `s///' replacement.
264 * automake.in (handle_dist): Set CDPATH before cd.
265 * dejagnu.am (check-DEJAGNU): Likewise.
266 * texinfos.am (install-info-am, dist-info): Likewise.
267 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
268 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
269 * aclocal.m4, configure, Makefile.in: Rebuilt.
271 * AUTHORS: Added myself.
273 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
275 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
276 Reported by Tim Wilkinson <tim@transvirtual.com>
277 * aclocal.m4, configure: Rebuilt.
279 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
281 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
282 LEX program is found, use `${am_missing_run}flex'.
284 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
286 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
289 * automake.in (handle_lib_objects_cond): Remove second dot from
290 dependency file names.
292 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
293 regardless of OBJEXT.
295 * automake.in (handle_dependencies): Add blank line after depend2.
296 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
297 blank line before `include's, not after them.
298 (scan_one_configure_file): Do not special-case `DEP_' any more.
300 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
302 * aclocal.m4, configure: Rebuilt.
304 * m4/depend.m4 (AMDEPBACKSLASH): Define.
305 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
307 * automake.in (handle_dependencies): Generate `include's for
308 dependency files after `@AMDEP@'.
310 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
311 --run support in the missing script, since SHELL is not exported.
312 Reported by job bogan <job@piquin.uchicago.edu>
313 * aclocal.m4, configure: Rebuilt.
315 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
317 * aclocal.m4, configure: Rebuilt with itself.
318 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
320 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
321 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
322 (AM_MISSING_HAS_RUN): New macro.
323 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
324 * automake.texi (Requirements): Likewise.
325 * version.texi, stamp-vti: Rebuilt.
327 1999-07-28 Tom Tromey <tromey@cygnus.com>
329 * depcomp: Handle the `hp' mode.
331 1999-07-06 Tom Tromey <tromey@cygnus.com>
333 * depcomp: Work around HP-UX 10.20 sed bug.
335 1999-07-05 Tom Tromey <tromey@cygnus.com>
337 * automake.in (handle_dependencies): Generate a separate include
338 for each dep file. Report from Alexandre Oliva.
339 * depend.am: Don't include DEP_FILES.
341 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
343 * depend.am: Add @AMDEP@ before `include', so that dependency
344 tracking can be disabled.
345 * depend2.am: Ditto, before all lines related with dependency
347 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
348 --enable/disable-dependency-tracking and sets AMDEP accordingly.
349 It is implicitly disabled if depcomp is missing.
350 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
351 generated by side-effect.
352 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
353 * automake.in (handle_dependencies): Add @AMDEP@ before the value
355 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
358 * depcomp: Support -xM for dependency generation, for Sun CC.
359 Reported by Alex Hornby <alex@anvil.co.uk>
360 * m4/depend.m4: Extract the list of supported dependency-tracking
361 mechanisms from the depcomp script and use it to test each one.
362 * THANKS: Added Alex Hornby.
364 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
365 to leave $(...COMPILE) in a line by itself.
367 * THANKS: Added Miles Bader.
369 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
371 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
372 Fix `dashmstdout' to ignore non-dependency-generating uses of the
374 * depcomp (makedepend): New dependency-generating method.
376 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
378 * missing: If given `--run' as first argument, try to run the
379 given program before falling back to the ``emulated'' behavior.
380 Add support for `tar'.
381 * automake.in: Use new `tar' support for `dist'.
382 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
383 program, prepend `missing --run' to the given program name.
384 * m4/init.m4: Remove AMTAR-related stuff.
387 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
388 CONFIG_FILES. Do not use temporary variable for list of
389 dependency files, it breaks Cygwin.
391 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
393 * depcomp (gcc): Imported comments removed from depend2.am, so
394 that we don't lose them.
396 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
397 when not using ansi2knr.
399 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
401 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
402 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
404 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
406 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
407 so as not to compile an empty source; some compilers fail on this.
408 Redirect stderr of depcc to /dev/null. Test for -M with -o,
409 because some compilers will output the rules to the output file.
410 * depcomp (dashmstdout): Add --silent before --mode=compile, so
411 that we don't get libtool output mixed up with make rules.
413 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
414 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
415 -o for libtool, otherwise it may try to deduce the object name
416 from the dependency-generation flag.
417 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
420 * libtool.am: Do not emit .c.lo here...
421 * depend2.am: ... emit .*.lo here, only when using libtool.
422 * automake.in (get_object_extension): No more @MINUSO@ here.
423 (handle_single_transform_list): Set $depfile from $object.
424 (handle_dependencies): Emit depend2.am for all used languages,
425 regardless of $use_dependencies; the setting of depcomp makes the
427 (lang_cxx_finish): Do not emit compilation rules.
428 (lang_objc_finish): Likewise.
429 (lang_java_finish): Likewise.
431 1999-04-21 Tom Tromey <tromey@cygnus.com>
433 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
434 interpolate DEPDIR in DEP_FILES expansion.
436 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
438 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
440 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
441 handle multi-line dependency lists.
443 1999-11-12 Tom Tromey <tromey@cygnus.com>
445 Fix for PR automake/14:
446 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
448 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
450 * m4/multi.m4: Added missing `]'. From Akim Demaille.
452 * Makefile.am (path-check): Make sure distdir is writeable before
454 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
455 (handle_dist_worker): Make sure distdir is writeable before
457 (initialize_global_constants [$dist_trailer]): Make sure distdir
458 is writeable before removing it.
459 * dist.am (distcheck): Make the new source tree read-only before
460 compiling. Idea from Karl Berry.
462 * automake.texi (Gnits): Allow COPYING.LIB again.
463 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
465 1999-11-11 Jim Meyering <meyering@ascend.com>
467 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
470 1999-11-09 Tom Tromey <tromey@cygnus.com>
472 * automake.in (handle_dist): Typo fix. From Jim Meyering.
474 1999-11-09 Jim Meyering <meyering@ascend.com>
476 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
477 markers, no matter what.
479 1999-11-08 Tom Tromey <tromey@cygnus.com>
481 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
484 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
485 From Jim Meyering. Also, don't mention file name in `cp'
486 destination. From Olly Betts.
488 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
490 * texinfos.am (uninstall-info): Use installed info file, not one
491 from srcdir or builddir.
493 1999-11-07 Tom Tromey <tromey@cygnus.com>
495 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
498 Fix for PR automake/18:
499 * automake.in (handle_dist): Add contents of dist.am to the output
501 * Makefile.am (amfiles): Added dist.am.
503 (distcheck): Added uninstall and distclean checks.
505 * automake.in (PATH_PATTERN): Added `-' as allowable character.
506 Fixes PR automake/20. From Matthew D. Langston.
508 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
509 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
511 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
513 * m4/lispdir.m4: -batch must come before -q.
514 * elisp-comp: Likewise.
515 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
516 * THANKS: Added Lars.
518 1999-08-15 Tom Tromey <tromey@cygnus.com>
520 * automake.in (get_object_extension): Fixed quoting bug. Fixes
523 1999-07-27 Tom Tromey <tromey@cygnus.com>
525 * config.guess, config.sub: New versions from autoconf.
527 1999-07-13 Tom Tromey <tromey@cygnus.com>
529 Work around losing `awk'. Report from Harlan Stenn.
530 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
531 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
533 * automake.in (handle_source_transform): Mark prefix as seen if
534 corresponding _SOURCES variable exists. Fixes empty2.test.
536 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
538 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
540 (AUTOMAKE): Set --amdir to current directory.
542 1999-06-20 Tom Tromey <tromey@cygnus.com>
544 * Makefile.am (TAGS_FILES): New macro.
545 (ETAGS_ARGS): Moved files into TAGS_FILES.
546 (TAGS_DEPENDENCIES): Likewise.
547 (ETAGS_ARGS): Removed.
548 (TAGS_DEPENDENCIES): Removed duplicate definition.
550 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
551 from Ganesan Rajagopal.
554 1999-06-18 Thomas Tanner <tanner@ffii.org>
556 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
559 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
561 * ylwrap: Handle filenames output by the DOS version of Bison.
563 1999-06-20 Tom Tromey <tromey@cygnus.com>
565 * ylwrap: Be less strict when recognizing DOS paths. From Mark
568 1999-06-19 Tom Tromey <tromey@cygnus.com>
570 * automake.in (handle_dist_worker): Remove redundant entries from
573 * automake.in (handle_lib_objects_cond): Better error message when
574 unrecognized option passed in LDADD.
576 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
578 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
579 appropriate --acdir and --amdir arguments.
581 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
583 * automake.in (dist_header): Avoid changing permissions of files
584 in the source tree, trying a complex `find/chmod' command before
585 falling back to plain chmod.
586 (handle_dist_worker): Do not create directories with mode 777, the
587 find above will take care of that.
588 * m4/init.m4: Set install_sh for find/chmod above.
590 * THANKS: Added Shuhei Amakawa.
592 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
594 * mans.am: Strip dirname from given filename.
596 1999-06-07 Jim Meyering <meyering@ascend.com>
598 * automake.in (handle_dist): Change emitted rules so that a failure
599 in `$(MAKE) distcheck-hook' propagates to the outer make.
601 1999-05-27 Tom Tromey <tromey@cygnus.com>
603 * automake.in (handle_single_transform_list): Replace AM_FLAG and
604 not FLAG in compilation rule.
605 (add_depend2): Likewise.
607 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
610 * m4/dmalloc.m4: Updated dmalloc site information.
612 1999-05-19 Tom Tromey <tromey@cygnus.com>
614 * automake.in (handle_single_transform_list): Push object name
615 without extension onto lang_specific_files. Fixes
618 * automake.in (handle_single_transform_list): Added missing
619 space. Fixes specflags.test.
621 1999-05-05 Tom Tromey <tromey@cygnus.com>
623 * automake.in: Disabled dependency tracking for Java.
625 1999-05-04 Tom Tromey <tromey@cygnus.com>
627 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
628 * automake.in (handle_libraries): Recognize _AR variable.
630 1999-04-30 Tom Tromey <tromey@cygnus.com>
632 * automake.in (finish_languages): Always use `-o $@' with
633 libtool. Define ltcompile and ltlink at outermost scope in
635 * libtool.am (.c.lo): Removed.
637 * automake.in (finish_languages): Put `.' before extension in
638 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
639 `-flag'. From Pavel Roskin.
641 1999-04-28 Tom Tromey <tromey@cygnus.com>
643 * automake.in (finish_languages): Fixed scoping of ltcompile and
644 ltlink. From Pavel Roskin.
646 1999-04-27 Tom Tromey <tromey@cygnus.com>
648 * automake.in (read_main_am_file): Don't start macro definition
649 with backslash-newline. Instead, append newline at the end if
652 * automake.in (read_am_file): Insert a backslash before a trailing
653 newline. Fixes pluseq8.test.
655 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
657 (check_canonical_spelling): Don't insert `AM' before macro name
658 (reverts Alexandre's 1999-04-27 patch).
659 * automake.texi: Reverted documentation change for `AM' patch.
661 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
662 Minor rewrite for clarity.
663 (check_canonical_spelling): Prefer `$1' over `\1'.
665 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
668 * automake.in (handle_single_transform_list): Don't print rule if
669 doing dependency tracking and the file's language supports it.
670 (initialize_per_input): Initialize lang_specific_files.
671 (add_depend2): New function.
672 (handle_dependencies): Use it.
674 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
675 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
676 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
678 (lang_ratfor_finish): Use lang_f77_finish.
680 * compile.am (NOTDEPEND.c.o): Removed.
681 (OBJEXT.c.obj): Likewise.
682 * automake.in: Added `flags' attribute to all relevant languages.
683 (handle_single_transform_list): Handle per-derived-object flags.
684 Changed interface and all callers.
685 (handle_built_sources): Don't call handle_single_transform_list.
686 Added `compile' and `compiler-name' attribute to all relevant
688 (finish_languages): Define compiler variables here.
689 (lang_cxx_finish): Don't call define_compiler_variable. Don't
690 define flag variable or .o rules. Don't add to @suffixes.
691 (lang_f77_finish): Likewise.
692 (lang_ppf77_finish): Likewise.
693 (lang_objc_finish): Likewise.
694 (lang_java_finish): Likewise.
695 (finish_languages): Define flag variable here.
696 Added `output-arg' attribute to all relevant languages.
697 (finish_languages): Define `.o' rules here.
698 (finish_languages): Put extension on @suffixes.
699 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
701 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
703 * automake.in (initialize_global_constants): Invoke gzip for
704 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
706 * automake.in (initialize_global_constants): Remove zip file
707 before re-creating it.
708 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
710 * texinfos.am (uninstall-info): Look for info file in srcdir, just
711 like in install-info-am.
712 Reported by Tudor Hulubei <tudor@cs.unh.edu>
714 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
715 Let's use the good ol' substitution, then.
716 Reported by Russ Allbery <rra@stanford.edu>
718 * automake.in (check_canonical_spelling): Insert AM before names
719 starting with non-letters.
721 * automake.texi: Document it.
723 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
725 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
726 doesn't work on perl4. Maybe \Q and \E do.
728 1999-04-24 Tom Tromey <tromey@cygnus.com>
730 * automake.in: Treat `.zip' and `.jar' files as Java.
732 * automake.in (generate_makefile): Define `subdir' after reading
734 (read_main_am_file): Give programming error if variable defined
737 1999-04-22 Tom Tromey <tromey@cygnus.com>
739 * automake.in (generate_makefile): Define `subdir' variable.
740 (handle_dist): Don't define `subdir'.
742 * automake.in (handle_texinfo): Change numbering scheme for
743 stamp-vti files, to avoid problems with DOS.
744 From Michel de Ruiter.
746 * automake.texi: Don't mention AM_FUNC_MKTIME.
747 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
748 * automake.in (scan_one_configure_file): Recognize
749 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
750 (obsolete_macros): Mention AM_FUNC_MKTIME.
751 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
752 * m4/mktime.m4: Removed.
754 1999-04-20 Tom Tromey <tromey@cygnus.com>
756 * automake.texi (Top level): Don't recommend substing SUBDIRS.
758 1999-04-20 Brian Ford <ford@vss.fsi.com>
760 * scripts.am: Change else if's to elif.
762 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
764 * automake.in (handle_lib_objects_cond): Only require the source
765 of a LIBOBJ if it's not in BUILT_SOURCES.
766 Reported by Erez Zadok.
768 1999-04-19 Tom Tromey <tromey@cygnus.com>
770 * automake.in: Treat `.class' files as Java source.
771 (lang_java_finish): Handle `.class' files.
773 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
775 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
777 * m4/lispdir.m4: Do not override lispdir if it's already defined.
778 Run some emacs-lisp to find out the site-lisp directory, but
779 relocate it into prefix.
781 1999-04-17 Paul Eggert <eggert@twinsun.com>
783 * m4/mktime.m4 (bigtime_test, main): Move alarm from
784 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
785 even outside of bigtime_test. Use a time limit of 60 seconds
786 for the whole test, not 10 seconds per iteration.
788 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
790 * automake.in: Create stamps for headers in appropriate
791 directories, even if the input file lives in a different place.
792 * remake-hdr.am: Likewise.
794 1999-04-16 Tom Tromey <tromey@cygnus.com>
797 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
798 Invoke `sed' only once per program.
799 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
800 Invoke `sed' only once per program.
802 1999-04-13 Tom Tromey <tromey@cygnus.com>
804 * automake.in (handle_subdirs): Make `install-recursive' phony.
805 From Michel de Ruiter.
807 * automake.in (handle_ltlibraries): Added missing `check'.
809 1999-04-12 Tom Tromey <tromey@cygnus.com>
811 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
814 1999-04-11 Tom Tromey <tromey@cygnus.com>
816 * automake.in (handle_dist): Use AMTAR.
817 (initialize_global_constants): Likewise.
818 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
820 * automake.in (lang_sub_obj): New function.
821 (lang_cxx_rewrite): Use it.
822 (lang_asm_rewrite): Likewise.
823 (lang_objc_rewrite): Likewise.
824 (lang_cxx_finish): Add `-o $@' to all C++ rules.
825 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
826 (lang_objc_finish): Add `-o $@' to all ObjC rules.
827 (lang_java_finish): Likewise.
829 * automake.in: Only register `asm' once.
830 (lang_asm_finish): Put assembly suffixes on @suffixes.
832 * libtool.am (.s.lo): Removed.
834 * automake.in (lang_asm_finish): Handle libtool.
836 * libtool.am (.c.o): Always pass -c to libtool.
838 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
839 (lang_yaccxx_rewrite): Likewise.
840 (lang_lex_rewrite): Likewise.
841 (lang_lexxx_rewrite): Likewise.
843 Assembly code no longer included by default:
844 * compile.am (.s.o): Removed.
846 * automake.in: Register `asm' language.
847 (lang_asm_finish): Generate suffix rules for assembly.
848 (get_object_extension): Don't add `.s' or `.S' to suffix list.
850 * automake.in (get_object_extension): Substitute @MINUSO@ when
851 including compile.am.
852 * compile.am (.c.o): Added @MINUSO@.
855 First cut at allowing objects in subdirectories:
856 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
857 * Makefile.am (dist_script_DATA): Added compile.
858 * m4/minuso.m4: New file.
859 * automake.in (initialize_global_constants): Added compile to
861 (seen_cc_c_o): New global.
862 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
863 (handle_options): Recognize `subdir-objects' option.
864 (lang_c_rewrite): Added directory argument.
865 (lang_yacc_rewrite): Likewise.
866 (lang_yaccxx_rewrite): Likewise.
867 (lang_lex_rewrite): Likewise.
868 (lang_lexxx_rewrite): Likewise.
869 (handle_single_transform_list): Pass directory to _rewrite
870 function. Generate dependencies for dirstamp files for each .o;
871 it is just the rules we want to create once.
872 (lang_c_rewrite): Handle `subdir-objects' option.
873 (lang_c_rewrite): Require `compile' program.
876 * automake.in (initialize_per_input): Initialize %directory_map.
877 (handle_single_transform_list): Only create .dirstamp rules once
880 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
883 * automake.in (configure_input_files): New global.
884 (scan_configure): Set it.
885 (handle_configure): Use configure_input_files when determining
886 which subdirs have a Makefile.am. Fixes confh.test.
887 (handle_configure): Only recognize acconfig.h in top srcdir.
889 1999-04-10 Tom Tromey <tromey@cygnus.com>
891 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
894 * automake.in (am_install_var): Remove redundancies from the
895 result. Fixes test cond8.test.
897 * automake.in (handle_single_transform_list): Handle dependency
898 tracking when files are created in subdirs. Error if object in
899 subdir has `..' component.
901 * automake.in (initialize_global_constants): Use $(TAR), not tar.
903 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
905 * automake.in (lang_yacc_finish): Added missing `&'.
907 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
909 * automake.in (handle_configure): Replace multiple occurrences of
910 @STAMP@ in the same line; completes the patch for remake-hdr.am
913 * automake.in (handle_dependencies): Fix test for `autodep'
916 * automake.in (handle_source_transform): Add a pfx to used_pfx
917 only if it's conditional or non-empty, to reduce the number of
918 empty variables. Emit _OBJECS variable based on program name if
919 no SOURCES were explicitly specified.
921 * remake-hdr.am: Create the stamp file before the header file,
922 and just rename it after, so that the timestamps will be correct.
923 Reported by Marc Horowitz <marc@mit.edu>
925 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
926 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
927 Reported by Jim Meyering <meyering@ascend.com>
929 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
931 1999-04-10 Tom Tromey <tromey@cygnus.com>
933 * Makefile.am (EXTRA_DIST): New macro.
934 * ChangeLog.1996, ChangeLog.1998: New files.
936 1999-04-09 Tom Tromey <tromey@cygnus.com>
938 * automake.in (handle_source_transform): Handle dist and nodist
940 (initialize_per_input): Initialize dist_sources.
941 (check_libobjs_sources): Handle dist and nodist prefixes.
942 (generate_makefile): Define DIST_SOURCES.
943 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
945 * automake.texi (Macros): Mention AM_PROG_GCJ.
946 (Java Support): New node.
947 (Dist): Documented dist_ and nodist_ prefixes.
949 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
951 * automake.in (lang_java_finish): Generate .lo rule for `.java'
952 files, not `.gcj' files.
954 * m4/gcj.m4: New file.
955 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
957 * automake.in: Register the `java' language.
958 (resolve_linker): Handle GCJLINK.
959 (lang_java_rewrite): New function.
960 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
961 (lang_c_rewrite): Use new constants.
962 (lang_cxx_rewrite): Likewise.
963 (lang_header_rewrite): Likewise.
964 (lang_yacc_rewrite): Likewise.
965 (lang_yaccxx_rewrite): Likewise.
966 (lang_lex_rewrite): Likewise.
967 (lang_lexxx_rewrite): Likewise.
968 (lang_asm_rewrite): Likewise.
969 (lang_f77_rewrite): Likewise.
970 (lang_ppf77_rewrite): Likewise.
971 (lang_ratfor_rewrite): Likewise.
972 (lang_objc_rewrite): Likewise.
973 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
974 return from rewrite function.
975 (lang_java_finish): New function.
976 (register_language): Changed interface and all calls. Added
977 `autodep' settings to various languages.
978 (handle_dependencies): Use `autodep' property of language when
979 including dependency-tracking code.
981 1999-04-07 Tom Tromey <tromey@cygnus.com>
983 * automake.in (handle_texinfo): Indentation fixes.
985 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
987 * automake.in (value_to_list): Skip *only* trailing backslashes.
989 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
991 * automake.in (value_to_list): Skip trailing backslashes.
993 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
995 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
997 Reported by Per Cederqvist <ceder@lysator.liu.se>
998 (handle_texinfo): Do not define texinfo_tex='.', use
999 '$(srcdir)/texinfo.tex' instead; the directory name will be
1001 (require_conf_file_with_line): Fixed typo.
1003 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1005 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1006 we do not depend on PATH starting with `.'.
1008 1999-03-31 Tom Tromey <tromey@cygnus.com>
1010 * automake.in (quote_cond_val): Quote \n.
1011 (unquote_cond_val): Unquote \n.
1012 (read_am_file): If line ends with `\', preserve it and add a
1014 (read_main_am_file): In conditional case, put conditional text at
1015 beginning of each generated line.
1017 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1019 * automake.in (handle_tests): support XFAIL_TEST
1020 * automake.texi: document it
1022 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1024 * End of merge from trunk.
1026 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1028 * automake.in (cmdline_use_dependencies): Reintroduce it.
1029 (--ignore-deps): Set cmdline_use_dependencies again.
1030 (handle_dependencies): If use_dependencies is not set, define
1032 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1033 (scan_configure): Do not require depcomp when ignoring
1035 (initialize_global_constants): Reintroduce --ignore-deps.
1037 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1039 * depcomp: New file.
1040 * Makefile.am (dist_script_DATA): Added depcomp.
1041 * automake.in (cmdline_use_dependencies, omit_dependencies,
1042 dependency_macros): Removed.
1043 (--ignore-deps): Just ignore.
1044 (handle_single_transform_list, dep_files): Named dependency files
1045 as \$(DEPDIR)/$base.P$obj
1046 (handle_lib_objects_cond): Likewise.
1047 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1048 (scan_one_configure_file): Likewise.
1049 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1050 Ignore OMIT_DEPENDENCIES.
1051 (handle_configure): Do not pass --ignore-deps.
1052 (scan_configure): Require `depcomp'.
1053 (initialize_global_constants): Make `depcomp' common. Remove
1054 `--ignore-deps' from usage.
1055 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1056 * compile.am: Remove rules for .c.o and .c.obj
1057 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1058 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1059 Use it and depcomp in suffix rules.
1060 * libtool.m4: Likewise.
1061 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1062 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1063 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1064 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1065 from the Makefile and subst it in deps. Report creation of deps
1066 files (for now). Replace $U with `_' and the empty string. Write
1067 a comment to each created file.
1068 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1069 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1070 dependency mode and AC_SUBST [$1]DEPMODE.
1071 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1072 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1073 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1075 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1077 * depout.m4: Fix sed expression for extracting `dirpart'.
1079 1999-03-29 Tom Tromey <tromey@cygnus.com>
1081 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1083 * compile.am (.c.obj): Also disabled when dependency tracking
1085 * depend2.am (@EXT@.obj): New target.
1086 * automake.in (get_object_extension): Added explanatory comment.
1087 (generate_dependency_code): Handle $seen_objext.
1089 * depend.am: Removed obsolete comment.
1090 * depend2.am: Minor formatting fix.
1092 1999-03-28 Tom Tromey <tromey@cygnus.com>
1094 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1096 (EXTRA_DIST): Removed.
1097 * automake.in (dependency_macros): New global.
1098 (scan_one_configure_file): Recognize new dependency tracking
1099 macros, and define new resulting configure variables.
1100 (generate_dependency_code): New sub.
1101 (handle_dependencies): Use it.
1102 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1104 (@EXT@.lo): Likewise.
1105 * m4/depvars.m4: New file.
1106 * m4/objcdepend.m4: New file.
1107 * m4/cxxdepend.m4: New file.
1108 * m4/init.m4: Moved dependency handling code into depout.m4.
1109 * m4/depout.m4: New file.
1110 * m4/ccdepend.m4: New file.
1111 * m4/depend.m4: New file.
1113 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1114 (@EXT@.lo): Likewise.
1115 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1118 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1119 will create the required .P files for dependency tracking.
1120 * automake.in (scan_dependency_file): Removed.
1121 (handle_dependencies): Never call scan_dependency_file.
1122 (generate_deps): Removed.
1123 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1124 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1125 (srcdir_name): Removed.
1126 (build_directory): Removed.
1127 (initialize_global_constants): Changed $USAGE to reflect argument
1129 (handle_dist_worker): Never run automake in `dist' rule.
1130 (handle_configure): Use --ignore-deps, not --include-deps.
1131 * depend.am (DEPS_MAGIC): Removed.
1132 (DEP_FILES): Unconditionally include.
1134 1999-03-27 Tom Tromey <tromey@cygnus.com>
1136 * automake.in (saw_sources_p): Correctly count header extensions
1138 (handle_headers): Fixed order of arguments to am_install_var.
1140 * automake.in (am_install_var): Don't error if EXTRA_foo is
1143 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1144 (uninstall-@DIR@SCRIPTS): Likewise.
1145 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1146 (uninstall-@DIR@PROGRAMS): Likewise.
1147 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1148 (uninstall-@DIR@LTLIBRARIES): Likewise.
1149 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1150 (uninstall-@DIR@LISP): Likewise.
1151 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1152 (uninstall-@DIR@LIBRARIES): Likewise.
1153 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1154 (uninstall-@DIR@JAVA): Likewise.
1155 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1156 (uninstall-@DIR@HEADERS): Likewise.
1157 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1158 (uninstall-@DIR@DATA): Likewise.
1159 * Makefile.in: Rebuilt.
1160 * Makefile.am (dist_pkgdata_DATA): Renamed.
1161 (EXTRA_DIST): Removed.
1162 (install-data-hook): Added POST_INSTALL; print commands as they
1163 are run; respect DESTDIR.
1164 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1165 * automake.in (am_install_var): Accept `-candist' and
1166 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1167 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1168 and `nodist_' prefixes.
1169 (handle_scripts): Pass -candist to am_install_var.
1170 (handle_data): Pass -defaultdist to am_install_var.
1171 (handle_headers): Likewise.
1172 (handle_emacs_lisp): Pass -candist to am_install_var.
1173 (handle_java): Pass -candist to am_install_var.
1175 1999-03-26 Tom Tromey <tromey@cygnus.com>
1177 * m4/init.m4: Fixed typo when invoking SHELL.
1179 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1180 yacc header file. From Ralf Corsepius.
1182 * Makefile.in: Rebuilt.
1183 * Makefile.am: Updated to reflect removal of TAR subst.
1184 * automake.texi (Options): Document dist-bzip2.
1185 * automake.in (TAR): Removed global.
1186 (initialize_global_constants): Changed `dist' to use pipe with
1187 gzip; work with non-GNU tar.
1188 (handle_dist): Handle non-GNU tar. Don't define TAR.
1189 (initialize_global_constants): Added `dist-bzip2' entry.
1190 (handle_options): Recognize dist-bzip2 option.
1191 (handle_dist): Likewise.
1192 * configure: Rebuilt.
1193 * configure.in: Don't check for tar.
1194 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1197 * automake.in (am_install_var): Removed obsolete comment.
1199 * texinfos.am (uninstall-info): Don't print loop but instead print
1200 commands. Simplified pre-uninstall loop.
1201 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1202 instead print commands.
1203 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1205 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1206 instead print commands.
1207 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1208 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1209 instead print commands.
1210 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1212 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1214 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1215 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1216 instead print commands.
1217 * data.am (install-@DIR@DATA): Strip subdir from file name.
1218 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1219 instead print commands.
1221 * automake.in (handle_merge_targets): `install-strip' is a phony
1222 target. From Michel de Ruiter.
1224 1999-03-25 Tom Tromey <tromey@cygnus.com>
1226 * automake.in (define_compiler_variable): Don't define variable
1229 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1231 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1232 * automake.texi: ditto
1234 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1236 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1237 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1239 1999-03-24 Tom Tromey <tromey@cygnus.com>
1241 * automake.in (define_compiler_variable): New sub.
1242 (finish_languages): Use it.
1243 (lang_cxx_finish): Likewise.
1244 (lang_f77_finish): Likewise.
1245 (lang_ppf77_finish): Likewise.
1246 (lang_ratfor_finish): Likewise.
1247 (lang_objc_finish): Likewise.
1249 1999-03-23 Tom Tromey <tromey@cygnus.com>
1251 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1252 sed invocations. From Elrond.
1253 (uninstall-@DIR@PROGRAMS): Likewise.
1255 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1256 From Ralf Corsepius.
1258 1999-02-01 Thomas Tanner <tanner@gmx.de>
1260 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1261 warning when AM_PROG_LIBTOOL was found
1262 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1264 1999-03-22 Tom Tromey <tromey@cygnus.com>
1266 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1267 * automake.in (define_standard_variables): New sub.
1268 (read_main_am_file): Use two passes to scan standard variables.
1269 (read_am_file): Don't special-case configure variables with `+='.
1270 (initialize_per_input): Initialize %var_was_plus_eq.
1271 (read_am_file): Set var_was_plus_eq element correctly.
1272 (define_variable): Give error if variable assigned with `+=' is
1274 (initialize_per_input): Initialize %am_var_defs.
1275 (file_contents_with_transform): Set element in %am_var_defs.
1276 (read_am_file): Use %am_var_defs.
1278 1999-03-21 Tom Tromey <tromey@cygnus.com>
1280 * automake.in (initialize_per_input): Initialize %object_map.
1281 (handle_single_transform_list): Allow source files in
1284 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1286 * automake.in (handle_dist): Add missing newline after the first
1289 1999-03-11 Tom Tromey <tromey@cygnus.com>
1291 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1292 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1295 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1297 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1298 legitimate ending. Fixes libobj9.test.
1300 From Ralf Corsepius. Fixes lex3.test.
1301 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1302 maintainer-clean list.
1303 (lang_lex_finish): Likewise.
1305 1999-03-02 Tom Tromey <tromey@cygnus.com>
1307 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1308 construct to work around FreeBSD make/sh problem. From Rich Wales.
1310 1999-03-01 Tom Tromey <tromey@cygnus.com>
1312 Fixes from Pavel Roskin:
1313 * automake.in (variable_conditions_sub): Sort list passed to
1314 variable_conditions_permutations.
1315 (variable_conditions): Sort list before returning.
1317 1999-02-27 Tom Tromey <tromey@cygnus.com>
1319 * automake.in (lang_extensions): New sub.
1320 (handle_dependencies): Use it.
1321 (cxx_extensions): Removed.
1322 (lang_cxx_finish): Use lang_extensions.
1323 (f77_extensions): Removed.
1324 (lang_f77_finish): Use lang_extensions.
1325 (objc_extensions): Removed.
1326 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1327 Report from Dave Morrison.
1328 (lang_ratfor_finish): Likewise.
1330 1999-02-26 Tom Tromey <tromey@cygnus.com>
1332 * automake.in (finish_languages): Added AM_LDFLAGS.
1333 (lang_cxx_finish): Likewise.
1334 (lang_f77_finish): Likewise.
1335 (lang_ppf77_finish): Likewise.
1336 (lang_ratfor_finish): Likewise.
1337 (lang_objc_finish): Likewise.
1339 1999-02-11 Tom Tromey <tromey@cygnus.com>
1341 * aclocal.in (obsolete_macros): Copied from automake.in.
1342 (obsolete_rx): Use only keys of obsolete_macros.
1343 (scan_configure): Report replacement macro for an obsolete macro.
1344 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1346 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1347 entry. Fixes obsolete2.test.
1349 * automake.in (obsolete_macros): Use empty string to indicate no
1351 (scan_one_configure_file): Likewise.
1353 1999-02-07 Paul Eggert <eggert@twinsun.com>
1355 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1356 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1357 needed by some programs.
1359 1999-02-10 Tom Tromey <tromey@cygnus.com>
1361 * automake.in (handle_texinfo): Added `pgs' to list of
1362 extensions. From NISHIDA Keisuke.
1364 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1366 * automake.in (handle_texinfo): remove texinfo.tex from
1369 1999-02-02 Tom Tromey <tromey@cygnus.com>
1371 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1372 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1373 * header-vars.am (INSTALL_PROGRAM): Removed
1374 AM_INSTALL_PROGRAM_FLAGS.
1375 (INSTALL_STRIP_FLAG): New macro.
1377 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1379 (lang_yacc_finish): Likewise.
1380 (lang_lex_finish): Likewise.
1382 1999-02-01 Tom Tromey <tromey@cygnus.com>
1384 * automake.in (handle_dist_worker): Correctly find find in $$d,
1385 not $$. From Bill Davidson.
1387 * automake.in (finish_languages): Use "&", not "do". From Pavel
1389 (handle_single_transform_list): Likewise.
1391 1999-01-29 Tom Tromey <tromey@cygnus.com>
1393 * automake.in (handle_configure): Removed unused variable. From
1396 * ansi2knr.c: New version from L. Peter Deutsch.
1398 1999-01-22 Tom Tromey <tromey@cygnus.com>
1400 * automake.in (require_file_internal): Correctly examine return
1401 value of `system'. From Andris Pavenis. Fixes copy.test.
1403 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1405 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1406 Kuepper. Fixes ppf77.test.
1407 (lang_ratfor_rewrite): New function
1409 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1410 fix). From Erez Zadok.
1412 1999-01-15 Tom Tromey <tromey@cygnus.com>
1414 * configure.in: Version 1.4a (oops).
1416 * configure.in: Updated version to 1.5a.
1418 1999-01-14 Tom Tromey <tromey@cygnus.com>
1420 * automake.in (handle_configure): Compute $header_dir based on
1421 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1423 (handle_configure): Compute relative path to input header
1424 correctly in all cases.
1426 * automake.in (handle_tests): Avoid error messages from dejagnu
1427 test rules. From Karl Heuer.
1429 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1431 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1433 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1434 From Alexandre Oliva and Erez Zadok.
1436 * automake.in (create): Renamed from touch.
1437 (handle_configure): Use create, not touch.
1439 * config.sub, config.guess: New versions from autoconf.
1441 * mkinstalldirs: New version from autoconf.
1443 1999-01-12 Tom Tromey <tromey@cygnus.com>
1445 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1448 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1450 * automake.in (PATH_PATTERN): New variable:
1451 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1452 symbols besides $(top_srcdir) and $(srcdir).
1454 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1456 * automake.in (handle_dist_worker): avoid failure in `make dist'
1457 if last file is a builddir-only file
1459 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1461 * missing (autoheader): `s' was missing from sed script; grr
1463 1999-01-11 Tom Tromey <tromey@cygnus.com>
1465 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1466 ($(srcdir)/@STAMP@.in): Likewise.
1468 1999-01-10 Tom Tromey <tromey@cygnus.com>
1470 * Makefile.am (scriptdir): New macro.
1471 (script_DATA): Likewise.
1472 (install-data-hook): Use them.
1473 (EXTRA_DIST): Added script_DATA.
1474 (installcheck-local): Use script_DATA.
1476 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1478 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1480 * missing (autoheader): accept multiple header files
1481 (automake): simplify sed processing
1483 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1485 * automake.in (handle_configure, stamp_dir): create only one stamp
1486 file per header, instead of one in the top-level directory and one
1487 in the directory that contains the header.
1489 1999-01-10 Tom Tromey <tromey@cygnus.com>
1491 * automake.in (lang_objc_finish): Formatting fix.
1493 * automake.in (objc_extensions): New sub.
1494 (handle_dependencies): Only generate dependency-tracking code for
1495 ObjC when ObjC source seen.