1 2000-05-08 Tom Tromey <tromey@cygnus.com>
3 * automake.texi (Texinfo): Mention vers*.texi.
5 2000-05-04 Akim Demaille <akim@epita.fr>
7 AM_INIT_AUTOMAKE is no longer optional, so don't look for
8 `VERSION=' and `PACKAGE='.
9 * automake.in (seen_package, seen_version): Remove initializations of
10 unnecessary variables.
11 (scan_one_configure_file): Don't set them.
12 (scan_configure): Don't use them.
14 2000-05-01 Akim Demaille <akim@epita.fr>
16 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
17 (AM_INIT_AUTOMAKE): Update the writing conventions.
18 Quote the arguments properly.
19 Add a few missing `dnl'.
20 Use AC_PROVIDE_IFELSE.
22 2000-04-26 Jim Meyering <meyering@lucent.com>
24 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
25 macro. Based on a patch from Harlan Stenn.
27 2000-04-13 Akim Demaille <akim@epita.fr>
29 * compile: Remove unnecessary double quotes in assignments.
31 2000-04-13 Akim Demaille <demaille@epita.fr>
33 * automake.in (scan_one_configure_file): Also recognize
35 Remove trailing blanks.
37 2000-04-05 Tom Tromey <tromey@cygnus.com>
39 * header-vars.am (DESTDIR): Commented out definition.
41 * automake.in (require_file_internal): Pass --copy to libtoolize
42 if automake was run with `--copy'.
44 2000-03-22 Tom Tromey <tromey@cygnus.com>
46 * automake.texi (Uniform): Fix definition of pkglibdir.
47 From thi <ttn@revel.glug.org>.
49 2000-03-19 Tom Tromey <tromey@cygnus.com>
51 * aclocal.in (parse_arguments): Copyright 2000.
52 (write_aclocal): Likewise.
53 * automake.in (parse_arguments): Copyright 2000.
54 (initialize_global_constants): Likewise.
56 * automake.in (generate_makefile): Call handle_dist after
57 handle_dependencies and handle_tests. Fixes subobj3.test and
58 pr19.test regressions.
60 2000-03-19 Gordon Matzigkeit <gord@fig.org>
62 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
63 as the current directory.
66 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
68 * automake.in (handle_data): Pass -candist instead of
69 -defaultdist, for the compatibility.
71 2000-03-19 Tom Tromey <tromey@cygnus.com>
73 Fix for test nodepcomp.test:
74 * automake.in (require_file_internal): Use readlink on symlinks.
75 Only unlink file if we are going to try to add it again.
76 (handle_dependencies): Require `depcomp' here.
77 (scan_configure): Don't require `depcomp'.
79 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
81 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
82 the rule to remake Makefile, whether $use_dependencies is true
83 or not. This was a historical one and doesn't make sense any
86 2000-03-19 Tom Tromey <tromey@cygnus.com>
88 More for PR automake/38:
89 * automake.texi (Invoking Automake): Document --force-missing.
90 * automake.in (force_missing): New global.
91 (parse_arguments): Recognize --force-missing.
92 (initialize_global_constants): Document --force-missing.
93 (require_file_internal): Handle --force-missing.
95 Fix for PR automake/38:
96 * automake.in (require_file_internal): Check for and handle
97 dangling symlinks. Fixes symlink2.test.
99 Fix for PR automake/45:
100 * automake.texi (configure): Mention requirement to run
102 (Requirements): Removed most text.
103 * automake.in (seen_init_automake): New global.
104 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
105 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
106 Set seen_init_automake if needed.
108 Fix for PR automake/41:
109 * automake.in (require_file_found): New global.
110 (require_file_internal): Set require_file_found entry.
111 (handle_texinfo): Require file any number of times.
113 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
116 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
118 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
120 * m4/missing.m4: Print the backtick in a way that won't cause
121 autoconf CVS to emit any warnings.
123 2000-03-01 Jim Meyering <meyering@lucent.com>
125 * automake.in (handle_dist_worker) [generating rules for distdir]:
126 Don't use `ln' (which was just a space optimization anyway) to
127 populate $(distdir). Otherwise, the dist rules that change
128 permissions would end up affecting the master sources.
129 * texinfos.am (dist-info): Likewise.
131 2000-02-13 Jim Meyering <meyering@lucent.com>
133 * automake.in (generate_makefile): Detect write/close failure.
135 2000-02-02 Assar Westerlund <assar@sics.se>
137 * automake.in (handle_single_transform_list): do not use $< which
138 is not handled by all non-GNU makes. Instead do explicit sh code
139 testing for the file in this directory and srcdir. Based on a
140 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
142 2000-01-12 Tom Tromey <tromey@cygnus.com>
144 * m4/lispdir.m4: Added --with-lispdir argument processing.
147 2000-01-06 Tom Tromey <tromey@cygnus.com>
149 * automake.in (handle_configure): Don't check for
151 (scan_configure): Check for AC_PROG_MAKE_SET.
153 * header-vars.am (@SET_MAKE@): Added.
154 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
157 1999-12-19 Tom Tromey <tromey@cygnus.com>
159 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
161 (require_file_internal): Corrected arguments to second invocation
162 of maybe_push_required_file.
164 Fix for PR automake/9:
165 * automake.in (make_dirs, make_dirs_set): New globals.
166 (is_make_dir): New function.
167 (handle_configure): Use it.
168 (require_file_internal): Push file if there is no Makefile in its
170 (initialize_per_input): Initialize handle_dist_run.
171 (push_dist_common): Inspect handle_dist_run.
172 (handle_dist): Set handle_dist_run. Push items from
173 configure_dist_common onto dist_common if appropriate.
174 (configure_dist_common): New global.
175 (scan_configure): Set it.
176 (maybe_push_required_file): New function.
177 (require_file_internal): Use it.
179 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
180 more subdirs are defined. From Axel Belinfante. Fixes
183 1999-12-18 Tom Tromey <tromey@cygnus.com>
185 Partial fix for PR automake/40:
186 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
187 (uninstall-@DIR@LISP): Likewise.
188 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
189 (uninstall-@DIR@HEADERS): Likewise.
190 * data.am (install-@DIR@DATA): Handle nobase_ case.
191 (uninstall-@DIR@DATA): Likewise.
192 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
193 (am_install_var): Recognize and handle `nobase_' prefix.
195 1999-12-17 Tom Tromey <tromey@cygnus.com>
197 * automake.in (get_object_extension): Added space before `-I.'.
198 Report from Ralf Corsepius.
200 1999-12-15 Tom Tromey <tromey@cygnus.com>
202 * aclocal.in: Don't pass $acdir to scan_m4_files.
203 (parse_arguments): Push $acdir on end of dirlist.
204 (scan_file): Don't warn if duplicate macro seen.
206 1999-12-13 Tom Tromey <tromey@cygnus.com>
208 Fix for PR automake/30 and PR automake/23. Fixes test
210 * automake.in (initialize_per_input): Initialize
211 source_suffix_pattern.
212 (derive_suffix): New function.
213 (handle_single_transform_list): Call it.
215 * automake.in (add_depend2): Handle the no-dependency-tracking
216 case. Fixes test suffix2.test.
218 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
220 * automake.in (get_object_extension): Fixed quoting on
223 * depend2.am: Removed erroneous comment.
225 * automake.texi (Program variables): Document nostdinc.
227 * automake.in (get_object_extension): Respect nostdinc option.
228 (handle_options): Recognize nostdinc.
229 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
232 * automake.in (read_am_file): Allow conditional includes. Fixes
235 * depcomp: Handle case on SGI when libtool is `yes'.
236 * depend2.am (@EXT@.o): Set libtool.
237 (@EXT@.lo): Likewise.
238 (@EXT@.obj): Likewise.
240 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
243 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
245 * automake.in (add_depend2): substitute $rule in the rules
246 for individual files. Fixes test specflags5.test.
248 1999-12-12 Tom Tromey <tromey@cygnus.com>
250 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
251 to create directories. Fixes test subobj3.test.
253 1999-12-10 Tom Tromey <tromey@cygnus.com>
255 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
256 message when creating .deps files.
258 * automake.in (initialize_global_constants): If unreadable by
259 owner, make it readable by owner regardless of number of links.
260 Fixes more of install2.test.
262 * missing: Try to see if gnutar or gtar exist before invoking
265 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
266 install_sh value. Look for install-sh and install.sh in a
267 somewhat more sensible way. Fixes test install2.test. Partially
270 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
272 * m4/missing.m4: remove redundant backquote
274 1999-11-23 Tom Tromey <tromey@cygnus.com>
276 * automake.in (initialize_global_constants): Use `bzip2 -9', not
277 `bzip --best' Report from Jim Meyering.
279 1999-11-22 Tom Tromey <tromey@cygnus.com>
281 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
282 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
283 AM_MISSING_INSTALL_SH.
284 * automake.in (scan_one_configure_file): Reverted previous
287 * automake.in (scan_one_configure_file): Define `install_sh'
288 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
291 * automake.in (handle_single_transform_list): Generate explicit
292 rule for subdir objects. Fixes new addition to subobj.test.
294 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
295 defined by AC_SUBST. Fixes ltlibobjs.test.
297 Fix for sourcesub.test:
298 * automake.in (handle_single_transform_list): Added `var'
299 argument. If config sub found, give error.
300 (handle_source_transform): Updated for new
301 handle_source_transform.
303 * py-compile: New file.
304 * m4/Makefile.am (m4data_DATA): Added python.m4.
305 * m4/python.m4: New file.
306 * automake.texi (Uniform): Mention PYTHON.
308 * Makefile.am (amfiles): Added python.am, python-clean.am.
309 (dist_script_DATA): Added py-compile.
310 * python.am: New file.
311 * python-clean.am: New file.
312 * automake.in (seen_pythondir): New global.
313 (generate_makefile): Call handle_python.
314 (handle_python): New function.
315 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
317 (am_install_var): Special-case PYTHON like JAVA.
318 (scan_configure): Check for py-compile.
319 (initialize_global_constants): Added py-compile to @common_files.
321 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
323 1999-11-21 Tom Tromey <tromey@cygnus.com>
325 * automake.in (finish_languages): Only generate suffix rule when
326 not doing dependency tracking.
328 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
329 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
331 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
334 1999-11-19 Tom Tromey <tromey@cygnus.com>
336 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
337 Alexandre's change on branch.
339 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
341 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
343 * dejagnu.am: Set CDPATH before cd.
344 * Makefile.in: Rebuilt.
346 * automake.in (handle_single_transform_list): Change `\1' for `$1'
347 in `s///' replacement.
349 * automake.in (handle_dist): Set CDPATH before cd.
350 * dejagnu.am (check-DEJAGNU): Likewise.
351 * texinfos.am (install-info-am, dist-info): Likewise.
352 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
353 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
354 * aclocal.m4, configure, Makefile.in: Rebuilt.
356 * AUTHORS: Added myself.
358 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
360 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
361 Reported by Tim Wilkinson <tim@transvirtual.com>
362 * aclocal.m4, configure: Rebuilt.
364 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
366 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
367 LEX program is found, use `${am_missing_run}flex'.
369 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
371 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
374 * automake.in (handle_lib_objects_cond): Remove second dot from
375 dependency file names.
377 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
378 regardless of OBJEXT.
380 * automake.in (handle_dependencies): Add blank line after depend2.
381 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
382 blank line before `include's, not after them.
383 (scan_one_configure_file): Do not special-case `DEP_' any more.
385 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
387 * aclocal.m4, configure: Rebuilt.
389 * m4/depend.m4 (AMDEPBACKSLASH): Define.
390 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
392 * automake.in (handle_dependencies): Generate `include's for
393 dependency files after `@AMDEP@'.
395 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
396 --run support in the missing script, since SHELL is not exported.
397 Reported by job bogan <job@piquin.uchicago.edu>
398 * aclocal.m4, configure: Rebuilt.
400 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
402 * aclocal.m4, configure: Rebuilt with itself.
403 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
405 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
406 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
407 (AM_MISSING_HAS_RUN): New macro.
408 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
409 * automake.texi (Requirements): Likewise.
410 * version.texi, stamp-vti: Rebuilt.
412 1999-07-28 Tom Tromey <tromey@cygnus.com>
414 * depcomp: Handle the `hp' mode.
416 1999-07-06 Tom Tromey <tromey@cygnus.com>
418 * depcomp: Work around HP-UX 10.20 sed bug.
420 1999-07-05 Tom Tromey <tromey@cygnus.com>
422 * automake.in (handle_dependencies): Generate a separate include
423 for each dep file. Report from Alexandre Oliva.
424 * depend.am: Don't include DEP_FILES.
426 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
428 * depend.am: Add @AMDEP@ before `include', so that dependency
429 tracking can be disabled.
430 * depend2.am: Ditto, before all lines related with dependency
432 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
433 --enable/disable-dependency-tracking and sets AMDEP accordingly.
434 It is implicitly disabled if depcomp is missing.
435 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
436 generated by side-effect.
437 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
438 * automake.in (handle_dependencies): Add @AMDEP@ before the value
440 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
443 * depcomp: Support -xM for dependency generation, for Sun CC.
444 Reported by Alex Hornby <alex@anvil.co.uk>
445 * m4/depend.m4: Extract the list of supported dependency-tracking
446 mechanisms from the depcomp script and use it to test each one.
447 * THANKS: Added Alex Hornby.
449 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
450 to leave $(...COMPILE) in a line by itself.
452 * THANKS: Added Miles Bader.
454 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
456 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
457 Fix `dashmstdout' to ignore non-dependency-generating uses of the
459 * depcomp (makedepend): New dependency-generating method.
461 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
463 * missing: If given `--run' as first argument, try to run the
464 given program before falling back to the ``emulated'' behavior.
465 Add support for `tar'.
466 * automake.in: Use new `tar' support for `dist'.
467 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
468 program, prepend `missing --run' to the given program name.
469 * m4/init.m4: Remove AMTAR-related stuff.
472 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
473 CONFIG_FILES. Do not use temporary variable for list of
474 dependency files, it breaks Cygwin.
476 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
478 * depcomp (gcc): Imported comments removed from depend2.am, so
479 that we don't lose them.
481 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
482 when not using ansi2knr.
484 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
486 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
487 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
489 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
491 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
492 so as not to compile an empty source; some compilers fail on this.
493 Redirect stderr of depcc to /dev/null. Test for -M with -o,
494 because some compilers will output the rules to the output file.
495 * depcomp (dashmstdout): Add --silent before --mode=compile, so
496 that we don't get libtool output mixed up with make rules.
498 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
499 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
500 -o for libtool, otherwise it may try to deduce the object name
501 from the dependency-generation flag.
502 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
505 * libtool.am: Do not emit .c.lo here...
506 * depend2.am: ... emit .*.lo here, only when using libtool.
507 * automake.in (get_object_extension): No more @MINUSO@ here.
508 (handle_single_transform_list): Set $depfile from $object.
509 (handle_dependencies): Emit depend2.am for all used languages,
510 regardless of $use_dependencies; the setting of depcomp makes the
512 (lang_cxx_finish): Do not emit compilation rules.
513 (lang_objc_finish): Likewise.
514 (lang_java_finish): Likewise.
516 1999-04-21 Tom Tromey <tromey@cygnus.com>
518 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
519 interpolate DEPDIR in DEP_FILES expansion.
521 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
523 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
525 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
526 handle multi-line dependency lists.
528 1999-11-12 Tom Tromey <tromey@cygnus.com>
530 Fix for PR automake/14:
531 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
533 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
535 * m4/multi.m4: Added missing `]'. From Akim Demaille.
537 * Makefile.am (path-check): Make sure distdir is writeable before
539 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
540 (handle_dist_worker): Make sure distdir is writeable before
542 (initialize_global_constants [$dist_trailer]): Make sure distdir
543 is writeable before removing it.
544 * dist.am (distcheck): Make the new source tree read-only before
545 compiling. Idea from Karl Berry.
547 * automake.texi (Gnits): Allow COPYING.LIB again.
548 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
550 1999-11-11 Jim Meyering <meyering@ascend.com>
552 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
555 1999-11-09 Tom Tromey <tromey@cygnus.com>
557 * automake.in (handle_dist): Typo fix. From Jim Meyering.
559 1999-11-09 Jim Meyering <meyering@ascend.com>
561 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
562 markers, no matter what.
564 1999-11-08 Tom Tromey <tromey@cygnus.com>
566 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
569 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
570 From Jim Meyering. Also, don't mention file name in `cp'
571 destination. From Olly Betts.
573 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
575 * texinfos.am (uninstall-info): Use installed info file, not one
576 from srcdir or builddir.
578 1999-11-07 Tom Tromey <tromey@cygnus.com>
580 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
583 Fix for PR automake/18:
584 * automake.in (handle_dist): Add contents of dist.am to the output
586 * Makefile.am (amfiles): Added dist.am.
588 (distcheck): Added uninstall and distclean checks.
590 * automake.in (PATH_PATTERN): Added `-' as allowable character.
591 Fixes PR automake/20. From Matthew D. Langston.
593 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
594 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
596 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
598 * m4/lispdir.m4: -batch must come before -q.
599 * elisp-comp: Likewise.
600 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
601 * THANKS: Added Lars.
603 1999-08-15 Tom Tromey <tromey@cygnus.com>
605 * automake.in (get_object_extension): Fixed quoting bug. Fixes
608 1999-07-27 Tom Tromey <tromey@cygnus.com>
610 * config.guess, config.sub: New versions from autoconf.
612 1999-07-13 Tom Tromey <tromey@cygnus.com>
614 Work around losing `awk'. Report from Harlan Stenn.
615 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
616 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
618 * automake.in (handle_source_transform): Mark prefix as seen if
619 corresponding _SOURCES variable exists. Fixes empty2.test.
621 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
623 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
625 (AUTOMAKE): Set --amdir to current directory.
627 1999-06-20 Tom Tromey <tromey@cygnus.com>
629 * Makefile.am (TAGS_FILES): New macro.
630 (ETAGS_ARGS): Moved files into TAGS_FILES.
631 (TAGS_DEPENDENCIES): Likewise.
632 (ETAGS_ARGS): Removed.
633 (TAGS_DEPENDENCIES): Removed duplicate definition.
635 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
636 from Ganesan Rajagopal.
639 1999-06-18 Thomas Tanner <tanner@ffii.org>
641 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
644 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
646 * ylwrap: Handle filenames output by the DOS version of Bison.
648 1999-06-20 Tom Tromey <tromey@cygnus.com>
650 * ylwrap: Be less strict when recognizing DOS paths. From Mark
653 1999-06-19 Tom Tromey <tromey@cygnus.com>
655 * automake.in (handle_dist_worker): Remove redundant entries from
658 * automake.in (handle_lib_objects_cond): Better error message when
659 unrecognized option passed in LDADD.
661 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
663 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
664 appropriate --acdir and --amdir arguments.
666 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
668 * automake.in (dist_header): Avoid changing permissions of files
669 in the source tree, trying a complex `find/chmod' command before
670 falling back to plain chmod.
671 (handle_dist_worker): Do not create directories with mode 777, the
672 find above will take care of that.
673 * m4/init.m4: Set install_sh for find/chmod above.
675 * THANKS: Added Shuhei Amakawa.
677 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
679 * mans.am: Strip dirname from given filename.
681 1999-06-07 Jim Meyering <meyering@ascend.com>
683 * automake.in (handle_dist): Change emitted rules so that a failure
684 in `$(MAKE) distcheck-hook' propagates to the outer make.
686 1999-05-27 Tom Tromey <tromey@cygnus.com>
688 * automake.in (handle_single_transform_list): Replace AM_FLAG and
689 not FLAG in compilation rule.
690 (add_depend2): Likewise.
692 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
695 * m4/dmalloc.m4: Updated dmalloc site information.
697 1999-05-19 Tom Tromey <tromey@cygnus.com>
699 * automake.in (handle_single_transform_list): Push object name
700 without extension onto lang_specific_files. Fixes
703 * automake.in (handle_single_transform_list): Added missing
704 space. Fixes specflags.test.
706 1999-05-05 Tom Tromey <tromey@cygnus.com>
708 * automake.in: Disabled dependency tracking for Java.
710 1999-05-04 Tom Tromey <tromey@cygnus.com>
712 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
713 * automake.in (handle_libraries): Recognize _AR variable.
715 1999-04-30 Tom Tromey <tromey@cygnus.com>
717 * automake.in (finish_languages): Always use `-o $@' with
718 libtool. Define ltcompile and ltlink at outermost scope in
720 * libtool.am (.c.lo): Removed.
722 * automake.in (finish_languages): Put `.' before extension in
723 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
724 `-flag'. From Pavel Roskin.
726 1999-04-28 Tom Tromey <tromey@cygnus.com>
728 * automake.in (finish_languages): Fixed scoping of ltcompile and
729 ltlink. From Pavel Roskin.
731 1999-04-27 Tom Tromey <tromey@cygnus.com>
733 * automake.in (read_main_am_file): Don't start macro definition
734 with backslash-newline. Instead, append newline at the end if
737 * automake.in (read_am_file): Insert a backslash before a trailing
738 newline. Fixes pluseq8.test.
740 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
742 (check_canonical_spelling): Don't insert `AM' before macro name
743 (reverts Alexandre's 1999-04-27 patch).
744 * automake.texi: Reverted documentation change for `AM' patch.
746 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
747 Minor rewrite for clarity.
748 (check_canonical_spelling): Prefer `$1' over `\1'.
750 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
753 * automake.in (handle_single_transform_list): Don't print rule if
754 doing dependency tracking and the file's language supports it.
755 (initialize_per_input): Initialize lang_specific_files.
756 (add_depend2): New function.
757 (handle_dependencies): Use it.
759 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
760 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
761 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
763 (lang_ratfor_finish): Use lang_f77_finish.
765 * compile.am (NOTDEPEND.c.o): Removed.
766 (OBJEXT.c.obj): Likewise.
767 * automake.in: Added `flags' attribute to all relevant languages.
768 (handle_single_transform_list): Handle per-derived-object flags.
769 Changed interface and all callers.
770 (handle_built_sources): Don't call handle_single_transform_list.
771 Added `compile' and `compiler-name' attribute to all relevant
773 (finish_languages): Define compiler variables here.
774 (lang_cxx_finish): Don't call define_compiler_variable. Don't
775 define flag variable or .o rules. Don't add to @suffixes.
776 (lang_f77_finish): Likewise.
777 (lang_ppf77_finish): Likewise.
778 (lang_objc_finish): Likewise.
779 (lang_java_finish): Likewise.
780 (finish_languages): Define flag variable here.
781 Added `output-arg' attribute to all relevant languages.
782 (finish_languages): Define `.o' rules here.
783 (finish_languages): Put extension on @suffixes.
784 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
786 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
788 * automake.in (initialize_global_constants): Invoke gzip for
789 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
791 * automake.in (initialize_global_constants): Remove zip file
792 before re-creating it.
793 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
795 * texinfos.am (uninstall-info): Look for info file in srcdir, just
796 like in install-info-am.
797 Reported by Tudor Hulubei <tudor@cs.unh.edu>
799 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
800 Let's use the good ol' substitution, then.
801 Reported by Russ Allbery <rra@stanford.edu>
803 * automake.in (check_canonical_spelling): Insert AM before names
804 starting with non-letters.
806 * automake.texi: Document it.
808 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
810 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
811 doesn't work on perl4. Maybe \Q and \E do.
813 1999-04-24 Tom Tromey <tromey@cygnus.com>
815 * automake.in: Treat `.zip' and `.jar' files as Java.
817 * automake.in (generate_makefile): Define `subdir' after reading
819 (read_main_am_file): Give programming error if variable defined
822 1999-04-22 Tom Tromey <tromey@cygnus.com>
824 * automake.in (generate_makefile): Define `subdir' variable.
825 (handle_dist): Don't define `subdir'.
827 * automake.in (handle_texinfo): Change numbering scheme for
828 stamp-vti files, to avoid problems with DOS.
829 From Michel de Ruiter.
831 * automake.texi: Don't mention AM_FUNC_MKTIME.
832 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
833 * automake.in (scan_one_configure_file): Recognize
834 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
835 (obsolete_macros): Mention AM_FUNC_MKTIME.
836 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
837 * m4/mktime.m4: Removed.
839 1999-04-20 Tom Tromey <tromey@cygnus.com>
841 * automake.texi (Top level): Don't recommend substing SUBDIRS.
843 1999-04-20 Brian Ford <ford@vss.fsi.com>
845 * scripts.am: Change else if's to elif.
847 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
849 * automake.in (handle_lib_objects_cond): Only require the source
850 of a LIBOBJ if it's not in BUILT_SOURCES.
851 Reported by Erez Zadok.
853 1999-04-19 Tom Tromey <tromey@cygnus.com>
855 * automake.in: Treat `.class' files as Java source.
856 (lang_java_finish): Handle `.class' files.
858 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
860 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
862 * m4/lispdir.m4: Do not override lispdir if it's already defined.
863 Run some emacs-lisp to find out the site-lisp directory, but
864 relocate it into prefix.
866 1999-04-17 Paul Eggert <eggert@twinsun.com>
868 * m4/mktime.m4 (bigtime_test, main): Move alarm from
869 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
870 even outside of bigtime_test. Use a time limit of 60 seconds
871 for the whole test, not 10 seconds per iteration.
873 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
875 * automake.in: Create stamps for headers in appropriate
876 directories, even if the input file lives in a different place.
877 * remake-hdr.am: Likewise.
879 1999-04-16 Tom Tromey <tromey@cygnus.com>
882 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
883 Invoke `sed' only once per program.
884 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
885 Invoke `sed' only once per program.
887 1999-04-13 Tom Tromey <tromey@cygnus.com>
889 * automake.in (handle_subdirs): Make `install-recursive' phony.
890 From Michel de Ruiter.
892 * automake.in (handle_ltlibraries): Added missing `check'.
894 1999-04-12 Tom Tromey <tromey@cygnus.com>
896 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
899 1999-04-11 Tom Tromey <tromey@cygnus.com>
901 * automake.in (handle_dist): Use AMTAR.
902 (initialize_global_constants): Likewise.
903 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
905 * automake.in (lang_sub_obj): New function.
906 (lang_cxx_rewrite): Use it.
907 (lang_asm_rewrite): Likewise.
908 (lang_objc_rewrite): Likewise.
909 (lang_cxx_finish): Add `-o $@' to all C++ rules.
910 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
911 (lang_objc_finish): Add `-o $@' to all ObjC rules.
912 (lang_java_finish): Likewise.
914 * automake.in: Only register `asm' once.
915 (lang_asm_finish): Put assembly suffixes on @suffixes.
917 * libtool.am (.s.lo): Removed.
919 * automake.in (lang_asm_finish): Handle libtool.
921 * libtool.am (.c.o): Always pass -c to libtool.
923 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
924 (lang_yaccxx_rewrite): Likewise.
925 (lang_lex_rewrite): Likewise.
926 (lang_lexxx_rewrite): Likewise.
928 Assembly code no longer included by default:
929 * compile.am (.s.o): Removed.
931 * automake.in: Register `asm' language.
932 (lang_asm_finish): Generate suffix rules for assembly.
933 (get_object_extension): Don't add `.s' or `.S' to suffix list.
935 * automake.in (get_object_extension): Substitute @MINUSO@ when
936 including compile.am.
937 * compile.am (.c.o): Added @MINUSO@.
940 First cut at allowing objects in subdirectories:
941 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
942 * Makefile.am (dist_script_DATA): Added compile.
943 * m4/minuso.m4: New file.
944 * automake.in (initialize_global_constants): Added compile to
946 (seen_cc_c_o): New global.
947 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
948 (handle_options): Recognize `subdir-objects' option.
949 (lang_c_rewrite): Added directory argument.
950 (lang_yacc_rewrite): Likewise.
951 (lang_yaccxx_rewrite): Likewise.
952 (lang_lex_rewrite): Likewise.
953 (lang_lexxx_rewrite): Likewise.
954 (handle_single_transform_list): Pass directory to _rewrite
955 function. Generate dependencies for dirstamp files for each .o;
956 it is just the rules we want to create once.
957 (lang_c_rewrite): Handle `subdir-objects' option.
958 (lang_c_rewrite): Require `compile' program.
961 * automake.in (initialize_per_input): Initialize %directory_map.
962 (handle_single_transform_list): Only create .dirstamp rules once
965 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
968 * automake.in (configure_input_files): New global.
969 (scan_configure): Set it.
970 (handle_configure): Use configure_input_files when determining
971 which subdirs have a Makefile.am. Fixes confh.test.
972 (handle_configure): Only recognize acconfig.h in top srcdir.
974 1999-04-10 Tom Tromey <tromey@cygnus.com>
976 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
979 * automake.in (am_install_var): Remove redundancies from the
980 result. Fixes test cond8.test.
982 * automake.in (handle_single_transform_list): Handle dependency
983 tracking when files are created in subdirs. Error if object in
984 subdir has `..' component.
986 * automake.in (initialize_global_constants): Use $(TAR), not tar.
988 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
990 * automake.in (lang_yacc_finish): Added missing `&'.
992 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
994 * automake.in (handle_configure): Replace multiple occurrences of
995 @STAMP@ in the same line; completes the patch for remake-hdr.am
998 * automake.in (handle_dependencies): Fix test for `autodep'
1001 * automake.in (handle_source_transform): Add a pfx to used_pfx
1002 only if it's conditional or non-empty, to reduce the number of
1003 empty variables. Emit _OBJECS variable based on program name if
1004 no SOURCES were explicitly specified.
1006 * remake-hdr.am: Create the stamp file before the header file,
1007 and just rename it after, so that the timestamps will be correct.
1008 Reported by Marc Horowitz <marc@mit.edu>
1010 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1011 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1012 Reported by Jim Meyering <meyering@ascend.com>
1014 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1016 1999-04-10 Tom Tromey <tromey@cygnus.com>
1018 * Makefile.am (EXTRA_DIST): New macro.
1019 * ChangeLog.1996, ChangeLog.1998: New files.
1021 1999-04-09 Tom Tromey <tromey@cygnus.com>
1023 * automake.in (handle_source_transform): Handle dist and nodist
1025 (initialize_per_input): Initialize dist_sources.
1026 (check_libobjs_sources): Handle dist and nodist prefixes.
1027 (generate_makefile): Define DIST_SOURCES.
1028 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1030 * automake.texi (Macros): Mention AM_PROG_GCJ.
1031 (Java Support): New node.
1032 (Dist): Documented dist_ and nodist_ prefixes.
1034 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1036 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1037 files, not `.gcj' files.
1039 * m4/gcj.m4: New file.
1040 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1042 * automake.in: Register the `java' language.
1043 (resolve_linker): Handle GCJLINK.
1044 (lang_java_rewrite): New function.
1045 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1046 (lang_c_rewrite): Use new constants.
1047 (lang_cxx_rewrite): Likewise.
1048 (lang_header_rewrite): Likewise.
1049 (lang_yacc_rewrite): Likewise.
1050 (lang_yaccxx_rewrite): Likewise.
1051 (lang_lex_rewrite): Likewise.
1052 (lang_lexxx_rewrite): Likewise.
1053 (lang_asm_rewrite): Likewise.
1054 (lang_f77_rewrite): Likewise.
1055 (lang_ppf77_rewrite): Likewise.
1056 (lang_ratfor_rewrite): Likewise.
1057 (lang_objc_rewrite): Likewise.
1058 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1059 return from rewrite function.
1060 (lang_java_finish): New function.
1061 (register_language): Changed interface and all calls. Added
1062 `autodep' settings to various languages.
1063 (handle_dependencies): Use `autodep' property of language when
1064 including dependency-tracking code.
1066 1999-04-07 Tom Tromey <tromey@cygnus.com>
1068 * automake.in (handle_texinfo): Indentation fixes.
1070 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1072 * automake.in (value_to_list): Skip *only* trailing backslashes.
1074 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1076 * automake.in (value_to_list): Skip trailing backslashes.
1078 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1080 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1082 Reported by Per Cederqvist <ceder@lysator.liu.se>
1083 (handle_texinfo): Do not define texinfo_tex='.', use
1084 '$(srcdir)/texinfo.tex' instead; the directory name will be
1086 (require_conf_file_with_line): Fixed typo.
1088 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1090 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1091 we do not depend on PATH starting with `.'.
1093 1999-03-31 Tom Tromey <tromey@cygnus.com>
1095 * automake.in (quote_cond_val): Quote \n.
1096 (unquote_cond_val): Unquote \n.
1097 (read_am_file): If line ends with `\', preserve it and add a
1099 (read_main_am_file): In conditional case, put conditional text at
1100 beginning of each generated line.
1102 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1104 * automake.in (handle_tests): support XFAIL_TEST
1105 * automake.texi: document it
1107 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1109 * End of merge from trunk.
1111 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1113 * automake.in (cmdline_use_dependencies): Reintroduce it.
1114 (--ignore-deps): Set cmdline_use_dependencies again.
1115 (handle_dependencies): If use_dependencies is not set, define
1117 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1118 (scan_configure): Do not require depcomp when ignoring
1120 (initialize_global_constants): Reintroduce --ignore-deps.
1122 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1124 * depcomp: New file.
1125 * Makefile.am (dist_script_DATA): Added depcomp.
1126 * automake.in (cmdline_use_dependencies, omit_dependencies,
1127 dependency_macros): Removed.
1128 (--ignore-deps): Just ignore.
1129 (handle_single_transform_list, dep_files): Named dependency files
1130 as \$(DEPDIR)/$base.P$obj
1131 (handle_lib_objects_cond): Likewise.
1132 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1133 (scan_one_configure_file): Likewise.
1134 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1135 Ignore OMIT_DEPENDENCIES.
1136 (handle_configure): Do not pass --ignore-deps.
1137 (scan_configure): Require `depcomp'.
1138 (initialize_global_constants): Make `depcomp' common. Remove
1139 `--ignore-deps' from usage.
1140 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1141 * compile.am: Remove rules for .c.o and .c.obj
1142 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1143 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1144 Use it and depcomp in suffix rules.
1145 * libtool.m4: Likewise.
1146 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1147 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1148 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1149 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1150 from the Makefile and subst it in deps. Report creation of deps
1151 files (for now). Replace $U with `_' and the empty string. Write
1152 a comment to each created file.
1153 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1154 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1155 dependency mode and AC_SUBST [$1]DEPMODE.
1156 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1157 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1158 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1160 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1162 * depout.m4: Fix sed expression for extracting `dirpart'.
1164 1999-03-29 Tom Tromey <tromey@cygnus.com>
1166 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1168 * compile.am (.c.obj): Also disabled when dependency tracking
1170 * depend2.am (@EXT@.obj): New target.
1171 * automake.in (get_object_extension): Added explanatory comment.
1172 (generate_dependency_code): Handle $seen_objext.
1174 * depend.am: Removed obsolete comment.
1175 * depend2.am: Minor formatting fix.
1177 1999-03-28 Tom Tromey <tromey@cygnus.com>
1179 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1181 (EXTRA_DIST): Removed.
1182 * automake.in (dependency_macros): New global.
1183 (scan_one_configure_file): Recognize new dependency tracking
1184 macros, and define new resulting configure variables.
1185 (generate_dependency_code): New sub.
1186 (handle_dependencies): Use it.
1187 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1189 (@EXT@.lo): Likewise.
1190 * m4/depvars.m4: New file.
1191 * m4/objcdepend.m4: New file.
1192 * m4/cxxdepend.m4: New file.
1193 * m4/init.m4: Moved dependency handling code into depout.m4.
1194 * m4/depout.m4: New file.
1195 * m4/ccdepend.m4: New file.
1196 * m4/depend.m4: New file.
1198 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1199 (@EXT@.lo): Likewise.
1200 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1203 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1204 will create the required .P files for dependency tracking.
1205 * automake.in (scan_dependency_file): Removed.
1206 (handle_dependencies): Never call scan_dependency_file.
1207 (generate_deps): Removed.
1208 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1209 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1210 (srcdir_name): Removed.
1211 (build_directory): Removed.
1212 (initialize_global_constants): Changed $USAGE to reflect argument
1214 (handle_dist_worker): Never run automake in `dist' rule.
1215 (handle_configure): Use --ignore-deps, not --include-deps.
1216 * depend.am (DEPS_MAGIC): Removed.
1217 (DEP_FILES): Unconditionally include.
1219 1999-03-27 Tom Tromey <tromey@cygnus.com>
1221 * automake.in (saw_sources_p): Correctly count header extensions
1223 (handle_headers): Fixed order of arguments to am_install_var.
1225 * automake.in (am_install_var): Don't error if EXTRA_foo is
1228 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1229 (uninstall-@DIR@SCRIPTS): Likewise.
1230 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1231 (uninstall-@DIR@PROGRAMS): Likewise.
1232 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1233 (uninstall-@DIR@LTLIBRARIES): Likewise.
1234 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1235 (uninstall-@DIR@LISP): Likewise.
1236 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1237 (uninstall-@DIR@LIBRARIES): Likewise.
1238 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1239 (uninstall-@DIR@JAVA): Likewise.
1240 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1241 (uninstall-@DIR@HEADERS): Likewise.
1242 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1243 (uninstall-@DIR@DATA): Likewise.
1244 * Makefile.in: Rebuilt.
1245 * Makefile.am (dist_pkgdata_DATA): Renamed.
1246 (EXTRA_DIST): Removed.
1247 (install-data-hook): Added POST_INSTALL; print commands as they
1248 are run; respect DESTDIR.
1249 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1250 * automake.in (am_install_var): Accept `-candist' and
1251 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1252 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1253 and `nodist_' prefixes.
1254 (handle_scripts): Pass -candist to am_install_var.
1255 (handle_data): Pass -defaultdist to am_install_var.
1256 (handle_headers): Likewise.
1257 (handle_emacs_lisp): Pass -candist to am_install_var.
1258 (handle_java): Pass -candist to am_install_var.
1260 1999-03-26 Tom Tromey <tromey@cygnus.com>
1262 * m4/init.m4: Fixed typo when invoking SHELL.
1264 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1265 yacc header file. From Ralf Corsepius.
1267 * Makefile.in: Rebuilt.
1268 * Makefile.am: Updated to reflect removal of TAR subst.
1269 * automake.texi (Options): Document dist-bzip2.
1270 * automake.in (TAR): Removed global.
1271 (initialize_global_constants): Changed `dist' to use pipe with
1272 gzip; work with non-GNU tar.
1273 (handle_dist): Handle non-GNU tar. Don't define TAR.
1274 (initialize_global_constants): Added `dist-bzip2' entry.
1275 (handle_options): Recognize dist-bzip2 option.
1276 (handle_dist): Likewise.
1277 * configure: Rebuilt.
1278 * configure.in: Don't check for tar.
1279 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1282 * automake.in (am_install_var): Removed obsolete comment.
1284 * texinfos.am (uninstall-info): Don't print loop but instead print
1285 commands. Simplified pre-uninstall loop.
1286 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1287 instead print commands.
1288 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1290 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1291 instead print commands.
1292 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1293 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1294 instead print commands.
1295 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1297 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1299 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1300 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1301 instead print commands.
1302 * data.am (install-@DIR@DATA): Strip subdir from file name.
1303 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1304 instead print commands.
1306 * automake.in (handle_merge_targets): `install-strip' is a phony
1307 target. From Michel de Ruiter.
1309 1999-03-25 Tom Tromey <tromey@cygnus.com>
1311 * automake.in (define_compiler_variable): Don't define variable
1314 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1316 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1317 * automake.texi: ditto
1319 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1321 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1322 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1324 1999-03-24 Tom Tromey <tromey@cygnus.com>
1326 * automake.in (define_compiler_variable): New sub.
1327 (finish_languages): Use it.
1328 (lang_cxx_finish): Likewise.
1329 (lang_f77_finish): Likewise.
1330 (lang_ppf77_finish): Likewise.
1331 (lang_ratfor_finish): Likewise.
1332 (lang_objc_finish): Likewise.
1334 1999-03-23 Tom Tromey <tromey@cygnus.com>
1336 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1337 sed invocations. From Elrond.
1338 (uninstall-@DIR@PROGRAMS): Likewise.
1340 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1341 From Ralf Corsepius.
1343 1999-02-01 Thomas Tanner <tanner@gmx.de>
1345 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1346 warning when AM_PROG_LIBTOOL was found
1347 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1349 1999-03-22 Tom Tromey <tromey@cygnus.com>
1351 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1352 * automake.in (define_standard_variables): New sub.
1353 (read_main_am_file): Use two passes to scan standard variables.
1354 (read_am_file): Don't special-case configure variables with `+='.
1355 (initialize_per_input): Initialize %var_was_plus_eq.
1356 (read_am_file): Set var_was_plus_eq element correctly.
1357 (define_variable): Give error if variable assigned with `+=' is
1359 (initialize_per_input): Initialize %am_var_defs.
1360 (file_contents_with_transform): Set element in %am_var_defs.
1361 (read_am_file): Use %am_var_defs.
1363 1999-03-21 Tom Tromey <tromey@cygnus.com>
1365 * automake.in (initialize_per_input): Initialize %object_map.
1366 (handle_single_transform_list): Allow source files in
1369 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1371 * automake.in (handle_dist): Add missing newline after the first
1374 1999-03-11 Tom Tromey <tromey@cygnus.com>
1376 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1377 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1380 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1382 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1383 legitimate ending. Fixes libobj9.test.
1385 From Ralf Corsepius. Fixes lex3.test.
1386 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1387 maintainer-clean list.
1388 (lang_lex_finish): Likewise.
1390 1999-03-02 Tom Tromey <tromey@cygnus.com>
1392 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1393 construct to work around FreeBSD make/sh problem. From Rich Wales.
1395 1999-03-01 Tom Tromey <tromey@cygnus.com>
1397 Fixes from Pavel Roskin:
1398 * automake.in (variable_conditions_sub): Sort list passed to
1399 variable_conditions_permutations.
1400 (variable_conditions): Sort list before returning.
1402 1999-02-27 Tom Tromey <tromey@cygnus.com>
1404 * automake.in (lang_extensions): New sub.
1405 (handle_dependencies): Use it.
1406 (cxx_extensions): Removed.
1407 (lang_cxx_finish): Use lang_extensions.
1408 (f77_extensions): Removed.
1409 (lang_f77_finish): Use lang_extensions.
1410 (objc_extensions): Removed.
1411 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1412 Report from Dave Morrison.
1413 (lang_ratfor_finish): Likewise.
1415 1999-02-26 Tom Tromey <tromey@cygnus.com>
1417 * automake.in (finish_languages): Added AM_LDFLAGS.
1418 (lang_cxx_finish): Likewise.
1419 (lang_f77_finish): Likewise.
1420 (lang_ppf77_finish): Likewise.
1421 (lang_ratfor_finish): Likewise.
1422 (lang_objc_finish): Likewise.
1424 1999-02-11 Tom Tromey <tromey@cygnus.com>
1426 * aclocal.in (obsolete_macros): Copied from automake.in.
1427 (obsolete_rx): Use only keys of obsolete_macros.
1428 (scan_configure): Report replacement macro for an obsolete macro.
1429 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1431 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1432 entry. Fixes obsolete2.test.
1434 * automake.in (obsolete_macros): Use empty string to indicate no
1436 (scan_one_configure_file): Likewise.
1438 1999-02-07 Paul Eggert <eggert@twinsun.com>
1440 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1441 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1442 needed by some programs.
1444 1999-02-10 Tom Tromey <tromey@cygnus.com>
1446 * automake.in (handle_texinfo): Added `pgs' to list of
1447 extensions. From NISHIDA Keisuke.
1449 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1451 * automake.in (handle_texinfo): remove texinfo.tex from
1454 1999-02-02 Tom Tromey <tromey@cygnus.com>
1456 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1457 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1458 * header-vars.am (INSTALL_PROGRAM): Removed
1459 AM_INSTALL_PROGRAM_FLAGS.
1460 (INSTALL_STRIP_FLAG): New macro.
1462 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1464 (lang_yacc_finish): Likewise.
1465 (lang_lex_finish): Likewise.
1467 1999-02-01 Tom Tromey <tromey@cygnus.com>
1469 * automake.in (handle_dist_worker): Correctly find find in $$d,
1470 not $$. From Bill Davidson.
1472 * automake.in (finish_languages): Use "&", not "do". From Pavel
1474 (handle_single_transform_list): Likewise.
1476 1999-01-29 Tom Tromey <tromey@cygnus.com>
1478 * automake.in (handle_configure): Removed unused variable. From
1481 * ansi2knr.c: New version from L. Peter Deutsch.
1483 1999-01-22 Tom Tromey <tromey@cygnus.com>
1485 * automake.in (require_file_internal): Correctly examine return
1486 value of `system'. From Andris Pavenis. Fixes copy.test.
1488 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1490 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1491 Kuepper. Fixes ppf77.test.
1492 (lang_ratfor_rewrite): New function
1494 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1495 fix). From Erez Zadok.
1497 1999-01-15 Tom Tromey <tromey@cygnus.com>
1499 * configure.in: Version 1.4a (oops).
1501 * configure.in: Updated version to 1.5a.
1503 1999-01-14 Tom Tromey <tromey@cygnus.com>
1505 * automake.in (handle_configure): Compute $header_dir based on
1506 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1508 (handle_configure): Compute relative path to input header
1509 correctly in all cases.
1511 * automake.in (handle_tests): Avoid error messages from dejagnu
1512 test rules. From Karl Heuer.
1514 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1516 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1518 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1519 From Alexandre Oliva and Erez Zadok.
1521 * automake.in (create): Renamed from touch.
1522 (handle_configure): Use create, not touch.
1524 * config.sub, config.guess: New versions from autoconf.
1526 * mkinstalldirs: New version from autoconf.
1528 1999-01-12 Tom Tromey <tromey@cygnus.com>
1530 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1533 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1535 * automake.in (PATH_PATTERN): New variable:
1536 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1537 symbols besides $(top_srcdir) and $(srcdir).
1539 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1541 * automake.in (handle_dist_worker): avoid failure in `make dist'
1542 if last file is a builddir-only file
1544 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1546 * missing (autoheader): `s' was missing from sed script; grr
1548 1999-01-11 Tom Tromey <tromey@cygnus.com>
1550 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1551 ($(srcdir)/@STAMP@.in): Likewise.
1553 1999-01-10 Tom Tromey <tromey@cygnus.com>
1555 * Makefile.am (scriptdir): New macro.
1556 (script_DATA): Likewise.
1557 (install-data-hook): Use them.
1558 (EXTRA_DIST): Added script_DATA.
1559 (installcheck-local): Use script_DATA.
1561 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1563 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1565 * missing (autoheader): accept multiple header files
1566 (automake): simplify sed processing
1568 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1570 * automake.in (handle_configure, stamp_dir): create only one stamp
1571 file per header, instead of one in the top-level directory and one
1572 in the directory that contains the header.
1574 1999-01-10 Tom Tromey <tromey@cygnus.com>
1576 * automake.in (lang_objc_finish): Formatting fix.
1578 * automake.in (objc_extensions): New sub.
1579 (handle_dependencies): Only generate dependency-tracking code for
1580 ObjC when ObjC source seen.