1 2000-02-13 Jim Meyering <meyering@lucent.com>
3 * automake.in (generate_makefile): Detect write/close failure.
5 2000-02-02 Assar Westerlund <assar@sics.se>
7 * automake.in (handle_single_transform_list): do not use $< which
8 is not handled by all non-GNU makes. Instead do explicit sh code
9 testing for the file in this directory and srcdir. Based on a
10 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12 2000-01-12 Tom Tromey <tromey@cygnus.com>
14 * m4/lispdir.m4: Added --with-lispdir argument processing.
17 2000-01-06 Tom Tromey <tromey@cygnus.com>
19 * automake.in (handle_configure): Don't check for
21 (scan_configure): Check for AC_PROG_MAKE_SET.
23 * header-vars.am (@SET_MAKE@): Added.
24 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
27 1999-12-19 Tom Tromey <tromey@cygnus.com>
29 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
31 (require_file_internal): Corrected arguments to second invocation
32 of maybe_push_required_file.
34 Fix for PR automake/9:
35 * automake.in (make_dirs, make_dirs_set): New globals.
36 (is_make_dir): New function.
37 (handle_configure): Use it.
38 (require_file_internal): Push file if there is no Makefile in its
40 (initialize_per_input): Initialize handle_dist_run.
41 (push_dist_common): Inspect handle_dist_run.
42 (handle_dist): Set handle_dist_run. Push items from
43 configure_dist_common onto dist_common if appropriate.
44 (configure_dist_common): New global.
45 (scan_configure): Set it.
46 (maybe_push_required_file): New function.
47 (require_file_internal): Use it.
49 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
50 more subdirs are defined. From Axel Belinfante. Fixes
53 1999-12-18 Tom Tromey <tromey@cygnus.com>
55 Partial fix for PR automake/40:
56 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
57 (uninstall-@DIR@LISP): Likewise.
58 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
59 (uninstall-@DIR@HEADERS): Likewise.
60 * data.am (install-@DIR@DATA): Handle nobase_ case.
61 (uninstall-@DIR@DATA): Likewise.
62 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
63 (am_install_var): Recognize and handle `nobase_' prefix.
65 1999-12-17 Tom Tromey <tromey@cygnus.com>
67 * automake.in (get_object_extension): Added space before `-I.'.
68 Report from Ralf Corsepius.
70 1999-12-15 Tom Tromey <tromey@cygnus.com>
72 * aclocal.in: Don't pass $acdir to scan_m4_files.
73 (parse_arguments): Push $acdir on end of dirlist.
74 (scan_file): Don't warn if duplicate macro seen.
76 1999-12-13 Tom Tromey <tromey@cygnus.com>
78 Fix for PR automake/30 and PR automake/23. Fixes test
80 * automake.in (initialize_per_input): Initialize
81 source_suffix_pattern.
82 (derive_suffix): New function.
83 (handle_single_transform_list): Call it.
85 * automake.in (add_depend2): Handle the no-dependency-tracking
86 case. Fixes test suffix2.test.
88 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
90 * automake.in (get_object_extension): Fixed quoting on
93 * depend2.am: Removed erroneous comment.
95 * automake.texi (Program variables): Document nostdinc.
97 * automake.in (get_object_extension): Respect nostdinc option.
98 (handle_options): Recognize nostdinc.
99 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
102 * automake.in (read_am_file): Allow conditional includes. Fixes
105 * depcomp: Handle case on SGI when libtool is `yes'.
106 * depend2.am (@EXT@.o): Set libtool.
107 (@EXT@.lo): Likewise.
108 (@EXT@.obj): Likewise.
110 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
113 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
115 * automake.in (add_depend2): substitute $rule in the rules
116 for individual files. Fixes test specflags5.test.
118 1999-12-12 Tom Tromey <tromey@cygnus.com>
120 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
121 to create directories. Fixes test subobj3.test.
123 1999-12-10 Tom Tromey <tromey@cygnus.com>
125 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
126 message when creating .deps files.
128 * automake.in (initialize_global_constants): If unreadable by
129 owner, make it readable by owner regardless of number of links.
130 Fixes more of install2.test.
132 * missing: Try to see if gnutar or gtar exist before invoking
135 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
136 install_sh value. Look for install-sh and install.sh in a
137 somewhat more sensible way. Fixes test install2.test. Partially
140 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
142 * m4/missing.m4: remove redundant backquote
144 1999-11-23 Tom Tromey <tromey@cygnus.com>
146 * automake.in (initialize_global_constants): Use `bzip2 -9', not
147 `bzip --best' Report from Jim Meyering.
149 1999-11-22 Tom Tromey <tromey@cygnus.com>
151 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
152 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
153 AM_MISSING_INSTALL_SH.
154 * automake.in (scan_one_configure_file): Reverted previous
157 * automake.in (scan_one_configure_file): Define `install_sh'
158 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
161 * automake.in (handle_single_transform_list): Generate explicit
162 rule for subdir objects. Fixes new addition to subobj.test.
164 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
165 defined by AC_SUBST. Fixes ltlibobjs.test.
167 Fix for sourcesub.test:
168 * automake.in (handle_single_transform_list): Added `var'
169 argument. If config sub found, give error.
170 (handle_source_transform): Updated for new
171 handle_source_transform.
173 * py-compile: New file.
174 * m4/Makefile.am (m4data_DATA): Added python.m4.
175 * m4/python.m4: New file.
176 * automake.texi (Uniform): Mention PYTHON.
178 * Makefile.am (amfiles): Added python.am, python-clean.am.
179 (dist_script_DATA): Added py-compile.
180 * python.am: New file.
181 * python-clean.am: New file.
182 * automake.in (seen_pythondir): New global.
183 (generate_makefile): Call handle_python.
184 (handle_python): New function.
185 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
187 (am_install_var): Special-case PYTHON like JAVA.
188 (scan_configure): Check for py-compile.
189 (initialize_global_constants): Added py-compile to @common_files.
191 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
193 1999-11-21 Tom Tromey <tromey@cygnus.com>
195 * automake.in (finish_languages): Only generate suffix rule when
196 not doing dependency tracking.
198 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
199 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
201 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
204 1999-11-19 Tom Tromey <tromey@cygnus.com>
206 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
207 Alexandre's change on branch.
209 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
211 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
213 * dejagnu.am: Set CDPATH before cd.
214 * Makefile.in: Rebuilt.
216 * automake.in (handle_single_transform_list): Change `\1' for `$1'
217 in `s///' replacement.
219 * automake.in (handle_dist): Set CDPATH before cd.
220 * dejagnu.am (check-DEJAGNU): Likewise.
221 * texinfos.am (install-info-am, dist-info): Likewise.
222 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
223 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
224 * aclocal.m4, configure, Makefile.in: Rebuilt.
226 * AUTHORS: Added myself.
228 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
230 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
231 Reported by Tim Wilkinson <tim@transvirtual.com>
232 * aclocal.m4, configure: Rebuilt.
234 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
236 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
237 LEX program is found, use `${am_missing_run}flex'.
239 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
241 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
244 * automake.in (handle_lib_objects_cond): Remove second dot from
245 dependency file names.
247 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
248 regardless of OBJEXT.
250 * automake.in (handle_dependencies): Add blank line after depend2.
251 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
252 blank line before `include's, not after them.
253 (scan_one_configure_file): Do not special-case `DEP_' any more.
255 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
257 * aclocal.m4, configure: Rebuilt.
259 * m4/depend.m4 (AMDEPBACKSLASH): Define.
260 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
262 * automake.in (handle_dependencies): Generate `include's for
263 dependency files after `@AMDEP@'.
265 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
266 --run support in the missing script, since SHELL is not exported.
267 Reported by job bogan <job@piquin.uchicago.edu>
268 * aclocal.m4, configure: Rebuilt.
270 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
272 * aclocal.m4, configure: Rebuilt with itself.
273 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
275 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
276 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
277 (AM_MISSING_HAS_RUN): New macro.
278 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
279 * automake.texi (Requirements): Likewise.
280 * version.texi, stamp-vti: Rebuilt.
282 1999-07-28 Tom Tromey <tromey@cygnus.com>
284 * depcomp: Handle the `hp' mode.
286 1999-07-06 Tom Tromey <tromey@cygnus.com>
288 * depcomp: Work around HP-UX 10.20 sed bug.
290 1999-07-05 Tom Tromey <tromey@cygnus.com>
292 * automake.in (handle_dependencies): Generate a separate include
293 for each dep file. Report from Alexandre Oliva.
294 * depend.am: Don't include DEP_FILES.
296 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
298 * depend.am: Add @AMDEP@ before `include', so that dependency
299 tracking can be disabled.
300 * depend2.am: Ditto, before all lines related with dependency
302 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
303 --enable/disable-dependency-tracking and sets AMDEP accordingly.
304 It is implicitly disabled if depcomp is missing.
305 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
306 generated by side-effect.
307 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
308 * automake.in (handle_dependencies): Add @AMDEP@ before the value
310 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
313 * depcomp: Support -xM for dependency generation, for Sun CC.
314 Reported by Alex Hornby <alex@anvil.co.uk>
315 * m4/depend.m4: Extract the list of supported dependency-tracking
316 mechanisms from the depcomp script and use it to test each one.
317 * THANKS: Added Alex Hornby.
319 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
320 to leave $(...COMPILE) in a line by itself.
322 * THANKS: Added Miles Bader.
324 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
326 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
327 Fix `dashmstdout' to ignore non-dependency-generating uses of the
329 * depcomp (makedepend): New dependency-generating method.
331 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
333 * missing: If given `--run' as first argument, try to run the
334 given program before falling back to the ``emulated'' behavior.
335 Add support for `tar'.
336 * automake.in: Use new `tar' support for `dist'.
337 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
338 program, prepend `missing --run' to the given program name.
339 * m4/init.m4: Remove AMTAR-related stuff.
342 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
343 CONFIG_FILES. Do not use temporary variable for list of
344 dependency files, it breaks Cygwin.
346 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
348 * depcomp (gcc): Imported comments removed from depend2.am, so
349 that we don't lose them.
351 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
352 when not using ansi2knr.
354 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
356 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
357 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
359 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
361 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
362 so as not to compile an empty source; some compilers fail on this.
363 Redirect stderr of depcc to /dev/null. Test for -M with -o,
364 because some compilers will output the rules to the output file.
365 * depcomp (dashmstdout): Add --silent before --mode=compile, so
366 that we don't get libtool output mixed up with make rules.
368 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
369 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
370 -o for libtool, otherwise it may try to deduce the object name
371 from the dependency-generation flag.
372 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
375 * libtool.am: Do not emit .c.lo here...
376 * depend2.am: ... emit .*.lo here, only when using libtool.
377 * automake.in (get_object_extension): No more @MINUSO@ here.
378 (handle_single_transform_list): Set $depfile from $object.
379 (handle_dependencies): Emit depend2.am for all used languages,
380 regardless of $use_dependencies; the setting of depcomp makes the
382 (lang_cxx_finish): Do not emit compilation rules.
383 (lang_objc_finish): Likewise.
384 (lang_java_finish): Likewise.
386 1999-04-21 Tom Tromey <tromey@cygnus.com>
388 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
389 interpolate DEPDIR in DEP_FILES expansion.
391 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
393 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
395 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
396 handle multi-line dependency lists.
398 1999-11-12 Tom Tromey <tromey@cygnus.com>
400 Fix for PR automake/14:
401 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
403 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
405 * m4/multi.m4: Added missing `]'. From Akim Demaille.
407 * Makefile.am (path-check): Make sure distdir is writeable before
409 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
410 (handle_dist_worker): Make sure distdir is writeable before
412 (initialize_global_constants [$dist_trailer]): Make sure distdir
413 is writeable before removing it.
414 * dist.am (distcheck): Make the new source tree read-only before
415 compiling. Idea from Karl Berry.
417 * automake.texi (Gnits): Allow COPYING.LIB again.
418 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
420 1999-11-11 Jim Meyering <meyering@ascend.com>
422 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
425 1999-11-09 Tom Tromey <tromey@cygnus.com>
427 * automake.in (handle_dist): Typo fix. From Jim Meyering.
429 1999-11-09 Jim Meyering <meyering@ascend.com>
431 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
432 markers, no matter what.
434 1999-11-08 Tom Tromey <tromey@cygnus.com>
436 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
439 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
440 From Jim Meyering. Also, don't mention file name in `cp'
441 destination. From Olly Betts.
443 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
445 * texinfos.am (uninstall-info): Use installed info file, not one
446 from srcdir or builddir.
448 1999-11-07 Tom Tromey <tromey@cygnus.com>
450 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
453 Fix for PR automake/18:
454 * automake.in (handle_dist): Add contents of dist.am to the output
456 * Makefile.am (amfiles): Added dist.am.
458 (distcheck): Added uninstall and distclean checks.
460 * automake.in (PATH_PATTERN): Added `-' as allowable character.
461 Fixes PR automake/20. From Matthew D. Langston.
463 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
464 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
466 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
468 * m4/lispdir.m4: -batch must come before -q.
469 * elisp-comp: Likewise.
470 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
471 * THANKS: Added Lars.
473 1999-08-15 Tom Tromey <tromey@cygnus.com>
475 * automake.in (get_object_extension): Fixed quoting bug. Fixes
478 1999-07-27 Tom Tromey <tromey@cygnus.com>
480 * config.guess, config.sub: New versions from autoconf.
482 1999-07-13 Tom Tromey <tromey@cygnus.com>
484 Work around losing `awk'. Report from Harlan Stenn.
485 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
486 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
488 * automake.in (handle_source_transform): Mark prefix as seen if
489 corresponding _SOURCES variable exists. Fixes empty2.test.
491 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
493 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
495 (AUTOMAKE): Set --amdir to current directory.
497 1999-06-20 Tom Tromey <tromey@cygnus.com>
499 * Makefile.am (TAGS_FILES): New macro.
500 (ETAGS_ARGS): Moved files into TAGS_FILES.
501 (TAGS_DEPENDENCIES): Likewise.
502 (ETAGS_ARGS): Removed.
503 (TAGS_DEPENDENCIES): Removed duplicate definition.
505 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
506 from Ganesan Rajagopal.
509 1999-06-18 Thomas Tanner <tanner@ffii.org>
511 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
514 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
516 * ylwrap: Handle filenames output by the DOS version of Bison.
518 1999-06-20 Tom Tromey <tromey@cygnus.com>
520 * ylwrap: Be less strict when recognizing DOS paths. From Mark
523 1999-06-19 Tom Tromey <tromey@cygnus.com>
525 * automake.in (handle_dist_worker): Remove redundant entries from
528 * automake.in (handle_lib_objects_cond): Better error message when
529 unrecognized option passed in LDADD.
531 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
533 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
534 appropriate --acdir and --amdir arguments.
536 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
538 * automake.in (dist_header): Avoid changing permissions of files
539 in the source tree, trying a complex `find/chmod' command before
540 falling back to plain chmod.
541 (handle_dist_worker): Do not create directories with mode 777, the
542 find above will take care of that.
543 * m4/init.m4: Set install_sh for find/chmod above.
545 * THANKS: Added Shuhei Amakawa.
547 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
549 * mans.am: Strip dirname from given filename.
551 1999-06-07 Jim Meyering <meyering@ascend.com>
553 * automake.in (handle_dist): Change emitted rules so that a failure
554 in `$(MAKE) distcheck-hook' propagates to the outer make.
556 1999-05-27 Tom Tromey <tromey@cygnus.com>
558 * automake.in (handle_single_transform_list): Replace AM_FLAG and
559 not FLAG in compilation rule.
560 (add_depend2): Likewise.
562 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
565 * m4/dmalloc.m4: Updated dmalloc site information.
567 1999-05-19 Tom Tromey <tromey@cygnus.com>
569 * automake.in (handle_single_transform_list): Push object name
570 without extension onto lang_specific_files. Fixes
573 * automake.in (handle_single_transform_list): Added missing
574 space. Fixes specflags.test.
576 1999-05-05 Tom Tromey <tromey@cygnus.com>
578 * automake.in: Disabled dependency tracking for Java.
580 1999-05-04 Tom Tromey <tromey@cygnus.com>
582 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
583 * automake.in (handle_libraries): Recognize _AR variable.
585 1999-04-30 Tom Tromey <tromey@cygnus.com>
587 * automake.in (finish_languages): Always use `-o $@' with
588 libtool. Define ltcompile and ltlink at outermost scope in
590 * libtool.am (.c.lo): Removed.
592 * automake.in (finish_languages): Put `.' before extension in
593 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
594 `-flag'. From Pavel Roskin.
596 1999-04-28 Tom Tromey <tromey@cygnus.com>
598 * automake.in (finish_languages): Fixed scoping of ltcompile and
599 ltlink. From Pavel Roskin.
601 1999-04-27 Tom Tromey <tromey@cygnus.com>
603 * automake.in (read_main_am_file): Don't start macro definition
604 with backslash-newline. Instead, append newline at the end if
607 * automake.in (read_am_file): Insert a backslash before a trailing
608 newline. Fixes pluseq8.test.
610 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
612 (check_canonical_spelling): Don't insert `AM' before macro name
613 (reverts Alexandre's 1999-04-27 patch).
614 * automake.texi: Reverted documentation change for `AM' patch.
616 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
617 Minor rewrite for clarity.
618 (check_canonical_spelling): Prefer `$1' over `\1'.
620 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
623 * automake.in (handle_single_transform_list): Don't print rule if
624 doing dependency tracking and the file's language supports it.
625 (initialize_per_input): Initialize lang_specific_files.
626 (add_depend2): New function.
627 (handle_dependencies): Use it.
629 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
630 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
631 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
633 (lang_ratfor_finish): Use lang_f77_finish.
635 * compile.am (NOTDEPEND.c.o): Removed.
636 (OBJEXT.c.obj): Likewise.
637 * automake.in: Added `flags' attribute to all relevant languages.
638 (handle_single_transform_list): Handle per-derived-object flags.
639 Changed interface and all callers.
640 (handle_built_sources): Don't call handle_single_transform_list.
641 Added `compile' and `compiler-name' attribute to all relevant
643 (finish_languages): Define compiler variables here.
644 (lang_cxx_finish): Don't call define_compiler_variable. Don't
645 define flag variable or .o rules. Don't add to @suffixes.
646 (lang_f77_finish): Likewise.
647 (lang_ppf77_finish): Likewise.
648 (lang_objc_finish): Likewise.
649 (lang_java_finish): Likewise.
650 (finish_languages): Define flag variable here.
651 Added `output-arg' attribute to all relevant languages.
652 (finish_languages): Define `.o' rules here.
653 (finish_languages): Put extension on @suffixes.
654 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
656 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
658 * automake.in (initialize_global_constants): Invoke gzip for
659 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
661 * automake.in (initialize_global_constants): Remove zip file
662 before re-creating it.
663 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
665 * texinfos.am (uninstall-info): Look for info file in srcdir, just
666 like in install-info-am.
667 Reported by Tudor Hulubei <tudor@cs.unh.edu>
669 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
670 Let's use the good ol' substitution, then.
671 Reported by Russ Allbery <rra@stanford.edu>
673 * automake.in (check_canonical_spelling): Insert AM before names
674 starting with non-letters.
676 * automake.texi: Document it.
678 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
680 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
681 doesn't work on perl4. Maybe \Q and \E do.
683 1999-04-24 Tom Tromey <tromey@cygnus.com>
685 * automake.in: Treat `.zip' and `.jar' files as Java.
687 * automake.in (generate_makefile): Define `subdir' after reading
689 (read_main_am_file): Give programming error if variable defined
692 1999-04-22 Tom Tromey <tromey@cygnus.com>
694 * automake.in (generate_makefile): Define `subdir' variable.
695 (handle_dist): Don't define `subdir'.
697 * automake.in (handle_texinfo): Change numbering scheme for
698 stamp-vti files, to avoid problems with DOS.
699 From Michel de Ruiter.
701 * automake.texi: Don't mention AM_FUNC_MKTIME.
702 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
703 * automake.in (scan_one_configure_file): Recognize
704 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
705 (obsolete_macros): Mention AM_FUNC_MKTIME.
706 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
707 * m4/mktime.m4: Removed.
709 1999-04-20 Tom Tromey <tromey@cygnus.com>
711 * automake.texi (Top level): Don't recommend substing SUBDIRS.
713 1999-04-20 Brian Ford <ford@vss.fsi.com>
715 * scripts.am: Change else if's to elif.
717 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
719 * automake.in (handle_lib_objects_cond): Only require the source
720 of a LIBOBJ if it's not in BUILT_SOURCES.
721 Reported by Erez Zadok.
723 1999-04-19 Tom Tromey <tromey@cygnus.com>
725 * automake.in: Treat `.class' files as Java source.
726 (lang_java_finish): Handle `.class' files.
728 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
730 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
732 * m4/lispdir.m4: Do not override lispdir if it's already defined.
733 Run some emacs-lisp to find out the site-lisp directory, but
734 relocate it into prefix.
736 1999-04-17 Paul Eggert <eggert@twinsun.com>
738 * m4/mktime.m4 (bigtime_test, main): Move alarm from
739 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
740 even outside of bigtime_test. Use a time limit of 60 seconds
741 for the whole test, not 10 seconds per iteration.
743 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
745 * automake.in: Create stamps for headers in appropriate
746 directories, even if the input file lives in a different place.
747 * remake-hdr.am: Likewise.
749 1999-04-16 Tom Tromey <tromey@cygnus.com>
752 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
753 Invoke `sed' only once per program.
754 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
755 Invoke `sed' only once per program.
757 1999-04-13 Tom Tromey <tromey@cygnus.com>
759 * automake.in (handle_subdirs): Make `install-recursive' phony.
760 From Michel de Ruiter.
762 * automake.in (handle_ltlibraries): Added missing `check'.
764 1999-04-12 Tom Tromey <tromey@cygnus.com>
766 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
769 1999-04-11 Tom Tromey <tromey@cygnus.com>
771 * automake.in (handle_dist): Use AMTAR.
772 (initialize_global_constants): Likewise.
773 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
775 * automake.in (lang_sub_obj): New function.
776 (lang_cxx_rewrite): Use it.
777 (lang_asm_rewrite): Likewise.
778 (lang_objc_rewrite): Likewise.
779 (lang_cxx_finish): Add `-o $@' to all C++ rules.
780 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
781 (lang_objc_finish): Add `-o $@' to all ObjC rules.
782 (lang_java_finish): Likewise.
784 * automake.in: Only register `asm' once.
785 (lang_asm_finish): Put assembly suffixes on @suffixes.
787 * libtool.am (.s.lo): Removed.
789 * automake.in (lang_asm_finish): Handle libtool.
791 * libtool.am (.c.o): Always pass -c to libtool.
793 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
794 (lang_yaccxx_rewrite): Likewise.
795 (lang_lex_rewrite): Likewise.
796 (lang_lexxx_rewrite): Likewise.
798 Assembly code no longer included by default:
799 * compile.am (.s.o): Removed.
801 * automake.in: Register `asm' language.
802 (lang_asm_finish): Generate suffix rules for assembly.
803 (get_object_extension): Don't add `.s' or `.S' to suffix list.
805 * automake.in (get_object_extension): Substitute @MINUSO@ when
806 including compile.am.
807 * compile.am (.c.o): Added @MINUSO@.
810 First cut at allowing objects in subdirectories:
811 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
812 * Makefile.am (dist_script_DATA): Added compile.
813 * m4/minuso.m4: New file.
814 * automake.in (initialize_global_constants): Added compile to
816 (seen_cc_c_o): New global.
817 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
818 (handle_options): Recognize `subdir-objects' option.
819 (lang_c_rewrite): Added directory argument.
820 (lang_yacc_rewrite): Likewise.
821 (lang_yaccxx_rewrite): Likewise.
822 (lang_lex_rewrite): Likewise.
823 (lang_lexxx_rewrite): Likewise.
824 (handle_single_transform_list): Pass directory to _rewrite
825 function. Generate dependencies for dirstamp files for each .o;
826 it is just the rules we want to create once.
827 (lang_c_rewrite): Handle `subdir-objects' option.
828 (lang_c_rewrite): Require `compile' program.
831 * automake.in (initialize_per_input): Initialize %directory_map.
832 (handle_single_transform_list): Only create .dirstamp rules once
835 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
838 * automake.in (configure_input_files): New global.
839 (scan_configure): Set it.
840 (handle_configure): Use configure_input_files when determining
841 which subdirs have a Makefile.am. Fixes confh.test.
842 (handle_configure): Only recognize acconfig.h in top srcdir.
844 1999-04-10 Tom Tromey <tromey@cygnus.com>
846 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
849 * automake.in (am_install_var): Remove redundancies from the
850 result. Fixes test cond8.test.
852 * automake.in (handle_single_transform_list): Handle dependency
853 tracking when files are created in subdirs. Error if object in
854 subdir has `..' component.
856 * automake.in (initialize_global_constants): Use $(TAR), not tar.
858 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
860 * automake.in (lang_yacc_finish): Added missing `&'.
862 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
864 * automake.in (handle_configure): Replace multiple occurrences of
865 @STAMP@ in the same line; completes the patch for remake-hdr.am
868 * automake.in (handle_dependencies): Fix test for `autodep'
871 * automake.in (handle_source_transform): Add a pfx to used_pfx
872 only if it's conditional or non-empty, to reduce the number of
873 empty variables. Emit _OBJECS variable based on program name if
874 no SOURCES were explicitly specified.
876 * remake-hdr.am: Create the stamp file before the header file,
877 and just rename it after, so that the timestamps will be correct.
878 Reported by Marc Horowitz <marc@mit.edu>
880 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
881 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
882 Reported by Jim Meyering <meyering@ascend.com>
884 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
886 1999-04-10 Tom Tromey <tromey@cygnus.com>
888 * Makefile.am (EXTRA_DIST): New macro.
889 * ChangeLog.1996, ChangeLog.1998: New files.
891 1999-04-09 Tom Tromey <tromey@cygnus.com>
893 * automake.in (handle_source_transform): Handle dist and nodist
895 (initialize_per_input): Initialize dist_sources.
896 (check_libobjs_sources): Handle dist and nodist prefixes.
897 (generate_makefile): Define DIST_SOURCES.
898 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
900 * automake.texi (Macros): Mention AM_PROG_GCJ.
901 (Java Support): New node.
902 (Dist): Documented dist_ and nodist_ prefixes.
904 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
906 * automake.in (lang_java_finish): Generate .lo rule for `.java'
907 files, not `.gcj' files.
909 * m4/gcj.m4: New file.
910 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
912 * automake.in: Register the `java' language.
913 (resolve_linker): Handle GCJLINK.
914 (lang_java_rewrite): New function.
915 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
916 (lang_c_rewrite): Use new constants.
917 (lang_cxx_rewrite): Likewise.
918 (lang_header_rewrite): Likewise.
919 (lang_yacc_rewrite): Likewise.
920 (lang_yaccxx_rewrite): Likewise.
921 (lang_lex_rewrite): Likewise.
922 (lang_lexxx_rewrite): Likewise.
923 (lang_asm_rewrite): Likewise.
924 (lang_f77_rewrite): Likewise.
925 (lang_ppf77_rewrite): Likewise.
926 (lang_ratfor_rewrite): Likewise.
927 (lang_objc_rewrite): Likewise.
928 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
929 return from rewrite function.
930 (lang_java_finish): New function.
931 (register_language): Changed interface and all calls. Added
932 `autodep' settings to various languages.
933 (handle_dependencies): Use `autodep' property of language when
934 including dependency-tracking code.
936 1999-04-07 Tom Tromey <tromey@cygnus.com>
938 * automake.in (handle_texinfo): Indentation fixes.
940 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
942 * automake.in (value_to_list): Skip *only* trailing backslashes.
944 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
946 * automake.in (value_to_list): Skip trailing backslashes.
948 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
950 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
952 Reported by Per Cederqvist <ceder@lysator.liu.se>
953 (handle_texinfo): Do not define texinfo_tex='.', use
954 '$(srcdir)/texinfo.tex' instead; the directory name will be
956 (require_conf_file_with_line): Fixed typo.
958 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
960 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
961 we do not depend on PATH starting with `.'.
963 1999-03-31 Tom Tromey <tromey@cygnus.com>
965 * automake.in (quote_cond_val): Quote \n.
966 (unquote_cond_val): Unquote \n.
967 (read_am_file): If line ends with `\', preserve it and add a
969 (read_main_am_file): In conditional case, put conditional text at
970 beginning of each generated line.
972 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
974 * automake.in (handle_tests): support XFAIL_TEST
975 * automake.texi: document it
977 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
979 * End of merge from trunk.
981 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
983 * automake.in (cmdline_use_dependencies): Reintroduce it.
984 (--ignore-deps): Set cmdline_use_dependencies again.
985 (handle_dependencies): If use_dependencies is not set, define
987 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
988 (scan_configure): Do not require depcomp when ignoring
990 (initialize_global_constants): Reintroduce --ignore-deps.
992 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
995 * Makefile.am (dist_script_DATA): Added depcomp.
996 * automake.in (cmdline_use_dependencies, omit_dependencies,
997 dependency_macros): Removed.
998 (--ignore-deps): Just ignore.
999 (handle_single_transform_list, dep_files): Named dependency files
1000 as \$(DEPDIR)/$base.P$obj
1001 (handle_lib_objects_cond): Likewise.
1002 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1003 (scan_one_configure_file): Likewise.
1004 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1005 Ignore OMIT_DEPENDENCIES.
1006 (handle_configure): Do not pass --ignore-deps.
1007 (scan_configure): Require `depcomp'.
1008 (initialize_global_constants): Make `depcomp' common. Remove
1009 `--ignore-deps' from usage.
1010 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1011 * compile.am: Remove rules for .c.o and .c.obj
1012 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1013 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1014 Use it and depcomp in suffix rules.
1015 * libtool.m4: Likewise.
1016 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1017 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1018 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1019 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1020 from the Makefile and subst it in deps. Report creation of deps
1021 files (for now). Replace $U with `_' and the empty string. Write
1022 a comment to each created file.
1023 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1024 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1025 dependency mode and AC_SUBST [$1]DEPMODE.
1026 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1027 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1028 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1030 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1032 * depout.m4: Fix sed expression for extracting `dirpart'.
1034 1999-03-29 Tom Tromey <tromey@cygnus.com>
1036 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1038 * compile.am (.c.obj): Also disabled when dependency tracking
1040 * depend2.am (@EXT@.obj): New target.
1041 * automake.in (get_object_extension): Added explanatory comment.
1042 (generate_dependency_code): Handle $seen_objext.
1044 * depend.am: Removed obsolete comment.
1045 * depend2.am: Minor formatting fix.
1047 1999-03-28 Tom Tromey <tromey@cygnus.com>
1049 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1051 (EXTRA_DIST): Removed.
1052 * automake.in (dependency_macros): New global.
1053 (scan_one_configure_file): Recognize new dependency tracking
1054 macros, and define new resulting configure variables.
1055 (generate_dependency_code): New sub.
1056 (handle_dependencies): Use it.
1057 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1059 (@EXT@.lo): Likewise.
1060 * m4/depvars.m4: New file.
1061 * m4/objcdepend.m4: New file.
1062 * m4/cxxdepend.m4: New file.
1063 * m4/init.m4: Moved dependency handling code into depout.m4.
1064 * m4/depout.m4: New file.
1065 * m4/ccdepend.m4: New file.
1066 * m4/depend.m4: New file.
1068 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1069 (@EXT@.lo): Likewise.
1070 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1073 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1074 will create the required .P files for dependency tracking.
1075 * automake.in (scan_dependency_file): Removed.
1076 (handle_dependencies): Never call scan_dependency_file.
1077 (generate_deps): Removed.
1078 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1079 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1080 (srcdir_name): Removed.
1081 (build_directory): Removed.
1082 (initialize_global_constants): Changed $USAGE to reflect argument
1084 (handle_dist_worker): Never run automake in `dist' rule.
1085 (handle_configure): Use --ignore-deps, not --include-deps.
1086 * depend.am (DEPS_MAGIC): Removed.
1087 (DEP_FILES): Unconditionally include.
1089 1999-03-27 Tom Tromey <tromey@cygnus.com>
1091 * automake.in (saw_sources_p): Correctly count header extensions
1093 (handle_headers): Fixed order of arguments to am_install_var.
1095 * automake.in (am_install_var): Don't error if EXTRA_foo is
1098 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1099 (uninstall-@DIR@SCRIPTS): Likewise.
1100 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1101 (uninstall-@DIR@PROGRAMS): Likewise.
1102 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1103 (uninstall-@DIR@LTLIBRARIES): Likewise.
1104 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1105 (uninstall-@DIR@LISP): Likewise.
1106 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1107 (uninstall-@DIR@LIBRARIES): Likewise.
1108 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1109 (uninstall-@DIR@JAVA): Likewise.
1110 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1111 (uninstall-@DIR@HEADERS): Likewise.
1112 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1113 (uninstall-@DIR@DATA): Likewise.
1114 * Makefile.in: Rebuilt.
1115 * Makefile.am (dist_pkgdata_DATA): Renamed.
1116 (EXTRA_DIST): Removed.
1117 (install-data-hook): Added POST_INSTALL; print commands as they
1118 are run; respect DESTDIR.
1119 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1120 * automake.in (am_install_var): Accept `-candist' and
1121 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1122 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1123 and `nodist_' prefixes.
1124 (handle_scripts): Pass -candist to am_install_var.
1125 (handle_data): Pass -defaultdist to am_install_var.
1126 (handle_headers): Likewise.
1127 (handle_emacs_lisp): Pass -candist to am_install_var.
1128 (handle_java): Pass -candist to am_install_var.
1130 1999-03-26 Tom Tromey <tromey@cygnus.com>
1132 * m4/init.m4: Fixed typo when invoking SHELL.
1134 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1135 yacc header file. From Ralf Corsepius.
1137 * Makefile.in: Rebuilt.
1138 * Makefile.am: Updated to reflect removal of TAR subst.
1139 * automake.texi (Options): Document dist-bzip2.
1140 * automake.in (TAR): Removed global.
1141 (initialize_global_constants): Changed `dist' to use pipe with
1142 gzip; work with non-GNU tar.
1143 (handle_dist): Handle non-GNU tar. Don't define TAR.
1144 (initialize_global_constants): Added `dist-bzip2' entry.
1145 (handle_options): Recognize dist-bzip2 option.
1146 (handle_dist): Likewise.
1147 * configure: Rebuilt.
1148 * configure.in: Don't check for tar.
1149 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1152 * automake.in (am_install_var): Removed obsolete comment.
1154 * texinfos.am (uninstall-info): Don't print loop but instead print
1155 commands. Simplified pre-uninstall loop.
1156 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1157 instead print commands.
1158 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1160 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1161 instead print commands.
1162 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1163 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1164 instead print commands.
1165 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1167 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1169 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1170 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1171 instead print commands.
1172 * data.am (install-@DIR@DATA): Strip subdir from file name.
1173 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1174 instead print commands.
1176 * automake.in (handle_merge_targets): `install-strip' is a phony
1177 target. From Michel de Ruiter.
1179 1999-03-25 Tom Tromey <tromey@cygnus.com>
1181 * automake.in (define_compiler_variable): Don't define variable
1184 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1186 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1187 * automake.texi: ditto
1189 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1191 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1192 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1194 1999-03-24 Tom Tromey <tromey@cygnus.com>
1196 * automake.in (define_compiler_variable): New sub.
1197 (finish_languages): Use it.
1198 (lang_cxx_finish): Likewise.
1199 (lang_f77_finish): Likewise.
1200 (lang_ppf77_finish): Likewise.
1201 (lang_ratfor_finish): Likewise.
1202 (lang_objc_finish): Likewise.
1204 1999-03-23 Tom Tromey <tromey@cygnus.com>
1206 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1207 sed invocations. From Elrond.
1208 (uninstall-@DIR@PROGRAMS): Likewise.
1210 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1211 From Ralf Corsepius.
1213 1999-02-01 Thomas Tanner <tanner@gmx.de>
1215 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1216 warning when AM_PROG_LIBTOOL was found
1217 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1219 1999-03-22 Tom Tromey <tromey@cygnus.com>
1221 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1222 * automake.in (define_standard_variables): New sub.
1223 (read_main_am_file): Use two passes to scan standard variables.
1224 (read_am_file): Don't special-case configure variables with `+='.
1225 (initialize_per_input): Initialize %var_was_plus_eq.
1226 (read_am_file): Set var_was_plus_eq element correctly.
1227 (define_variable): Give error if variable assigned with `+=' is
1229 (initialize_per_input): Initialize %am_var_defs.
1230 (file_contents_with_transform): Set element in %am_var_defs.
1231 (read_am_file): Use %am_var_defs.
1233 1999-03-21 Tom Tromey <tromey@cygnus.com>
1235 * automake.in (initialize_per_input): Initialize %object_map.
1236 (handle_single_transform_list): Allow source files in
1239 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1241 * automake.in (handle_dist): Add missing newline after the first
1244 1999-03-11 Tom Tromey <tromey@cygnus.com>
1246 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1247 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1250 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1252 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1253 legitimate ending. Fixes libobj9.test.
1255 From Ralf Corsepius. Fixes lex3.test.
1256 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1257 maintainer-clean list.
1258 (lang_lex_finish): Likewise.
1260 1999-03-02 Tom Tromey <tromey@cygnus.com>
1262 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1263 construct to work around FreeBSD make/sh problem. From Rich Wales.
1265 1999-03-01 Tom Tromey <tromey@cygnus.com>
1267 Fixes from Pavel Roskin:
1268 * automake.in (variable_conditions_sub): Sort list passed to
1269 variable_conditions_permutations.
1270 (variable_conditions): Sort list before returning.
1272 1999-02-27 Tom Tromey <tromey@cygnus.com>
1274 * automake.in (lang_extensions): New sub.
1275 (handle_dependencies): Use it.
1276 (cxx_extensions): Removed.
1277 (lang_cxx_finish): Use lang_extensions.
1278 (f77_extensions): Removed.
1279 (lang_f77_finish): Use lang_extensions.
1280 (objc_extensions): Removed.
1281 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1282 Report from Dave Morrison.
1283 (lang_ratfor_finish): Likewise.
1285 1999-02-26 Tom Tromey <tromey@cygnus.com>
1287 * automake.in (finish_languages): Added AM_LDFLAGS.
1288 (lang_cxx_finish): Likewise.
1289 (lang_f77_finish): Likewise.
1290 (lang_ppf77_finish): Likewise.
1291 (lang_ratfor_finish): Likewise.
1292 (lang_objc_finish): Likewise.
1294 1999-02-11 Tom Tromey <tromey@cygnus.com>
1296 * aclocal.in (obsolete_macros): Copied from automake.in.
1297 (obsolete_rx): Use only keys of obsolete_macros.
1298 (scan_configure): Report replacement macro for an obsolete macro.
1299 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1301 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1302 entry. Fixes obsolete2.test.
1304 * automake.in (obsolete_macros): Use empty string to indicate no
1306 (scan_one_configure_file): Likewise.
1308 1999-02-07 Paul Eggert <eggert@twinsun.com>
1310 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1311 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1312 needed by some programs.
1314 1999-02-10 Tom Tromey <tromey@cygnus.com>
1316 * automake.in (handle_texinfo): Added `pgs' to list of
1317 extensions. From NISHIDA Keisuke.
1319 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1321 * automake.in (handle_texinfo): remove texinfo.tex from
1324 1999-02-02 Tom Tromey <tromey@cygnus.com>
1326 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1327 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1328 * header-vars.am (INSTALL_PROGRAM): Removed
1329 AM_INSTALL_PROGRAM_FLAGS.
1330 (INSTALL_STRIP_FLAG): New macro.
1332 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1334 (lang_yacc_finish): Likewise.
1335 (lang_lex_finish): Likewise.
1337 1999-02-01 Tom Tromey <tromey@cygnus.com>
1339 * automake.in (handle_dist_worker): Correctly find find in $$d,
1340 not $$. From Bill Davidson.
1342 * automake.in (finish_languages): Use "&", not "do". From Pavel
1344 (handle_single_transform_list): Likewise.
1346 1999-01-29 Tom Tromey <tromey@cygnus.com>
1348 * automake.in (handle_configure): Removed unused variable. From
1351 * ansi2knr.c: New version from L. Peter Deutsch.
1353 1999-01-22 Tom Tromey <tromey@cygnus.com>
1355 * automake.in (require_file_internal): Correctly examine return
1356 value of `system'. From Andris Pavenis. Fixes copy.test.
1358 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1360 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1361 Kuepper. Fixes ppf77.test.
1362 (lang_ratfor_rewrite): New function
1364 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1365 fix). From Erez Zadok.
1367 1999-01-15 Tom Tromey <tromey@cygnus.com>
1369 * configure.in: Version 1.4a (oops).
1371 * configure.in: Updated version to 1.5a.
1373 1999-01-14 Tom Tromey <tromey@cygnus.com>
1375 * automake.in (handle_configure): Compute $header_dir based on
1376 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1378 (handle_configure): Compute relative path to input header
1379 correctly in all cases.
1381 * automake.in (handle_tests): Avoid error messages from dejagnu
1382 test rules. From Karl Heuer.
1384 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1386 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1388 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1389 From Alexandre Oliva and Erez Zadok.
1391 * automake.in (create): Renamed from touch.
1392 (handle_configure): Use create, not touch.
1394 * config.sub, config.guess: New versions from autoconf.
1396 * mkinstalldirs: New version from autoconf.
1398 1999-01-12 Tom Tromey <tromey@cygnus.com>
1400 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1403 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1405 * automake.in (PATH_PATTERN): New variable:
1406 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1407 symbols besides $(top_srcdir) and $(srcdir).
1409 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1411 * automake.in (handle_dist_worker): avoid failure in `make dist'
1412 if last file is a builddir-only file
1414 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1416 * missing (autoheader): `s' was missing from sed script; grr
1418 1999-01-11 Tom Tromey <tromey@cygnus.com>
1420 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1421 ($(srcdir)/@STAMP@.in): Likewise.
1423 1999-01-10 Tom Tromey <tromey@cygnus.com>
1425 * Makefile.am (scriptdir): New macro.
1426 (script_DATA): Likewise.
1427 (install-data-hook): Use them.
1428 (EXTRA_DIST): Added script_DATA.
1429 (installcheck-local): Use script_DATA.
1431 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1433 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1435 * missing (autoheader): accept multiple header files
1436 (automake): simplify sed processing
1438 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1440 * automake.in (handle_configure, stamp_dir): create only one stamp
1441 file per header, instead of one in the top-level directory and one
1442 in the directory that contains the header.
1444 1999-01-10 Tom Tromey <tromey@cygnus.com>
1446 * automake.in (lang_objc_finish): Formatting fix.
1448 * automake.in (objc_extensions): New sub.
1449 (handle_dependencies): Only generate dependency-tracking code for
1450 ObjC when ObjC source seen.