1 2000-03-19 Tom Tromey <tromey@cygnus.com>
3 Fix for PR automake/38:
4 * automake.in (require_file_internal): Check for and handle
5 dangling symlinks. Fixes symlink2.test.
7 Fix for PR automake/45:
8 * automake.texi (configure): Mention requirement to run
10 (Requirements): Removed most text.
11 * automake.in (seen_init_automake): New global.
12 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
13 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
14 Set seen_init_automake if needed.
16 Fix for PR automake/41:
17 * automake.in (require_file_found): New global.
18 (require_file_internal): Set require_file_found entry.
19 (handle_texinfo): Require file any number of times.
21 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
24 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
26 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
28 * m4/missing.m4: Print the backtick in a way that won't cause
29 autoconf CVS to emit any warnings.
31 2000-03-01 Jim Meyering <meyering@lucent.com>
33 * automake.in (handle_dist_worker) [generating rules for distdir]:
34 Don't use `ln' (which was just a space optimization anyway) to
35 populate $(distdir). Otherwise, the dist rules that change
36 permissions would end up affecting the master sources.
37 * texinfos.am (dist-info): Likewise.
39 2000-02-13 Jim Meyering <meyering@lucent.com>
41 * automake.in (generate_makefile): Detect write/close failure.
43 2000-02-02 Assar Westerlund <assar@sics.se>
45 * automake.in (handle_single_transform_list): do not use $< which
46 is not handled by all non-GNU makes. Instead do explicit sh code
47 testing for the file in this directory and srcdir. Based on a
48 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
50 2000-01-12 Tom Tromey <tromey@cygnus.com>
52 * m4/lispdir.m4: Added --with-lispdir argument processing.
55 2000-01-06 Tom Tromey <tromey@cygnus.com>
57 * automake.in (handle_configure): Don't check for
59 (scan_configure): Check for AC_PROG_MAKE_SET.
61 * header-vars.am (@SET_MAKE@): Added.
62 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
65 1999-12-19 Tom Tromey <tromey@cygnus.com>
67 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
69 (require_file_internal): Corrected arguments to second invocation
70 of maybe_push_required_file.
72 Fix for PR automake/9:
73 * automake.in (make_dirs, make_dirs_set): New globals.
74 (is_make_dir): New function.
75 (handle_configure): Use it.
76 (require_file_internal): Push file if there is no Makefile in its
78 (initialize_per_input): Initialize handle_dist_run.
79 (push_dist_common): Inspect handle_dist_run.
80 (handle_dist): Set handle_dist_run. Push items from
81 configure_dist_common onto dist_common if appropriate.
82 (configure_dist_common): New global.
83 (scan_configure): Set it.
84 (maybe_push_required_file): New function.
85 (require_file_internal): Use it.
87 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
88 more subdirs are defined. From Axel Belinfante. Fixes
91 1999-12-18 Tom Tromey <tromey@cygnus.com>
93 Partial fix for PR automake/40:
94 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
95 (uninstall-@DIR@LISP): Likewise.
96 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
97 (uninstall-@DIR@HEADERS): Likewise.
98 * data.am (install-@DIR@DATA): Handle nobase_ case.
99 (uninstall-@DIR@DATA): Likewise.
100 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
101 (am_install_var): Recognize and handle `nobase_' prefix.
103 1999-12-17 Tom Tromey <tromey@cygnus.com>
105 * automake.in (get_object_extension): Added space before `-I.'.
106 Report from Ralf Corsepius.
108 1999-12-15 Tom Tromey <tromey@cygnus.com>
110 * aclocal.in: Don't pass $acdir to scan_m4_files.
111 (parse_arguments): Push $acdir on end of dirlist.
112 (scan_file): Don't warn if duplicate macro seen.
114 1999-12-13 Tom Tromey <tromey@cygnus.com>
116 Fix for PR automake/30 and PR automake/23. Fixes test
118 * automake.in (initialize_per_input): Initialize
119 source_suffix_pattern.
120 (derive_suffix): New function.
121 (handle_single_transform_list): Call it.
123 * automake.in (add_depend2): Handle the no-dependency-tracking
124 case. Fixes test suffix2.test.
126 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
128 * automake.in (get_object_extension): Fixed quoting on
131 * depend2.am: Removed erroneous comment.
133 * automake.texi (Program variables): Document nostdinc.
135 * automake.in (get_object_extension): Respect nostdinc option.
136 (handle_options): Recognize nostdinc.
137 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
140 * automake.in (read_am_file): Allow conditional includes. Fixes
143 * depcomp: Handle case on SGI when libtool is `yes'.
144 * depend2.am (@EXT@.o): Set libtool.
145 (@EXT@.lo): Likewise.
146 (@EXT@.obj): Likewise.
148 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
151 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
153 * automake.in (add_depend2): substitute $rule in the rules
154 for individual files. Fixes test specflags5.test.
156 1999-12-12 Tom Tromey <tromey@cygnus.com>
158 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
159 to create directories. Fixes test subobj3.test.
161 1999-12-10 Tom Tromey <tromey@cygnus.com>
163 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
164 message when creating .deps files.
166 * automake.in (initialize_global_constants): If unreadable by
167 owner, make it readable by owner regardless of number of links.
168 Fixes more of install2.test.
170 * missing: Try to see if gnutar or gtar exist before invoking
173 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
174 install_sh value. Look for install-sh and install.sh in a
175 somewhat more sensible way. Fixes test install2.test. Partially
178 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
180 * m4/missing.m4: remove redundant backquote
182 1999-11-23 Tom Tromey <tromey@cygnus.com>
184 * automake.in (initialize_global_constants): Use `bzip2 -9', not
185 `bzip --best' Report from Jim Meyering.
187 1999-11-22 Tom Tromey <tromey@cygnus.com>
189 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
190 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
191 AM_MISSING_INSTALL_SH.
192 * automake.in (scan_one_configure_file): Reverted previous
195 * automake.in (scan_one_configure_file): Define `install_sh'
196 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
199 * automake.in (handle_single_transform_list): Generate explicit
200 rule for subdir objects. Fixes new addition to subobj.test.
202 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
203 defined by AC_SUBST. Fixes ltlibobjs.test.
205 Fix for sourcesub.test:
206 * automake.in (handle_single_transform_list): Added `var'
207 argument. If config sub found, give error.
208 (handle_source_transform): Updated for new
209 handle_source_transform.
211 * py-compile: New file.
212 * m4/Makefile.am (m4data_DATA): Added python.m4.
213 * m4/python.m4: New file.
214 * automake.texi (Uniform): Mention PYTHON.
216 * Makefile.am (amfiles): Added python.am, python-clean.am.
217 (dist_script_DATA): Added py-compile.
218 * python.am: New file.
219 * python-clean.am: New file.
220 * automake.in (seen_pythondir): New global.
221 (generate_makefile): Call handle_python.
222 (handle_python): New function.
223 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
225 (am_install_var): Special-case PYTHON like JAVA.
226 (scan_configure): Check for py-compile.
227 (initialize_global_constants): Added py-compile to @common_files.
229 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
231 1999-11-21 Tom Tromey <tromey@cygnus.com>
233 * automake.in (finish_languages): Only generate suffix rule when
234 not doing dependency tracking.
236 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
237 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
239 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
242 1999-11-19 Tom Tromey <tromey@cygnus.com>
244 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
245 Alexandre's change on branch.
247 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
249 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
251 * dejagnu.am: Set CDPATH before cd.
252 * Makefile.in: Rebuilt.
254 * automake.in (handle_single_transform_list): Change `\1' for `$1'
255 in `s///' replacement.
257 * automake.in (handle_dist): Set CDPATH before cd.
258 * dejagnu.am (check-DEJAGNU): Likewise.
259 * texinfos.am (install-info-am, dist-info): Likewise.
260 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
261 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
262 * aclocal.m4, configure, Makefile.in: Rebuilt.
264 * AUTHORS: Added myself.
266 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
268 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
269 Reported by Tim Wilkinson <tim@transvirtual.com>
270 * aclocal.m4, configure: Rebuilt.
272 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
274 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
275 LEX program is found, use `${am_missing_run}flex'.
277 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
279 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
282 * automake.in (handle_lib_objects_cond): Remove second dot from
283 dependency file names.
285 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
286 regardless of OBJEXT.
288 * automake.in (handle_dependencies): Add blank line after depend2.
289 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
290 blank line before `include's, not after them.
291 (scan_one_configure_file): Do not special-case `DEP_' any more.
293 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
295 * aclocal.m4, configure: Rebuilt.
297 * m4/depend.m4 (AMDEPBACKSLASH): Define.
298 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
300 * automake.in (handle_dependencies): Generate `include's for
301 dependency files after `@AMDEP@'.
303 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
304 --run support in the missing script, since SHELL is not exported.
305 Reported by job bogan <job@piquin.uchicago.edu>
306 * aclocal.m4, configure: Rebuilt.
308 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
310 * aclocal.m4, configure: Rebuilt with itself.
311 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
313 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
314 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
315 (AM_MISSING_HAS_RUN): New macro.
316 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
317 * automake.texi (Requirements): Likewise.
318 * version.texi, stamp-vti: Rebuilt.
320 1999-07-28 Tom Tromey <tromey@cygnus.com>
322 * depcomp: Handle the `hp' mode.
324 1999-07-06 Tom Tromey <tromey@cygnus.com>
326 * depcomp: Work around HP-UX 10.20 sed bug.
328 1999-07-05 Tom Tromey <tromey@cygnus.com>
330 * automake.in (handle_dependencies): Generate a separate include
331 for each dep file. Report from Alexandre Oliva.
332 * depend.am: Don't include DEP_FILES.
334 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
336 * depend.am: Add @AMDEP@ before `include', so that dependency
337 tracking can be disabled.
338 * depend2.am: Ditto, before all lines related with dependency
340 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
341 --enable/disable-dependency-tracking and sets AMDEP accordingly.
342 It is implicitly disabled if depcomp is missing.
343 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
344 generated by side-effect.
345 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
346 * automake.in (handle_dependencies): Add @AMDEP@ before the value
348 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
351 * depcomp: Support -xM for dependency generation, for Sun CC.
352 Reported by Alex Hornby <alex@anvil.co.uk>
353 * m4/depend.m4: Extract the list of supported dependency-tracking
354 mechanisms from the depcomp script and use it to test each one.
355 * THANKS: Added Alex Hornby.
357 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
358 to leave $(...COMPILE) in a line by itself.
360 * THANKS: Added Miles Bader.
362 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
364 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
365 Fix `dashmstdout' to ignore non-dependency-generating uses of the
367 * depcomp (makedepend): New dependency-generating method.
369 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
371 * missing: If given `--run' as first argument, try to run the
372 given program before falling back to the ``emulated'' behavior.
373 Add support for `tar'.
374 * automake.in: Use new `tar' support for `dist'.
375 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
376 program, prepend `missing --run' to the given program name.
377 * m4/init.m4: Remove AMTAR-related stuff.
380 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
381 CONFIG_FILES. Do not use temporary variable for list of
382 dependency files, it breaks Cygwin.
384 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
386 * depcomp (gcc): Imported comments removed from depend2.am, so
387 that we don't lose them.
389 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
390 when not using ansi2knr.
392 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
394 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
395 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
397 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
399 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
400 so as not to compile an empty source; some compilers fail on this.
401 Redirect stderr of depcc to /dev/null. Test for -M with -o,
402 because some compilers will output the rules to the output file.
403 * depcomp (dashmstdout): Add --silent before --mode=compile, so
404 that we don't get libtool output mixed up with make rules.
406 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
407 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
408 -o for libtool, otherwise it may try to deduce the object name
409 from the dependency-generation flag.
410 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
413 * libtool.am: Do not emit .c.lo here...
414 * depend2.am: ... emit .*.lo here, only when using libtool.
415 * automake.in (get_object_extension): No more @MINUSO@ here.
416 (handle_single_transform_list): Set $depfile from $object.
417 (handle_dependencies): Emit depend2.am for all used languages,
418 regardless of $use_dependencies; the setting of depcomp makes the
420 (lang_cxx_finish): Do not emit compilation rules.
421 (lang_objc_finish): Likewise.
422 (lang_java_finish): Likewise.
424 1999-04-21 Tom Tromey <tromey@cygnus.com>
426 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
427 interpolate DEPDIR in DEP_FILES expansion.
429 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
431 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
433 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
434 handle multi-line dependency lists.
436 1999-11-12 Tom Tromey <tromey@cygnus.com>
438 Fix for PR automake/14:
439 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
441 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
443 * m4/multi.m4: Added missing `]'. From Akim Demaille.
445 * Makefile.am (path-check): Make sure distdir is writeable before
447 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
448 (handle_dist_worker): Make sure distdir is writeable before
450 (initialize_global_constants [$dist_trailer]): Make sure distdir
451 is writeable before removing it.
452 * dist.am (distcheck): Make the new source tree read-only before
453 compiling. Idea from Karl Berry.
455 * automake.texi (Gnits): Allow COPYING.LIB again.
456 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
458 1999-11-11 Jim Meyering <meyering@ascend.com>
460 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
463 1999-11-09 Tom Tromey <tromey@cygnus.com>
465 * automake.in (handle_dist): Typo fix. From Jim Meyering.
467 1999-11-09 Jim Meyering <meyering@ascend.com>
469 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
470 markers, no matter what.
472 1999-11-08 Tom Tromey <tromey@cygnus.com>
474 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
477 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
478 From Jim Meyering. Also, don't mention file name in `cp'
479 destination. From Olly Betts.
481 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
483 * texinfos.am (uninstall-info): Use installed info file, not one
484 from srcdir or builddir.
486 1999-11-07 Tom Tromey <tromey@cygnus.com>
488 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
491 Fix for PR automake/18:
492 * automake.in (handle_dist): Add contents of dist.am to the output
494 * Makefile.am (amfiles): Added dist.am.
496 (distcheck): Added uninstall and distclean checks.
498 * automake.in (PATH_PATTERN): Added `-' as allowable character.
499 Fixes PR automake/20. From Matthew D. Langston.
501 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
502 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
504 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
506 * m4/lispdir.m4: -batch must come before -q.
507 * elisp-comp: Likewise.
508 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
509 * THANKS: Added Lars.
511 1999-08-15 Tom Tromey <tromey@cygnus.com>
513 * automake.in (get_object_extension): Fixed quoting bug. Fixes
516 1999-07-27 Tom Tromey <tromey@cygnus.com>
518 * config.guess, config.sub: New versions from autoconf.
520 1999-07-13 Tom Tromey <tromey@cygnus.com>
522 Work around losing `awk'. Report from Harlan Stenn.
523 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
524 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
526 * automake.in (handle_source_transform): Mark prefix as seen if
527 corresponding _SOURCES variable exists. Fixes empty2.test.
529 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
531 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
533 (AUTOMAKE): Set --amdir to current directory.
535 1999-06-20 Tom Tromey <tromey@cygnus.com>
537 * Makefile.am (TAGS_FILES): New macro.
538 (ETAGS_ARGS): Moved files into TAGS_FILES.
539 (TAGS_DEPENDENCIES): Likewise.
540 (ETAGS_ARGS): Removed.
541 (TAGS_DEPENDENCIES): Removed duplicate definition.
543 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
544 from Ganesan Rajagopal.
547 1999-06-18 Thomas Tanner <tanner@ffii.org>
549 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
552 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
554 * ylwrap: Handle filenames output by the DOS version of Bison.
556 1999-06-20 Tom Tromey <tromey@cygnus.com>
558 * ylwrap: Be less strict when recognizing DOS paths. From Mark
561 1999-06-19 Tom Tromey <tromey@cygnus.com>
563 * automake.in (handle_dist_worker): Remove redundant entries from
566 * automake.in (handle_lib_objects_cond): Better error message when
567 unrecognized option passed in LDADD.
569 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
571 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
572 appropriate --acdir and --amdir arguments.
574 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
576 * automake.in (dist_header): Avoid changing permissions of files
577 in the source tree, trying a complex `find/chmod' command before
578 falling back to plain chmod.
579 (handle_dist_worker): Do not create directories with mode 777, the
580 find above will take care of that.
581 * m4/init.m4: Set install_sh for find/chmod above.
583 * THANKS: Added Shuhei Amakawa.
585 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
587 * mans.am: Strip dirname from given filename.
589 1999-06-07 Jim Meyering <meyering@ascend.com>
591 * automake.in (handle_dist): Change emitted rules so that a failure
592 in `$(MAKE) distcheck-hook' propagates to the outer make.
594 1999-05-27 Tom Tromey <tromey@cygnus.com>
596 * automake.in (handle_single_transform_list): Replace AM_FLAG and
597 not FLAG in compilation rule.
598 (add_depend2): Likewise.
600 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
603 * m4/dmalloc.m4: Updated dmalloc site information.
605 1999-05-19 Tom Tromey <tromey@cygnus.com>
607 * automake.in (handle_single_transform_list): Push object name
608 without extension onto lang_specific_files. Fixes
611 * automake.in (handle_single_transform_list): Added missing
612 space. Fixes specflags.test.
614 1999-05-05 Tom Tromey <tromey@cygnus.com>
616 * automake.in: Disabled dependency tracking for Java.
618 1999-05-04 Tom Tromey <tromey@cygnus.com>
620 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
621 * automake.in (handle_libraries): Recognize _AR variable.
623 1999-04-30 Tom Tromey <tromey@cygnus.com>
625 * automake.in (finish_languages): Always use `-o $@' with
626 libtool. Define ltcompile and ltlink at outermost scope in
628 * libtool.am (.c.lo): Removed.
630 * automake.in (finish_languages): Put `.' before extension in
631 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
632 `-flag'. From Pavel Roskin.
634 1999-04-28 Tom Tromey <tromey@cygnus.com>
636 * automake.in (finish_languages): Fixed scoping of ltcompile and
637 ltlink. From Pavel Roskin.
639 1999-04-27 Tom Tromey <tromey@cygnus.com>
641 * automake.in (read_main_am_file): Don't start macro definition
642 with backslash-newline. Instead, append newline at the end if
645 * automake.in (read_am_file): Insert a backslash before a trailing
646 newline. Fixes pluseq8.test.
648 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
650 (check_canonical_spelling): Don't insert `AM' before macro name
651 (reverts Alexandre's 1999-04-27 patch).
652 * automake.texi: Reverted documentation change for `AM' patch.
654 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
655 Minor rewrite for clarity.
656 (check_canonical_spelling): Prefer `$1' over `\1'.
658 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
661 * automake.in (handle_single_transform_list): Don't print rule if
662 doing dependency tracking and the file's language supports it.
663 (initialize_per_input): Initialize lang_specific_files.
664 (add_depend2): New function.
665 (handle_dependencies): Use it.
667 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
668 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
669 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
671 (lang_ratfor_finish): Use lang_f77_finish.
673 * compile.am (NOTDEPEND.c.o): Removed.
674 (OBJEXT.c.obj): Likewise.
675 * automake.in: Added `flags' attribute to all relevant languages.
676 (handle_single_transform_list): Handle per-derived-object flags.
677 Changed interface and all callers.
678 (handle_built_sources): Don't call handle_single_transform_list.
679 Added `compile' and `compiler-name' attribute to all relevant
681 (finish_languages): Define compiler variables here.
682 (lang_cxx_finish): Don't call define_compiler_variable. Don't
683 define flag variable or .o rules. Don't add to @suffixes.
684 (lang_f77_finish): Likewise.
685 (lang_ppf77_finish): Likewise.
686 (lang_objc_finish): Likewise.
687 (lang_java_finish): Likewise.
688 (finish_languages): Define flag variable here.
689 Added `output-arg' attribute to all relevant languages.
690 (finish_languages): Define `.o' rules here.
691 (finish_languages): Put extension on @suffixes.
692 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
694 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
696 * automake.in (initialize_global_constants): Invoke gzip for
697 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
699 * automake.in (initialize_global_constants): Remove zip file
700 before re-creating it.
701 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
703 * texinfos.am (uninstall-info): Look for info file in srcdir, just
704 like in install-info-am.
705 Reported by Tudor Hulubei <tudor@cs.unh.edu>
707 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
708 Let's use the good ol' substitution, then.
709 Reported by Russ Allbery <rra@stanford.edu>
711 * automake.in (check_canonical_spelling): Insert AM before names
712 starting with non-letters.
714 * automake.texi: Document it.
716 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
718 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
719 doesn't work on perl4. Maybe \Q and \E do.
721 1999-04-24 Tom Tromey <tromey@cygnus.com>
723 * automake.in: Treat `.zip' and `.jar' files as Java.
725 * automake.in (generate_makefile): Define `subdir' after reading
727 (read_main_am_file): Give programming error if variable defined
730 1999-04-22 Tom Tromey <tromey@cygnus.com>
732 * automake.in (generate_makefile): Define `subdir' variable.
733 (handle_dist): Don't define `subdir'.
735 * automake.in (handle_texinfo): Change numbering scheme for
736 stamp-vti files, to avoid problems with DOS.
737 From Michel de Ruiter.
739 * automake.texi: Don't mention AM_FUNC_MKTIME.
740 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
741 * automake.in (scan_one_configure_file): Recognize
742 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
743 (obsolete_macros): Mention AM_FUNC_MKTIME.
744 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
745 * m4/mktime.m4: Removed.
747 1999-04-20 Tom Tromey <tromey@cygnus.com>
749 * automake.texi (Top level): Don't recommend substing SUBDIRS.
751 1999-04-20 Brian Ford <ford@vss.fsi.com>
753 * scripts.am: Change else if's to elif.
755 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
757 * automake.in (handle_lib_objects_cond): Only require the source
758 of a LIBOBJ if it's not in BUILT_SOURCES.
759 Reported by Erez Zadok.
761 1999-04-19 Tom Tromey <tromey@cygnus.com>
763 * automake.in: Treat `.class' files as Java source.
764 (lang_java_finish): Handle `.class' files.
766 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
768 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
770 * m4/lispdir.m4: Do not override lispdir if it's already defined.
771 Run some emacs-lisp to find out the site-lisp directory, but
772 relocate it into prefix.
774 1999-04-17 Paul Eggert <eggert@twinsun.com>
776 * m4/mktime.m4 (bigtime_test, main): Move alarm from
777 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
778 even outside of bigtime_test. Use a time limit of 60 seconds
779 for the whole test, not 10 seconds per iteration.
781 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
783 * automake.in: Create stamps for headers in appropriate
784 directories, even if the input file lives in a different place.
785 * remake-hdr.am: Likewise.
787 1999-04-16 Tom Tromey <tromey@cygnus.com>
790 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
791 Invoke `sed' only once per program.
792 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
793 Invoke `sed' only once per program.
795 1999-04-13 Tom Tromey <tromey@cygnus.com>
797 * automake.in (handle_subdirs): Make `install-recursive' phony.
798 From Michel de Ruiter.
800 * automake.in (handle_ltlibraries): Added missing `check'.
802 1999-04-12 Tom Tromey <tromey@cygnus.com>
804 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
807 1999-04-11 Tom Tromey <tromey@cygnus.com>
809 * automake.in (handle_dist): Use AMTAR.
810 (initialize_global_constants): Likewise.
811 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
813 * automake.in (lang_sub_obj): New function.
814 (lang_cxx_rewrite): Use it.
815 (lang_asm_rewrite): Likewise.
816 (lang_objc_rewrite): Likewise.
817 (lang_cxx_finish): Add `-o $@' to all C++ rules.
818 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
819 (lang_objc_finish): Add `-o $@' to all ObjC rules.
820 (lang_java_finish): Likewise.
822 * automake.in: Only register `asm' once.
823 (lang_asm_finish): Put assembly suffixes on @suffixes.
825 * libtool.am (.s.lo): Removed.
827 * automake.in (lang_asm_finish): Handle libtool.
829 * libtool.am (.c.o): Always pass -c to libtool.
831 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
832 (lang_yaccxx_rewrite): Likewise.
833 (lang_lex_rewrite): Likewise.
834 (lang_lexxx_rewrite): Likewise.
836 Assembly code no longer included by default:
837 * compile.am (.s.o): Removed.
839 * automake.in: Register `asm' language.
840 (lang_asm_finish): Generate suffix rules for assembly.
841 (get_object_extension): Don't add `.s' or `.S' to suffix list.
843 * automake.in (get_object_extension): Substitute @MINUSO@ when
844 including compile.am.
845 * compile.am (.c.o): Added @MINUSO@.
848 First cut at allowing objects in subdirectories:
849 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
850 * Makefile.am (dist_script_DATA): Added compile.
851 * m4/minuso.m4: New file.
852 * automake.in (initialize_global_constants): Added compile to
854 (seen_cc_c_o): New global.
855 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
856 (handle_options): Recognize `subdir-objects' option.
857 (lang_c_rewrite): Added directory argument.
858 (lang_yacc_rewrite): Likewise.
859 (lang_yaccxx_rewrite): Likewise.
860 (lang_lex_rewrite): Likewise.
861 (lang_lexxx_rewrite): Likewise.
862 (handle_single_transform_list): Pass directory to _rewrite
863 function. Generate dependencies for dirstamp files for each .o;
864 it is just the rules we want to create once.
865 (lang_c_rewrite): Handle `subdir-objects' option.
866 (lang_c_rewrite): Require `compile' program.
869 * automake.in (initialize_per_input): Initialize %directory_map.
870 (handle_single_transform_list): Only create .dirstamp rules once
873 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
876 * automake.in (configure_input_files): New global.
877 (scan_configure): Set it.
878 (handle_configure): Use configure_input_files when determining
879 which subdirs have a Makefile.am. Fixes confh.test.
880 (handle_configure): Only recognize acconfig.h in top srcdir.
882 1999-04-10 Tom Tromey <tromey@cygnus.com>
884 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
887 * automake.in (am_install_var): Remove redundancies from the
888 result. Fixes test cond8.test.
890 * automake.in (handle_single_transform_list): Handle dependency
891 tracking when files are created in subdirs. Error if object in
892 subdir has `..' component.
894 * automake.in (initialize_global_constants): Use $(TAR), not tar.
896 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
898 * automake.in (lang_yacc_finish): Added missing `&'.
900 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
902 * automake.in (handle_configure): Replace multiple occurrences of
903 @STAMP@ in the same line; completes the patch for remake-hdr.am
906 * automake.in (handle_dependencies): Fix test for `autodep'
909 * automake.in (handle_source_transform): Add a pfx to used_pfx
910 only if it's conditional or non-empty, to reduce the number of
911 empty variables. Emit _OBJECS variable based on program name if
912 no SOURCES were explicitly specified.
914 * remake-hdr.am: Create the stamp file before the header file,
915 and just rename it after, so that the timestamps will be correct.
916 Reported by Marc Horowitz <marc@mit.edu>
918 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
919 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
920 Reported by Jim Meyering <meyering@ascend.com>
922 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
924 1999-04-10 Tom Tromey <tromey@cygnus.com>
926 * Makefile.am (EXTRA_DIST): New macro.
927 * ChangeLog.1996, ChangeLog.1998: New files.
929 1999-04-09 Tom Tromey <tromey@cygnus.com>
931 * automake.in (handle_source_transform): Handle dist and nodist
933 (initialize_per_input): Initialize dist_sources.
934 (check_libobjs_sources): Handle dist and nodist prefixes.
935 (generate_makefile): Define DIST_SOURCES.
936 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
938 * automake.texi (Macros): Mention AM_PROG_GCJ.
939 (Java Support): New node.
940 (Dist): Documented dist_ and nodist_ prefixes.
942 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
944 * automake.in (lang_java_finish): Generate .lo rule for `.java'
945 files, not `.gcj' files.
947 * m4/gcj.m4: New file.
948 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
950 * automake.in: Register the `java' language.
951 (resolve_linker): Handle GCJLINK.
952 (lang_java_rewrite): New function.
953 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
954 (lang_c_rewrite): Use new constants.
955 (lang_cxx_rewrite): Likewise.
956 (lang_header_rewrite): Likewise.
957 (lang_yacc_rewrite): Likewise.
958 (lang_yaccxx_rewrite): Likewise.
959 (lang_lex_rewrite): Likewise.
960 (lang_lexxx_rewrite): Likewise.
961 (lang_asm_rewrite): Likewise.
962 (lang_f77_rewrite): Likewise.
963 (lang_ppf77_rewrite): Likewise.
964 (lang_ratfor_rewrite): Likewise.
965 (lang_objc_rewrite): Likewise.
966 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
967 return from rewrite function.
968 (lang_java_finish): New function.
969 (register_language): Changed interface and all calls. Added
970 `autodep' settings to various languages.
971 (handle_dependencies): Use `autodep' property of language when
972 including dependency-tracking code.
974 1999-04-07 Tom Tromey <tromey@cygnus.com>
976 * automake.in (handle_texinfo): Indentation fixes.
978 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
980 * automake.in (value_to_list): Skip *only* trailing backslashes.
982 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
984 * automake.in (value_to_list): Skip trailing backslashes.
986 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
988 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
990 Reported by Per Cederqvist <ceder@lysator.liu.se>
991 (handle_texinfo): Do not define texinfo_tex='.', use
992 '$(srcdir)/texinfo.tex' instead; the directory name will be
994 (require_conf_file_with_line): Fixed typo.
996 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
998 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
999 we do not depend on PATH starting with `.'.
1001 1999-03-31 Tom Tromey <tromey@cygnus.com>
1003 * automake.in (quote_cond_val): Quote \n.
1004 (unquote_cond_val): Unquote \n.
1005 (read_am_file): If line ends with `\', preserve it and add a
1007 (read_main_am_file): In conditional case, put conditional text at
1008 beginning of each generated line.
1010 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1012 * automake.in (handle_tests): support XFAIL_TEST
1013 * automake.texi: document it
1015 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1017 * End of merge from trunk.
1019 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1021 * automake.in (cmdline_use_dependencies): Reintroduce it.
1022 (--ignore-deps): Set cmdline_use_dependencies again.
1023 (handle_dependencies): If use_dependencies is not set, define
1025 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1026 (scan_configure): Do not require depcomp when ignoring
1028 (initialize_global_constants): Reintroduce --ignore-deps.
1030 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1032 * depcomp: New file.
1033 * Makefile.am (dist_script_DATA): Added depcomp.
1034 * automake.in (cmdline_use_dependencies, omit_dependencies,
1035 dependency_macros): Removed.
1036 (--ignore-deps): Just ignore.
1037 (handle_single_transform_list, dep_files): Named dependency files
1038 as \$(DEPDIR)/$base.P$obj
1039 (handle_lib_objects_cond): Likewise.
1040 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1041 (scan_one_configure_file): Likewise.
1042 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1043 Ignore OMIT_DEPENDENCIES.
1044 (handle_configure): Do not pass --ignore-deps.
1045 (scan_configure): Require `depcomp'.
1046 (initialize_global_constants): Make `depcomp' common. Remove
1047 `--ignore-deps' from usage.
1048 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1049 * compile.am: Remove rules for .c.o and .c.obj
1050 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1051 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1052 Use it and depcomp in suffix rules.
1053 * libtool.m4: Likewise.
1054 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1055 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1056 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1057 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1058 from the Makefile and subst it in deps. Report creation of deps
1059 files (for now). Replace $U with `_' and the empty string. Write
1060 a comment to each created file.
1061 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1062 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1063 dependency mode and AC_SUBST [$1]DEPMODE.
1064 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1065 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1066 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1068 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1070 * depout.m4: Fix sed expression for extracting `dirpart'.
1072 1999-03-29 Tom Tromey <tromey@cygnus.com>
1074 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1076 * compile.am (.c.obj): Also disabled when dependency tracking
1078 * depend2.am (@EXT@.obj): New target.
1079 * automake.in (get_object_extension): Added explanatory comment.
1080 (generate_dependency_code): Handle $seen_objext.
1082 * depend.am: Removed obsolete comment.
1083 * depend2.am: Minor formatting fix.
1085 1999-03-28 Tom Tromey <tromey@cygnus.com>
1087 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1089 (EXTRA_DIST): Removed.
1090 * automake.in (dependency_macros): New global.
1091 (scan_one_configure_file): Recognize new dependency tracking
1092 macros, and define new resulting configure variables.
1093 (generate_dependency_code): New sub.
1094 (handle_dependencies): Use it.
1095 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1097 (@EXT@.lo): Likewise.
1098 * m4/depvars.m4: New file.
1099 * m4/objcdepend.m4: New file.
1100 * m4/cxxdepend.m4: New file.
1101 * m4/init.m4: Moved dependency handling code into depout.m4.
1102 * m4/depout.m4: New file.
1103 * m4/ccdepend.m4: New file.
1104 * m4/depend.m4: New file.
1106 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1107 (@EXT@.lo): Likewise.
1108 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1111 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1112 will create the required .P files for dependency tracking.
1113 * automake.in (scan_dependency_file): Removed.
1114 (handle_dependencies): Never call scan_dependency_file.
1115 (generate_deps): Removed.
1116 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1117 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1118 (srcdir_name): Removed.
1119 (build_directory): Removed.
1120 (initialize_global_constants): Changed $USAGE to reflect argument
1122 (handle_dist_worker): Never run automake in `dist' rule.
1123 (handle_configure): Use --ignore-deps, not --include-deps.
1124 * depend.am (DEPS_MAGIC): Removed.
1125 (DEP_FILES): Unconditionally include.
1127 1999-03-27 Tom Tromey <tromey@cygnus.com>
1129 * automake.in (saw_sources_p): Correctly count header extensions
1131 (handle_headers): Fixed order of arguments to am_install_var.
1133 * automake.in (am_install_var): Don't error if EXTRA_foo is
1136 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1137 (uninstall-@DIR@SCRIPTS): Likewise.
1138 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1139 (uninstall-@DIR@PROGRAMS): Likewise.
1140 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1141 (uninstall-@DIR@LTLIBRARIES): Likewise.
1142 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1143 (uninstall-@DIR@LISP): Likewise.
1144 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1145 (uninstall-@DIR@LIBRARIES): Likewise.
1146 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1147 (uninstall-@DIR@JAVA): Likewise.
1148 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1149 (uninstall-@DIR@HEADERS): Likewise.
1150 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1151 (uninstall-@DIR@DATA): Likewise.
1152 * Makefile.in: Rebuilt.
1153 * Makefile.am (dist_pkgdata_DATA): Renamed.
1154 (EXTRA_DIST): Removed.
1155 (install-data-hook): Added POST_INSTALL; print commands as they
1156 are run; respect DESTDIR.
1157 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1158 * automake.in (am_install_var): Accept `-candist' and
1159 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1160 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1161 and `nodist_' prefixes.
1162 (handle_scripts): Pass -candist to am_install_var.
1163 (handle_data): Pass -defaultdist to am_install_var.
1164 (handle_headers): Likewise.
1165 (handle_emacs_lisp): Pass -candist to am_install_var.
1166 (handle_java): Pass -candist to am_install_var.
1168 1999-03-26 Tom Tromey <tromey@cygnus.com>
1170 * m4/init.m4: Fixed typo when invoking SHELL.
1172 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1173 yacc header file. From Ralf Corsepius.
1175 * Makefile.in: Rebuilt.
1176 * Makefile.am: Updated to reflect removal of TAR subst.
1177 * automake.texi (Options): Document dist-bzip2.
1178 * automake.in (TAR): Removed global.
1179 (initialize_global_constants): Changed `dist' to use pipe with
1180 gzip; work with non-GNU tar.
1181 (handle_dist): Handle non-GNU tar. Don't define TAR.
1182 (initialize_global_constants): Added `dist-bzip2' entry.
1183 (handle_options): Recognize dist-bzip2 option.
1184 (handle_dist): Likewise.
1185 * configure: Rebuilt.
1186 * configure.in: Don't check for tar.
1187 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1190 * automake.in (am_install_var): Removed obsolete comment.
1192 * texinfos.am (uninstall-info): Don't print loop but instead print
1193 commands. Simplified pre-uninstall loop.
1194 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1195 instead print commands.
1196 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1198 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1199 instead print commands.
1200 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1201 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1202 instead print commands.
1203 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1205 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1207 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1208 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1209 instead print commands.
1210 * data.am (install-@DIR@DATA): Strip subdir from file name.
1211 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1212 instead print commands.
1214 * automake.in (handle_merge_targets): `install-strip' is a phony
1215 target. From Michel de Ruiter.
1217 1999-03-25 Tom Tromey <tromey@cygnus.com>
1219 * automake.in (define_compiler_variable): Don't define variable
1222 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1224 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1225 * automake.texi: ditto
1227 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1229 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1230 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1232 1999-03-24 Tom Tromey <tromey@cygnus.com>
1234 * automake.in (define_compiler_variable): New sub.
1235 (finish_languages): Use it.
1236 (lang_cxx_finish): Likewise.
1237 (lang_f77_finish): Likewise.
1238 (lang_ppf77_finish): Likewise.
1239 (lang_ratfor_finish): Likewise.
1240 (lang_objc_finish): Likewise.
1242 1999-03-23 Tom Tromey <tromey@cygnus.com>
1244 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1245 sed invocations. From Elrond.
1246 (uninstall-@DIR@PROGRAMS): Likewise.
1248 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1249 From Ralf Corsepius.
1251 1999-02-01 Thomas Tanner <tanner@gmx.de>
1253 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1254 warning when AM_PROG_LIBTOOL was found
1255 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1257 1999-03-22 Tom Tromey <tromey@cygnus.com>
1259 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1260 * automake.in (define_standard_variables): New sub.
1261 (read_main_am_file): Use two passes to scan standard variables.
1262 (read_am_file): Don't special-case configure variables with `+='.
1263 (initialize_per_input): Initialize %var_was_plus_eq.
1264 (read_am_file): Set var_was_plus_eq element correctly.
1265 (define_variable): Give error if variable assigned with `+=' is
1267 (initialize_per_input): Initialize %am_var_defs.
1268 (file_contents_with_transform): Set element in %am_var_defs.
1269 (read_am_file): Use %am_var_defs.
1271 1999-03-21 Tom Tromey <tromey@cygnus.com>
1273 * automake.in (initialize_per_input): Initialize %object_map.
1274 (handle_single_transform_list): Allow source files in
1277 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1279 * automake.in (handle_dist): Add missing newline after the first
1282 1999-03-11 Tom Tromey <tromey@cygnus.com>
1284 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1285 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1288 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1290 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1291 legitimate ending. Fixes libobj9.test.
1293 From Ralf Corsepius. Fixes lex3.test.
1294 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1295 maintainer-clean list.
1296 (lang_lex_finish): Likewise.
1298 1999-03-02 Tom Tromey <tromey@cygnus.com>
1300 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1301 construct to work around FreeBSD make/sh problem. From Rich Wales.
1303 1999-03-01 Tom Tromey <tromey@cygnus.com>
1305 Fixes from Pavel Roskin:
1306 * automake.in (variable_conditions_sub): Sort list passed to
1307 variable_conditions_permutations.
1308 (variable_conditions): Sort list before returning.
1310 1999-02-27 Tom Tromey <tromey@cygnus.com>
1312 * automake.in (lang_extensions): New sub.
1313 (handle_dependencies): Use it.
1314 (cxx_extensions): Removed.
1315 (lang_cxx_finish): Use lang_extensions.
1316 (f77_extensions): Removed.
1317 (lang_f77_finish): Use lang_extensions.
1318 (objc_extensions): Removed.
1319 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1320 Report from Dave Morrison.
1321 (lang_ratfor_finish): Likewise.
1323 1999-02-26 Tom Tromey <tromey@cygnus.com>
1325 * automake.in (finish_languages): Added AM_LDFLAGS.
1326 (lang_cxx_finish): Likewise.
1327 (lang_f77_finish): Likewise.
1328 (lang_ppf77_finish): Likewise.
1329 (lang_ratfor_finish): Likewise.
1330 (lang_objc_finish): Likewise.
1332 1999-02-11 Tom Tromey <tromey@cygnus.com>
1334 * aclocal.in (obsolete_macros): Copied from automake.in.
1335 (obsolete_rx): Use only keys of obsolete_macros.
1336 (scan_configure): Report replacement macro for an obsolete macro.
1337 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1339 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1340 entry. Fixes obsolete2.test.
1342 * automake.in (obsolete_macros): Use empty string to indicate no
1344 (scan_one_configure_file): Likewise.
1346 1999-02-07 Paul Eggert <eggert@twinsun.com>
1348 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1349 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1350 needed by some programs.
1352 1999-02-10 Tom Tromey <tromey@cygnus.com>
1354 * automake.in (handle_texinfo): Added `pgs' to list of
1355 extensions. From NISHIDA Keisuke.
1357 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1359 * automake.in (handle_texinfo): remove texinfo.tex from
1362 1999-02-02 Tom Tromey <tromey@cygnus.com>
1364 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1365 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1366 * header-vars.am (INSTALL_PROGRAM): Removed
1367 AM_INSTALL_PROGRAM_FLAGS.
1368 (INSTALL_STRIP_FLAG): New macro.
1370 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1372 (lang_yacc_finish): Likewise.
1373 (lang_lex_finish): Likewise.
1375 1999-02-01 Tom Tromey <tromey@cygnus.com>
1377 * automake.in (handle_dist_worker): Correctly find find in $$d,
1378 not $$. From Bill Davidson.
1380 * automake.in (finish_languages): Use "&", not "do". From Pavel
1382 (handle_single_transform_list): Likewise.
1384 1999-01-29 Tom Tromey <tromey@cygnus.com>
1386 * automake.in (handle_configure): Removed unused variable. From
1389 * ansi2knr.c: New version from L. Peter Deutsch.
1391 1999-01-22 Tom Tromey <tromey@cygnus.com>
1393 * automake.in (require_file_internal): Correctly examine return
1394 value of `system'. From Andris Pavenis. Fixes copy.test.
1396 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1398 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1399 Kuepper. Fixes ppf77.test.
1400 (lang_ratfor_rewrite): New function
1402 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1403 fix). From Erez Zadok.
1405 1999-01-15 Tom Tromey <tromey@cygnus.com>
1407 * configure.in: Version 1.4a (oops).
1409 * configure.in: Updated version to 1.5a.
1411 1999-01-14 Tom Tromey <tromey@cygnus.com>
1413 * automake.in (handle_configure): Compute $header_dir based on
1414 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1416 (handle_configure): Compute relative path to input header
1417 correctly in all cases.
1419 * automake.in (handle_tests): Avoid error messages from dejagnu
1420 test rules. From Karl Heuer.
1422 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1424 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1426 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1427 From Alexandre Oliva and Erez Zadok.
1429 * automake.in (create): Renamed from touch.
1430 (handle_configure): Use create, not touch.
1432 * config.sub, config.guess: New versions from autoconf.
1434 * mkinstalldirs: New version from autoconf.
1436 1999-01-12 Tom Tromey <tromey@cygnus.com>
1438 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1441 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1443 * automake.in (PATH_PATTERN): New variable:
1444 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1445 symbols besides $(top_srcdir) and $(srcdir).
1447 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1449 * automake.in (handle_dist_worker): avoid failure in `make dist'
1450 if last file is a builddir-only file
1452 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1454 * missing (autoheader): `s' was missing from sed script; grr
1456 1999-01-11 Tom Tromey <tromey@cygnus.com>
1458 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1459 ($(srcdir)/@STAMP@.in): Likewise.
1461 1999-01-10 Tom Tromey <tromey@cygnus.com>
1463 * Makefile.am (scriptdir): New macro.
1464 (script_DATA): Likewise.
1465 (install-data-hook): Use them.
1466 (EXTRA_DIST): Added script_DATA.
1467 (installcheck-local): Use script_DATA.
1469 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1471 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1473 * missing (autoheader): accept multiple header files
1474 (automake): simplify sed processing
1476 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1478 * automake.in (handle_configure, stamp_dir): create only one stamp
1479 file per header, instead of one in the top-level directory and one
1480 in the directory that contains the header.
1482 1999-01-10 Tom Tromey <tromey@cygnus.com>
1484 * automake.in (lang_objc_finish): Formatting fix.
1486 * automake.in (objc_extensions): New sub.
1487 (handle_dependencies): Only generate dependency-tracking code for
1488 ObjC when ObjC source seen.