1 2000-04-05 Tom Tromey <tromey@cygnus.com>
3 * header-vars.am (DESTDIR): Commented out definition.
5 * automake.in (require_file_internal): Pass --copy to libtoolize
6 if automake was run with `--copy'.
8 2000-03-22 Tom Tromey <tromey@cygnus.com>
10 * automake.texi (Uniform): Fix definition of pkglibdir.
11 From thi <ttn@revel.glug.org>.
13 2000-03-19 Tom Tromey <tromey@cygnus.com>
15 * aclocal.in (parse_arguments): Copyright 2000.
16 (write_aclocal): Likewise.
17 * automake.in (parse_arguments): Copyright 2000.
18 (initialize_global_constants): Likewise.
20 * automake.in (generate_makefile): Call handle_dist after
21 handle_dependencies and handle_tests. Fixes subobj3.test and
22 pr19.test regressions.
24 2000-03-19 Gordon Matzigkeit <gord@fig.org>
26 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
27 as the current directory.
30 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
32 * automake.in (handle_data): Pass -candist instead of
33 -defaultdist, for the compatibility.
35 2000-03-19 Tom Tromey <tromey@cygnus.com>
37 Fix for test nodepcomp.test:
38 * automake.in (require_file_internal): Use readlink on symlinks.
39 Only unlink file if we are going to try to add it again.
40 (handle_dependencies): Require `depcomp' here.
41 (scan_configure): Don't require `depcomp'.
43 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
45 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
46 the rule to remake Makefile, whether $use_dependencies is true
47 or not. This was a historical one and doesn't make sense any
50 2000-03-19 Tom Tromey <tromey@cygnus.com>
52 More for PR automake/38:
53 * automake.texi (Invoking Automake): Document --force-missing.
54 * automake.in (force_missing): New global.
55 (parse_arguments): Recognize --force-missing.
56 (initialize_global_constants): Document --force-missing.
57 (require_file_internal): Handle --force-missing.
59 Fix for PR automake/38:
60 * automake.in (require_file_internal): Check for and handle
61 dangling symlinks. Fixes symlink2.test.
63 Fix for PR automake/45:
64 * automake.texi (configure): Mention requirement to run
66 (Requirements): Removed most text.
67 * automake.in (seen_init_automake): New global.
68 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
69 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
70 Set seen_init_automake if needed.
72 Fix for PR automake/41:
73 * automake.in (require_file_found): New global.
74 (require_file_internal): Set require_file_found entry.
75 (handle_texinfo): Require file any number of times.
77 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
80 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
82 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
84 * m4/missing.m4: Print the backtick in a way that won't cause
85 autoconf CVS to emit any warnings.
87 2000-03-01 Jim Meyering <meyering@lucent.com>
89 * automake.in (handle_dist_worker) [generating rules for distdir]:
90 Don't use `ln' (which was just a space optimization anyway) to
91 populate $(distdir). Otherwise, the dist rules that change
92 permissions would end up affecting the master sources.
93 * texinfos.am (dist-info): Likewise.
95 2000-02-13 Jim Meyering <meyering@lucent.com>
97 * automake.in (generate_makefile): Detect write/close failure.
99 2000-02-02 Assar Westerlund <assar@sics.se>
101 * automake.in (handle_single_transform_list): do not use $< which
102 is not handled by all non-GNU makes. Instead do explicit sh code
103 testing for the file in this directory and srcdir. Based on a
104 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
106 2000-01-12 Tom Tromey <tromey@cygnus.com>
108 * m4/lispdir.m4: Added --with-lispdir argument processing.
111 2000-01-06 Tom Tromey <tromey@cygnus.com>
113 * automake.in (handle_configure): Don't check for
115 (scan_configure): Check for AC_PROG_MAKE_SET.
117 * header-vars.am (@SET_MAKE@): Added.
118 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
121 1999-12-19 Tom Tromey <tromey@cygnus.com>
123 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
125 (require_file_internal): Corrected arguments to second invocation
126 of maybe_push_required_file.
128 Fix for PR automake/9:
129 * automake.in (make_dirs, make_dirs_set): New globals.
130 (is_make_dir): New function.
131 (handle_configure): Use it.
132 (require_file_internal): Push file if there is no Makefile in its
134 (initialize_per_input): Initialize handle_dist_run.
135 (push_dist_common): Inspect handle_dist_run.
136 (handle_dist): Set handle_dist_run. Push items from
137 configure_dist_common onto dist_common if appropriate.
138 (configure_dist_common): New global.
139 (scan_configure): Set it.
140 (maybe_push_required_file): New function.
141 (require_file_internal): Use it.
143 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
144 more subdirs are defined. From Axel Belinfante. Fixes
147 1999-12-18 Tom Tromey <tromey@cygnus.com>
149 Partial fix for PR automake/40:
150 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
151 (uninstall-@DIR@LISP): Likewise.
152 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
153 (uninstall-@DIR@HEADERS): Likewise.
154 * data.am (install-@DIR@DATA): Handle nobase_ case.
155 (uninstall-@DIR@DATA): Likewise.
156 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
157 (am_install_var): Recognize and handle `nobase_' prefix.
159 1999-12-17 Tom Tromey <tromey@cygnus.com>
161 * automake.in (get_object_extension): Added space before `-I.'.
162 Report from Ralf Corsepius.
164 1999-12-15 Tom Tromey <tromey@cygnus.com>
166 * aclocal.in: Don't pass $acdir to scan_m4_files.
167 (parse_arguments): Push $acdir on end of dirlist.
168 (scan_file): Don't warn if duplicate macro seen.
170 1999-12-13 Tom Tromey <tromey@cygnus.com>
172 Fix for PR automake/30 and PR automake/23. Fixes test
174 * automake.in (initialize_per_input): Initialize
175 source_suffix_pattern.
176 (derive_suffix): New function.
177 (handle_single_transform_list): Call it.
179 * automake.in (add_depend2): Handle the no-dependency-tracking
180 case. Fixes test suffix2.test.
182 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
184 * automake.in (get_object_extension): Fixed quoting on
187 * depend2.am: Removed erroneous comment.
189 * automake.texi (Program variables): Document nostdinc.
191 * automake.in (get_object_extension): Respect nostdinc option.
192 (handle_options): Recognize nostdinc.
193 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
196 * automake.in (read_am_file): Allow conditional includes. Fixes
199 * depcomp: Handle case on SGI when libtool is `yes'.
200 * depend2.am (@EXT@.o): Set libtool.
201 (@EXT@.lo): Likewise.
202 (@EXT@.obj): Likewise.
204 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
207 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
209 * automake.in (add_depend2): substitute $rule in the rules
210 for individual files. Fixes test specflags5.test.
212 1999-12-12 Tom Tromey <tromey@cygnus.com>
214 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
215 to create directories. Fixes test subobj3.test.
217 1999-12-10 Tom Tromey <tromey@cygnus.com>
219 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
220 message when creating .deps files.
222 * automake.in (initialize_global_constants): If unreadable by
223 owner, make it readable by owner regardless of number of links.
224 Fixes more of install2.test.
226 * missing: Try to see if gnutar or gtar exist before invoking
229 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
230 install_sh value. Look for install-sh and install.sh in a
231 somewhat more sensible way. Fixes test install2.test. Partially
234 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
236 * m4/missing.m4: remove redundant backquote
238 1999-11-23 Tom Tromey <tromey@cygnus.com>
240 * automake.in (initialize_global_constants): Use `bzip2 -9', not
241 `bzip --best' Report from Jim Meyering.
243 1999-11-22 Tom Tromey <tromey@cygnus.com>
245 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
246 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
247 AM_MISSING_INSTALL_SH.
248 * automake.in (scan_one_configure_file): Reverted previous
251 * automake.in (scan_one_configure_file): Define `install_sh'
252 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
255 * automake.in (handle_single_transform_list): Generate explicit
256 rule for subdir objects. Fixes new addition to subobj.test.
258 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
259 defined by AC_SUBST. Fixes ltlibobjs.test.
261 Fix for sourcesub.test:
262 * automake.in (handle_single_transform_list): Added `var'
263 argument. If config sub found, give error.
264 (handle_source_transform): Updated for new
265 handle_source_transform.
267 * py-compile: New file.
268 * m4/Makefile.am (m4data_DATA): Added python.m4.
269 * m4/python.m4: New file.
270 * automake.texi (Uniform): Mention PYTHON.
272 * Makefile.am (amfiles): Added python.am, python-clean.am.
273 (dist_script_DATA): Added py-compile.
274 * python.am: New file.
275 * python-clean.am: New file.
276 * automake.in (seen_pythondir): New global.
277 (generate_makefile): Call handle_python.
278 (handle_python): New function.
279 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
281 (am_install_var): Special-case PYTHON like JAVA.
282 (scan_configure): Check for py-compile.
283 (initialize_global_constants): Added py-compile to @common_files.
285 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
287 1999-11-21 Tom Tromey <tromey@cygnus.com>
289 * automake.in (finish_languages): Only generate suffix rule when
290 not doing dependency tracking.
292 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
293 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
295 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
298 1999-11-19 Tom Tromey <tromey@cygnus.com>
300 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
301 Alexandre's change on branch.
303 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
305 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
307 * dejagnu.am: Set CDPATH before cd.
308 * Makefile.in: Rebuilt.
310 * automake.in (handle_single_transform_list): Change `\1' for `$1'
311 in `s///' replacement.
313 * automake.in (handle_dist): Set CDPATH before cd.
314 * dejagnu.am (check-DEJAGNU): Likewise.
315 * texinfos.am (install-info-am, dist-info): Likewise.
316 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
317 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
318 * aclocal.m4, configure, Makefile.in: Rebuilt.
320 * AUTHORS: Added myself.
322 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
324 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
325 Reported by Tim Wilkinson <tim@transvirtual.com>
326 * aclocal.m4, configure: Rebuilt.
328 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
330 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
331 LEX program is found, use `${am_missing_run}flex'.
333 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
335 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
338 * automake.in (handle_lib_objects_cond): Remove second dot from
339 dependency file names.
341 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
342 regardless of OBJEXT.
344 * automake.in (handle_dependencies): Add blank line after depend2.
345 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
346 blank line before `include's, not after them.
347 (scan_one_configure_file): Do not special-case `DEP_' any more.
349 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
351 * aclocal.m4, configure: Rebuilt.
353 * m4/depend.m4 (AMDEPBACKSLASH): Define.
354 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
356 * automake.in (handle_dependencies): Generate `include's for
357 dependency files after `@AMDEP@'.
359 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
360 --run support in the missing script, since SHELL is not exported.
361 Reported by job bogan <job@piquin.uchicago.edu>
362 * aclocal.m4, configure: Rebuilt.
364 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
366 * aclocal.m4, configure: Rebuilt with itself.
367 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
369 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
370 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
371 (AM_MISSING_HAS_RUN): New macro.
372 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
373 * automake.texi (Requirements): Likewise.
374 * version.texi, stamp-vti: Rebuilt.
376 1999-07-28 Tom Tromey <tromey@cygnus.com>
378 * depcomp: Handle the `hp' mode.
380 1999-07-06 Tom Tromey <tromey@cygnus.com>
382 * depcomp: Work around HP-UX 10.20 sed bug.
384 1999-07-05 Tom Tromey <tromey@cygnus.com>
386 * automake.in (handle_dependencies): Generate a separate include
387 for each dep file. Report from Alexandre Oliva.
388 * depend.am: Don't include DEP_FILES.
390 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
392 * depend.am: Add @AMDEP@ before `include', so that dependency
393 tracking can be disabled.
394 * depend2.am: Ditto, before all lines related with dependency
396 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
397 --enable/disable-dependency-tracking and sets AMDEP accordingly.
398 It is implicitly disabled if depcomp is missing.
399 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
400 generated by side-effect.
401 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
402 * automake.in (handle_dependencies): Add @AMDEP@ before the value
404 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
407 * depcomp: Support -xM for dependency generation, for Sun CC.
408 Reported by Alex Hornby <alex@anvil.co.uk>
409 * m4/depend.m4: Extract the list of supported dependency-tracking
410 mechanisms from the depcomp script and use it to test each one.
411 * THANKS: Added Alex Hornby.
413 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
414 to leave $(...COMPILE) in a line by itself.
416 * THANKS: Added Miles Bader.
418 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
420 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
421 Fix `dashmstdout' to ignore non-dependency-generating uses of the
423 * depcomp (makedepend): New dependency-generating method.
425 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
427 * missing: If given `--run' as first argument, try to run the
428 given program before falling back to the ``emulated'' behavior.
429 Add support for `tar'.
430 * automake.in: Use new `tar' support for `dist'.
431 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
432 program, prepend `missing --run' to the given program name.
433 * m4/init.m4: Remove AMTAR-related stuff.
436 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
437 CONFIG_FILES. Do not use temporary variable for list of
438 dependency files, it breaks Cygwin.
440 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
442 * depcomp (gcc): Imported comments removed from depend2.am, so
443 that we don't lose them.
445 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
446 when not using ansi2knr.
448 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
450 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
451 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
453 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
455 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
456 so as not to compile an empty source; some compilers fail on this.
457 Redirect stderr of depcc to /dev/null. Test for -M with -o,
458 because some compilers will output the rules to the output file.
459 * depcomp (dashmstdout): Add --silent before --mode=compile, so
460 that we don't get libtool output mixed up with make rules.
462 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
463 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
464 -o for libtool, otherwise it may try to deduce the object name
465 from the dependency-generation flag.
466 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
469 * libtool.am: Do not emit .c.lo here...
470 * depend2.am: ... emit .*.lo here, only when using libtool.
471 * automake.in (get_object_extension): No more @MINUSO@ here.
472 (handle_single_transform_list): Set $depfile from $object.
473 (handle_dependencies): Emit depend2.am for all used languages,
474 regardless of $use_dependencies; the setting of depcomp makes the
476 (lang_cxx_finish): Do not emit compilation rules.
477 (lang_objc_finish): Likewise.
478 (lang_java_finish): Likewise.
480 1999-04-21 Tom Tromey <tromey@cygnus.com>
482 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
483 interpolate DEPDIR in DEP_FILES expansion.
485 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
487 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
489 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
490 handle multi-line dependency lists.
492 1999-11-12 Tom Tromey <tromey@cygnus.com>
494 Fix for PR automake/14:
495 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
497 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
499 * m4/multi.m4: Added missing `]'. From Akim Demaille.
501 * Makefile.am (path-check): Make sure distdir is writeable before
503 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
504 (handle_dist_worker): Make sure distdir is writeable before
506 (initialize_global_constants [$dist_trailer]): Make sure distdir
507 is writeable before removing it.
508 * dist.am (distcheck): Make the new source tree read-only before
509 compiling. Idea from Karl Berry.
511 * automake.texi (Gnits): Allow COPYING.LIB again.
512 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
514 1999-11-11 Jim Meyering <meyering@ascend.com>
516 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
519 1999-11-09 Tom Tromey <tromey@cygnus.com>
521 * automake.in (handle_dist): Typo fix. From Jim Meyering.
523 1999-11-09 Jim Meyering <meyering@ascend.com>
525 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
526 markers, no matter what.
528 1999-11-08 Tom Tromey <tromey@cygnus.com>
530 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
533 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
534 From Jim Meyering. Also, don't mention file name in `cp'
535 destination. From Olly Betts.
537 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
539 * texinfos.am (uninstall-info): Use installed info file, not one
540 from srcdir or builddir.
542 1999-11-07 Tom Tromey <tromey@cygnus.com>
544 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
547 Fix for PR automake/18:
548 * automake.in (handle_dist): Add contents of dist.am to the output
550 * Makefile.am (amfiles): Added dist.am.
552 (distcheck): Added uninstall and distclean checks.
554 * automake.in (PATH_PATTERN): Added `-' as allowable character.
555 Fixes PR automake/20. From Matthew D. Langston.
557 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
558 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
560 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
562 * m4/lispdir.m4: -batch must come before -q.
563 * elisp-comp: Likewise.
564 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
565 * THANKS: Added Lars.
567 1999-08-15 Tom Tromey <tromey@cygnus.com>
569 * automake.in (get_object_extension): Fixed quoting bug. Fixes
572 1999-07-27 Tom Tromey <tromey@cygnus.com>
574 * config.guess, config.sub: New versions from autoconf.
576 1999-07-13 Tom Tromey <tromey@cygnus.com>
578 Work around losing `awk'. Report from Harlan Stenn.
579 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
580 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
582 * automake.in (handle_source_transform): Mark prefix as seen if
583 corresponding _SOURCES variable exists. Fixes empty2.test.
585 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
587 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
589 (AUTOMAKE): Set --amdir to current directory.
591 1999-06-20 Tom Tromey <tromey@cygnus.com>
593 * Makefile.am (TAGS_FILES): New macro.
594 (ETAGS_ARGS): Moved files into TAGS_FILES.
595 (TAGS_DEPENDENCIES): Likewise.
596 (ETAGS_ARGS): Removed.
597 (TAGS_DEPENDENCIES): Removed duplicate definition.
599 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
600 from Ganesan Rajagopal.
603 1999-06-18 Thomas Tanner <tanner@ffii.org>
605 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
608 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
610 * ylwrap: Handle filenames output by the DOS version of Bison.
612 1999-06-20 Tom Tromey <tromey@cygnus.com>
614 * ylwrap: Be less strict when recognizing DOS paths. From Mark
617 1999-06-19 Tom Tromey <tromey@cygnus.com>
619 * automake.in (handle_dist_worker): Remove redundant entries from
622 * automake.in (handle_lib_objects_cond): Better error message when
623 unrecognized option passed in LDADD.
625 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
627 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
628 appropriate --acdir and --amdir arguments.
630 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
632 * automake.in (dist_header): Avoid changing permissions of files
633 in the source tree, trying a complex `find/chmod' command before
634 falling back to plain chmod.
635 (handle_dist_worker): Do not create directories with mode 777, the
636 find above will take care of that.
637 * m4/init.m4: Set install_sh for find/chmod above.
639 * THANKS: Added Shuhei Amakawa.
641 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
643 * mans.am: Strip dirname from given filename.
645 1999-06-07 Jim Meyering <meyering@ascend.com>
647 * automake.in (handle_dist): Change emitted rules so that a failure
648 in `$(MAKE) distcheck-hook' propagates to the outer make.
650 1999-05-27 Tom Tromey <tromey@cygnus.com>
652 * automake.in (handle_single_transform_list): Replace AM_FLAG and
653 not FLAG in compilation rule.
654 (add_depend2): Likewise.
656 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
659 * m4/dmalloc.m4: Updated dmalloc site information.
661 1999-05-19 Tom Tromey <tromey@cygnus.com>
663 * automake.in (handle_single_transform_list): Push object name
664 without extension onto lang_specific_files. Fixes
667 * automake.in (handle_single_transform_list): Added missing
668 space. Fixes specflags.test.
670 1999-05-05 Tom Tromey <tromey@cygnus.com>
672 * automake.in: Disabled dependency tracking for Java.
674 1999-05-04 Tom Tromey <tromey@cygnus.com>
676 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
677 * automake.in (handle_libraries): Recognize _AR variable.
679 1999-04-30 Tom Tromey <tromey@cygnus.com>
681 * automake.in (finish_languages): Always use `-o $@' with
682 libtool. Define ltcompile and ltlink at outermost scope in
684 * libtool.am (.c.lo): Removed.
686 * automake.in (finish_languages): Put `.' before extension in
687 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
688 `-flag'. From Pavel Roskin.
690 1999-04-28 Tom Tromey <tromey@cygnus.com>
692 * automake.in (finish_languages): Fixed scoping of ltcompile and
693 ltlink. From Pavel Roskin.
695 1999-04-27 Tom Tromey <tromey@cygnus.com>
697 * automake.in (read_main_am_file): Don't start macro definition
698 with backslash-newline. Instead, append newline at the end if
701 * automake.in (read_am_file): Insert a backslash before a trailing
702 newline. Fixes pluseq8.test.
704 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
706 (check_canonical_spelling): Don't insert `AM' before macro name
707 (reverts Alexandre's 1999-04-27 patch).
708 * automake.texi: Reverted documentation change for `AM' patch.
710 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
711 Minor rewrite for clarity.
712 (check_canonical_spelling): Prefer `$1' over `\1'.
714 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
717 * automake.in (handle_single_transform_list): Don't print rule if
718 doing dependency tracking and the file's language supports it.
719 (initialize_per_input): Initialize lang_specific_files.
720 (add_depend2): New function.
721 (handle_dependencies): Use it.
723 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
724 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
725 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
727 (lang_ratfor_finish): Use lang_f77_finish.
729 * compile.am (NOTDEPEND.c.o): Removed.
730 (OBJEXT.c.obj): Likewise.
731 * automake.in: Added `flags' attribute to all relevant languages.
732 (handle_single_transform_list): Handle per-derived-object flags.
733 Changed interface and all callers.
734 (handle_built_sources): Don't call handle_single_transform_list.
735 Added `compile' and `compiler-name' attribute to all relevant
737 (finish_languages): Define compiler variables here.
738 (lang_cxx_finish): Don't call define_compiler_variable. Don't
739 define flag variable or .o rules. Don't add to @suffixes.
740 (lang_f77_finish): Likewise.
741 (lang_ppf77_finish): Likewise.
742 (lang_objc_finish): Likewise.
743 (lang_java_finish): Likewise.
744 (finish_languages): Define flag variable here.
745 Added `output-arg' attribute to all relevant languages.
746 (finish_languages): Define `.o' rules here.
747 (finish_languages): Put extension on @suffixes.
748 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
750 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
752 * automake.in (initialize_global_constants): Invoke gzip for
753 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
755 * automake.in (initialize_global_constants): Remove zip file
756 before re-creating it.
757 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
759 * texinfos.am (uninstall-info): Look for info file in srcdir, just
760 like in install-info-am.
761 Reported by Tudor Hulubei <tudor@cs.unh.edu>
763 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
764 Let's use the good ol' substitution, then.
765 Reported by Russ Allbery <rra@stanford.edu>
767 * automake.in (check_canonical_spelling): Insert AM before names
768 starting with non-letters.
770 * automake.texi: Document it.
772 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
774 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
775 doesn't work on perl4. Maybe \Q and \E do.
777 1999-04-24 Tom Tromey <tromey@cygnus.com>
779 * automake.in: Treat `.zip' and `.jar' files as Java.
781 * automake.in (generate_makefile): Define `subdir' after reading
783 (read_main_am_file): Give programming error if variable defined
786 1999-04-22 Tom Tromey <tromey@cygnus.com>
788 * automake.in (generate_makefile): Define `subdir' variable.
789 (handle_dist): Don't define `subdir'.
791 * automake.in (handle_texinfo): Change numbering scheme for
792 stamp-vti files, to avoid problems with DOS.
793 From Michel de Ruiter.
795 * automake.texi: Don't mention AM_FUNC_MKTIME.
796 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
797 * automake.in (scan_one_configure_file): Recognize
798 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
799 (obsolete_macros): Mention AM_FUNC_MKTIME.
800 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
801 * m4/mktime.m4: Removed.
803 1999-04-20 Tom Tromey <tromey@cygnus.com>
805 * automake.texi (Top level): Don't recommend substing SUBDIRS.
807 1999-04-20 Brian Ford <ford@vss.fsi.com>
809 * scripts.am: Change else if's to elif.
811 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
813 * automake.in (handle_lib_objects_cond): Only require the source
814 of a LIBOBJ if it's not in BUILT_SOURCES.
815 Reported by Erez Zadok.
817 1999-04-19 Tom Tromey <tromey@cygnus.com>
819 * automake.in: Treat `.class' files as Java source.
820 (lang_java_finish): Handle `.class' files.
822 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
824 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
826 * m4/lispdir.m4: Do not override lispdir if it's already defined.
827 Run some emacs-lisp to find out the site-lisp directory, but
828 relocate it into prefix.
830 1999-04-17 Paul Eggert <eggert@twinsun.com>
832 * m4/mktime.m4 (bigtime_test, main): Move alarm from
833 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
834 even outside of bigtime_test. Use a time limit of 60 seconds
835 for the whole test, not 10 seconds per iteration.
837 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
839 * automake.in: Create stamps for headers in appropriate
840 directories, even if the input file lives in a different place.
841 * remake-hdr.am: Likewise.
843 1999-04-16 Tom Tromey <tromey@cygnus.com>
846 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
847 Invoke `sed' only once per program.
848 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
849 Invoke `sed' only once per program.
851 1999-04-13 Tom Tromey <tromey@cygnus.com>
853 * automake.in (handle_subdirs): Make `install-recursive' phony.
854 From Michel de Ruiter.
856 * automake.in (handle_ltlibraries): Added missing `check'.
858 1999-04-12 Tom Tromey <tromey@cygnus.com>
860 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
863 1999-04-11 Tom Tromey <tromey@cygnus.com>
865 * automake.in (handle_dist): Use AMTAR.
866 (initialize_global_constants): Likewise.
867 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
869 * automake.in (lang_sub_obj): New function.
870 (lang_cxx_rewrite): Use it.
871 (lang_asm_rewrite): Likewise.
872 (lang_objc_rewrite): Likewise.
873 (lang_cxx_finish): Add `-o $@' to all C++ rules.
874 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
875 (lang_objc_finish): Add `-o $@' to all ObjC rules.
876 (lang_java_finish): Likewise.
878 * automake.in: Only register `asm' once.
879 (lang_asm_finish): Put assembly suffixes on @suffixes.
881 * libtool.am (.s.lo): Removed.
883 * automake.in (lang_asm_finish): Handle libtool.
885 * libtool.am (.c.o): Always pass -c to libtool.
887 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
888 (lang_yaccxx_rewrite): Likewise.
889 (lang_lex_rewrite): Likewise.
890 (lang_lexxx_rewrite): Likewise.
892 Assembly code no longer included by default:
893 * compile.am (.s.o): Removed.
895 * automake.in: Register `asm' language.
896 (lang_asm_finish): Generate suffix rules for assembly.
897 (get_object_extension): Don't add `.s' or `.S' to suffix list.
899 * automake.in (get_object_extension): Substitute @MINUSO@ when
900 including compile.am.
901 * compile.am (.c.o): Added @MINUSO@.
904 First cut at allowing objects in subdirectories:
905 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
906 * Makefile.am (dist_script_DATA): Added compile.
907 * m4/minuso.m4: New file.
908 * automake.in (initialize_global_constants): Added compile to
910 (seen_cc_c_o): New global.
911 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
912 (handle_options): Recognize `subdir-objects' option.
913 (lang_c_rewrite): Added directory argument.
914 (lang_yacc_rewrite): Likewise.
915 (lang_yaccxx_rewrite): Likewise.
916 (lang_lex_rewrite): Likewise.
917 (lang_lexxx_rewrite): Likewise.
918 (handle_single_transform_list): Pass directory to _rewrite
919 function. Generate dependencies for dirstamp files for each .o;
920 it is just the rules we want to create once.
921 (lang_c_rewrite): Handle `subdir-objects' option.
922 (lang_c_rewrite): Require `compile' program.
925 * automake.in (initialize_per_input): Initialize %directory_map.
926 (handle_single_transform_list): Only create .dirstamp rules once
929 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
932 * automake.in (configure_input_files): New global.
933 (scan_configure): Set it.
934 (handle_configure): Use configure_input_files when determining
935 which subdirs have a Makefile.am. Fixes confh.test.
936 (handle_configure): Only recognize acconfig.h in top srcdir.
938 1999-04-10 Tom Tromey <tromey@cygnus.com>
940 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
943 * automake.in (am_install_var): Remove redundancies from the
944 result. Fixes test cond8.test.
946 * automake.in (handle_single_transform_list): Handle dependency
947 tracking when files are created in subdirs. Error if object in
948 subdir has `..' component.
950 * automake.in (initialize_global_constants): Use $(TAR), not tar.
952 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
954 * automake.in (lang_yacc_finish): Added missing `&'.
956 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
958 * automake.in (handle_configure): Replace multiple occurrences of
959 @STAMP@ in the same line; completes the patch for remake-hdr.am
962 * automake.in (handle_dependencies): Fix test for `autodep'
965 * automake.in (handle_source_transform): Add a pfx to used_pfx
966 only if it's conditional or non-empty, to reduce the number of
967 empty variables. Emit _OBJECS variable based on program name if
968 no SOURCES were explicitly specified.
970 * remake-hdr.am: Create the stamp file before the header file,
971 and just rename it after, so that the timestamps will be correct.
972 Reported by Marc Horowitz <marc@mit.edu>
974 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
975 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
976 Reported by Jim Meyering <meyering@ascend.com>
978 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
980 1999-04-10 Tom Tromey <tromey@cygnus.com>
982 * Makefile.am (EXTRA_DIST): New macro.
983 * ChangeLog.1996, ChangeLog.1998: New files.
985 1999-04-09 Tom Tromey <tromey@cygnus.com>
987 * automake.in (handle_source_transform): Handle dist and nodist
989 (initialize_per_input): Initialize dist_sources.
990 (check_libobjs_sources): Handle dist and nodist prefixes.
991 (generate_makefile): Define DIST_SOURCES.
992 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
994 * automake.texi (Macros): Mention AM_PROG_GCJ.
995 (Java Support): New node.
996 (Dist): Documented dist_ and nodist_ prefixes.
998 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1000 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1001 files, not `.gcj' files.
1003 * m4/gcj.m4: New file.
1004 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1006 * automake.in: Register the `java' language.
1007 (resolve_linker): Handle GCJLINK.
1008 (lang_java_rewrite): New function.
1009 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1010 (lang_c_rewrite): Use new constants.
1011 (lang_cxx_rewrite): Likewise.
1012 (lang_header_rewrite): Likewise.
1013 (lang_yacc_rewrite): Likewise.
1014 (lang_yaccxx_rewrite): Likewise.
1015 (lang_lex_rewrite): Likewise.
1016 (lang_lexxx_rewrite): Likewise.
1017 (lang_asm_rewrite): Likewise.
1018 (lang_f77_rewrite): Likewise.
1019 (lang_ppf77_rewrite): Likewise.
1020 (lang_ratfor_rewrite): Likewise.
1021 (lang_objc_rewrite): Likewise.
1022 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1023 return from rewrite function.
1024 (lang_java_finish): New function.
1025 (register_language): Changed interface and all calls. Added
1026 `autodep' settings to various languages.
1027 (handle_dependencies): Use `autodep' property of language when
1028 including dependency-tracking code.
1030 1999-04-07 Tom Tromey <tromey@cygnus.com>
1032 * automake.in (handle_texinfo): Indentation fixes.
1034 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1036 * automake.in (value_to_list): Skip *only* trailing backslashes.
1038 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1040 * automake.in (value_to_list): Skip trailing backslashes.
1042 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1044 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1046 Reported by Per Cederqvist <ceder@lysator.liu.se>
1047 (handle_texinfo): Do not define texinfo_tex='.', use
1048 '$(srcdir)/texinfo.tex' instead; the directory name will be
1050 (require_conf_file_with_line): Fixed typo.
1052 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1054 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1055 we do not depend on PATH starting with `.'.
1057 1999-03-31 Tom Tromey <tromey@cygnus.com>
1059 * automake.in (quote_cond_val): Quote \n.
1060 (unquote_cond_val): Unquote \n.
1061 (read_am_file): If line ends with `\', preserve it and add a
1063 (read_main_am_file): In conditional case, put conditional text at
1064 beginning of each generated line.
1066 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1068 * automake.in (handle_tests): support XFAIL_TEST
1069 * automake.texi: document it
1071 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1073 * End of merge from trunk.
1075 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1077 * automake.in (cmdline_use_dependencies): Reintroduce it.
1078 (--ignore-deps): Set cmdline_use_dependencies again.
1079 (handle_dependencies): If use_dependencies is not set, define
1081 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1082 (scan_configure): Do not require depcomp when ignoring
1084 (initialize_global_constants): Reintroduce --ignore-deps.
1086 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1088 * depcomp: New file.
1089 * Makefile.am (dist_script_DATA): Added depcomp.
1090 * automake.in (cmdline_use_dependencies, omit_dependencies,
1091 dependency_macros): Removed.
1092 (--ignore-deps): Just ignore.
1093 (handle_single_transform_list, dep_files): Named dependency files
1094 as \$(DEPDIR)/$base.P$obj
1095 (handle_lib_objects_cond): Likewise.
1096 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1097 (scan_one_configure_file): Likewise.
1098 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1099 Ignore OMIT_DEPENDENCIES.
1100 (handle_configure): Do not pass --ignore-deps.
1101 (scan_configure): Require `depcomp'.
1102 (initialize_global_constants): Make `depcomp' common. Remove
1103 `--ignore-deps' from usage.
1104 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1105 * compile.am: Remove rules for .c.o and .c.obj
1106 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1107 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1108 Use it and depcomp in suffix rules.
1109 * libtool.m4: Likewise.
1110 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1111 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1112 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1113 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1114 from the Makefile and subst it in deps. Report creation of deps
1115 files (for now). Replace $U with `_' and the empty string. Write
1116 a comment to each created file.
1117 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1118 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1119 dependency mode and AC_SUBST [$1]DEPMODE.
1120 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1121 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1122 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1124 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1126 * depout.m4: Fix sed expression for extracting `dirpart'.
1128 1999-03-29 Tom Tromey <tromey@cygnus.com>
1130 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1132 * compile.am (.c.obj): Also disabled when dependency tracking
1134 * depend2.am (@EXT@.obj): New target.
1135 * automake.in (get_object_extension): Added explanatory comment.
1136 (generate_dependency_code): Handle $seen_objext.
1138 * depend.am: Removed obsolete comment.
1139 * depend2.am: Minor formatting fix.
1141 1999-03-28 Tom Tromey <tromey@cygnus.com>
1143 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1145 (EXTRA_DIST): Removed.
1146 * automake.in (dependency_macros): New global.
1147 (scan_one_configure_file): Recognize new dependency tracking
1148 macros, and define new resulting configure variables.
1149 (generate_dependency_code): New sub.
1150 (handle_dependencies): Use it.
1151 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1153 (@EXT@.lo): Likewise.
1154 * m4/depvars.m4: New file.
1155 * m4/objcdepend.m4: New file.
1156 * m4/cxxdepend.m4: New file.
1157 * m4/init.m4: Moved dependency handling code into depout.m4.
1158 * m4/depout.m4: New file.
1159 * m4/ccdepend.m4: New file.
1160 * m4/depend.m4: New file.
1162 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1163 (@EXT@.lo): Likewise.
1164 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1167 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1168 will create the required .P files for dependency tracking.
1169 * automake.in (scan_dependency_file): Removed.
1170 (handle_dependencies): Never call scan_dependency_file.
1171 (generate_deps): Removed.
1172 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1173 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1174 (srcdir_name): Removed.
1175 (build_directory): Removed.
1176 (initialize_global_constants): Changed $USAGE to reflect argument
1178 (handle_dist_worker): Never run automake in `dist' rule.
1179 (handle_configure): Use --ignore-deps, not --include-deps.
1180 * depend.am (DEPS_MAGIC): Removed.
1181 (DEP_FILES): Unconditionally include.
1183 1999-03-27 Tom Tromey <tromey@cygnus.com>
1185 * automake.in (saw_sources_p): Correctly count header extensions
1187 (handle_headers): Fixed order of arguments to am_install_var.
1189 * automake.in (am_install_var): Don't error if EXTRA_foo is
1192 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1193 (uninstall-@DIR@SCRIPTS): Likewise.
1194 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1195 (uninstall-@DIR@PROGRAMS): Likewise.
1196 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1197 (uninstall-@DIR@LTLIBRARIES): Likewise.
1198 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1199 (uninstall-@DIR@LISP): Likewise.
1200 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1201 (uninstall-@DIR@LIBRARIES): Likewise.
1202 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1203 (uninstall-@DIR@JAVA): Likewise.
1204 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1205 (uninstall-@DIR@HEADERS): Likewise.
1206 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1207 (uninstall-@DIR@DATA): Likewise.
1208 * Makefile.in: Rebuilt.
1209 * Makefile.am (dist_pkgdata_DATA): Renamed.
1210 (EXTRA_DIST): Removed.
1211 (install-data-hook): Added POST_INSTALL; print commands as they
1212 are run; respect DESTDIR.
1213 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1214 * automake.in (am_install_var): Accept `-candist' and
1215 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1216 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1217 and `nodist_' prefixes.
1218 (handle_scripts): Pass -candist to am_install_var.
1219 (handle_data): Pass -defaultdist to am_install_var.
1220 (handle_headers): Likewise.
1221 (handle_emacs_lisp): Pass -candist to am_install_var.
1222 (handle_java): Pass -candist to am_install_var.
1224 1999-03-26 Tom Tromey <tromey@cygnus.com>
1226 * m4/init.m4: Fixed typo when invoking SHELL.
1228 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1229 yacc header file. From Ralf Corsepius.
1231 * Makefile.in: Rebuilt.
1232 * Makefile.am: Updated to reflect removal of TAR subst.
1233 * automake.texi (Options): Document dist-bzip2.
1234 * automake.in (TAR): Removed global.
1235 (initialize_global_constants): Changed `dist' to use pipe with
1236 gzip; work with non-GNU tar.
1237 (handle_dist): Handle non-GNU tar. Don't define TAR.
1238 (initialize_global_constants): Added `dist-bzip2' entry.
1239 (handle_options): Recognize dist-bzip2 option.
1240 (handle_dist): Likewise.
1241 * configure: Rebuilt.
1242 * configure.in: Don't check for tar.
1243 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1246 * automake.in (am_install_var): Removed obsolete comment.
1248 * texinfos.am (uninstall-info): Don't print loop but instead print
1249 commands. Simplified pre-uninstall loop.
1250 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1251 instead print commands.
1252 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1254 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1255 instead print commands.
1256 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1257 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1258 instead print commands.
1259 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1261 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1263 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1264 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1265 instead print commands.
1266 * data.am (install-@DIR@DATA): Strip subdir from file name.
1267 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1268 instead print commands.
1270 * automake.in (handle_merge_targets): `install-strip' is a phony
1271 target. From Michel de Ruiter.
1273 1999-03-25 Tom Tromey <tromey@cygnus.com>
1275 * automake.in (define_compiler_variable): Don't define variable
1278 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1280 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1281 * automake.texi: ditto
1283 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1285 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1286 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1288 1999-03-24 Tom Tromey <tromey@cygnus.com>
1290 * automake.in (define_compiler_variable): New sub.
1291 (finish_languages): Use it.
1292 (lang_cxx_finish): Likewise.
1293 (lang_f77_finish): Likewise.
1294 (lang_ppf77_finish): Likewise.
1295 (lang_ratfor_finish): Likewise.
1296 (lang_objc_finish): Likewise.
1298 1999-03-23 Tom Tromey <tromey@cygnus.com>
1300 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1301 sed invocations. From Elrond.
1302 (uninstall-@DIR@PROGRAMS): Likewise.
1304 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1305 From Ralf Corsepius.
1307 1999-02-01 Thomas Tanner <tanner@gmx.de>
1309 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1310 warning when AM_PROG_LIBTOOL was found
1311 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1313 1999-03-22 Tom Tromey <tromey@cygnus.com>
1315 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1316 * automake.in (define_standard_variables): New sub.
1317 (read_main_am_file): Use two passes to scan standard variables.
1318 (read_am_file): Don't special-case configure variables with `+='.
1319 (initialize_per_input): Initialize %var_was_plus_eq.
1320 (read_am_file): Set var_was_plus_eq element correctly.
1321 (define_variable): Give error if variable assigned with `+=' is
1323 (initialize_per_input): Initialize %am_var_defs.
1324 (file_contents_with_transform): Set element in %am_var_defs.
1325 (read_am_file): Use %am_var_defs.
1327 1999-03-21 Tom Tromey <tromey@cygnus.com>
1329 * automake.in (initialize_per_input): Initialize %object_map.
1330 (handle_single_transform_list): Allow source files in
1333 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1335 * automake.in (handle_dist): Add missing newline after the first
1338 1999-03-11 Tom Tromey <tromey@cygnus.com>
1340 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1341 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1344 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1346 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1347 legitimate ending. Fixes libobj9.test.
1349 From Ralf Corsepius. Fixes lex3.test.
1350 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1351 maintainer-clean list.
1352 (lang_lex_finish): Likewise.
1354 1999-03-02 Tom Tromey <tromey@cygnus.com>
1356 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1357 construct to work around FreeBSD make/sh problem. From Rich Wales.
1359 1999-03-01 Tom Tromey <tromey@cygnus.com>
1361 Fixes from Pavel Roskin:
1362 * automake.in (variable_conditions_sub): Sort list passed to
1363 variable_conditions_permutations.
1364 (variable_conditions): Sort list before returning.
1366 1999-02-27 Tom Tromey <tromey@cygnus.com>
1368 * automake.in (lang_extensions): New sub.
1369 (handle_dependencies): Use it.
1370 (cxx_extensions): Removed.
1371 (lang_cxx_finish): Use lang_extensions.
1372 (f77_extensions): Removed.
1373 (lang_f77_finish): Use lang_extensions.
1374 (objc_extensions): Removed.
1375 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1376 Report from Dave Morrison.
1377 (lang_ratfor_finish): Likewise.
1379 1999-02-26 Tom Tromey <tromey@cygnus.com>
1381 * automake.in (finish_languages): Added AM_LDFLAGS.
1382 (lang_cxx_finish): Likewise.
1383 (lang_f77_finish): Likewise.
1384 (lang_ppf77_finish): Likewise.
1385 (lang_ratfor_finish): Likewise.
1386 (lang_objc_finish): Likewise.
1388 1999-02-11 Tom Tromey <tromey@cygnus.com>
1390 * aclocal.in (obsolete_macros): Copied from automake.in.
1391 (obsolete_rx): Use only keys of obsolete_macros.
1392 (scan_configure): Report replacement macro for an obsolete macro.
1393 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1395 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1396 entry. Fixes obsolete2.test.
1398 * automake.in (obsolete_macros): Use empty string to indicate no
1400 (scan_one_configure_file): Likewise.
1402 1999-02-07 Paul Eggert <eggert@twinsun.com>
1404 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1405 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1406 needed by some programs.
1408 1999-02-10 Tom Tromey <tromey@cygnus.com>
1410 * automake.in (handle_texinfo): Added `pgs' to list of
1411 extensions. From NISHIDA Keisuke.
1413 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1415 * automake.in (handle_texinfo): remove texinfo.tex from
1418 1999-02-02 Tom Tromey <tromey@cygnus.com>
1420 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1421 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1422 * header-vars.am (INSTALL_PROGRAM): Removed
1423 AM_INSTALL_PROGRAM_FLAGS.
1424 (INSTALL_STRIP_FLAG): New macro.
1426 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1428 (lang_yacc_finish): Likewise.
1429 (lang_lex_finish): Likewise.
1431 1999-02-01 Tom Tromey <tromey@cygnus.com>
1433 * automake.in (handle_dist_worker): Correctly find find in $$d,
1434 not $$. From Bill Davidson.
1436 * automake.in (finish_languages): Use "&", not "do". From Pavel
1438 (handle_single_transform_list): Likewise.
1440 1999-01-29 Tom Tromey <tromey@cygnus.com>
1442 * automake.in (handle_configure): Removed unused variable. From
1445 * ansi2knr.c: New version from L. Peter Deutsch.
1447 1999-01-22 Tom Tromey <tromey@cygnus.com>
1449 * automake.in (require_file_internal): Correctly examine return
1450 value of `system'. From Andris Pavenis. Fixes copy.test.
1452 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1454 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1455 Kuepper. Fixes ppf77.test.
1456 (lang_ratfor_rewrite): New function
1458 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1459 fix). From Erez Zadok.
1461 1999-01-15 Tom Tromey <tromey@cygnus.com>
1463 * configure.in: Version 1.4a (oops).
1465 * configure.in: Updated version to 1.5a.
1467 1999-01-14 Tom Tromey <tromey@cygnus.com>
1469 * automake.in (handle_configure): Compute $header_dir based on
1470 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1472 (handle_configure): Compute relative path to input header
1473 correctly in all cases.
1475 * automake.in (handle_tests): Avoid error messages from dejagnu
1476 test rules. From Karl Heuer.
1478 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1480 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1482 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1483 From Alexandre Oliva and Erez Zadok.
1485 * automake.in (create): Renamed from touch.
1486 (handle_configure): Use create, not touch.
1488 * config.sub, config.guess: New versions from autoconf.
1490 * mkinstalldirs: New version from autoconf.
1492 1999-01-12 Tom Tromey <tromey@cygnus.com>
1494 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1497 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1499 * automake.in (PATH_PATTERN): New variable:
1500 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1501 symbols besides $(top_srcdir) and $(srcdir).
1503 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1505 * automake.in (handle_dist_worker): avoid failure in `make dist'
1506 if last file is a builddir-only file
1508 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1510 * missing (autoheader): `s' was missing from sed script; grr
1512 1999-01-11 Tom Tromey <tromey@cygnus.com>
1514 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1515 ($(srcdir)/@STAMP@.in): Likewise.
1517 1999-01-10 Tom Tromey <tromey@cygnus.com>
1519 * Makefile.am (scriptdir): New macro.
1520 (script_DATA): Likewise.
1521 (install-data-hook): Use them.
1522 (EXTRA_DIST): Added script_DATA.
1523 (installcheck-local): Use script_DATA.
1525 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1527 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1529 * missing (autoheader): accept multiple header files
1530 (automake): simplify sed processing
1532 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1534 * automake.in (handle_configure, stamp_dir): create only one stamp
1535 file per header, instead of one in the top-level directory and one
1536 in the directory that contains the header.
1538 1999-01-10 Tom Tromey <tromey@cygnus.com>
1540 * automake.in (lang_objc_finish): Formatting fix.
1542 * automake.in (objc_extensions): New sub.
1543 (handle_dependencies): Only generate dependency-tracking code for
1544 ObjC when ObjC source seen.