1 2000-07-02 Jim Meyering <meyering@lucent.com>
3 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
5 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
7 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
10 2000-06-02 Morten Eriksen <mortene@sim.no>
12 * depcomp: workaround for problem with SGI IRIX sed (it can only
13 handle lines of up to 8192 characters, the rest of the line will
16 2000-05-31 Morten Eriksen <mortene@sim.no>
18 * depcomp: tell SGI MIPSpro compilers to generate dependencies
19 through the pre-processor (only CVS libtool has the -Wc option
22 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
24 * missing: Add support for `help2man'.
26 2000-05-11 Tom Tromey <tromey@cygnus.com>
28 * automake.in (handle_tests): Work correctly if TESTS is empty;
29 print nothing if it is. From Kevin Ryde.
31 2000-05-08 Tom Tromey <tromey@cygnus.com>
33 * automake.texi (Texinfo): Mention vers*.texi.
35 2000-05-04 Akim Demaille <akim@epita.fr>
37 AM_INIT_AUTOMAKE is no longer optional, so don't look for
38 `VERSION=' and `PACKAGE='.
39 * automake.in (seen_package, seen_version): Remove initializations of
40 unnecessary variables.
41 (scan_one_configure_file): Don't set them.
42 (scan_configure): Don't use them.
44 2000-05-01 Akim Demaille <akim@epita.fr>
46 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
47 (AM_INIT_AUTOMAKE): Update the writing conventions.
48 Quote the arguments properly.
49 Add a few missing `dnl'.
50 Use AC_PROVIDE_IFELSE.
52 2000-04-26 Jim Meyering <meyering@lucent.com>
54 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
55 macro. Based on a patch from Harlan Stenn.
57 2000-04-13 Akim Demaille <akim@epita.fr>
59 * compile: Remove unnecessary double quotes in assignments.
61 2000-04-13 Akim Demaille <demaille@epita.fr>
63 * automake.in (scan_one_configure_file): Also recognize
65 Remove trailing blanks.
67 2000-04-05 Tom Tromey <tromey@cygnus.com>
69 * header-vars.am (DESTDIR): Commented out definition.
71 * automake.in (require_file_internal): Pass --copy to libtoolize
72 if automake was run with `--copy'.
74 2000-03-22 Tom Tromey <tromey@cygnus.com>
76 * automake.texi (Uniform): Fix definition of pkglibdir.
77 From thi <ttn@revel.glug.org>.
79 2000-03-19 Tom Tromey <tromey@cygnus.com>
81 * aclocal.in (parse_arguments): Copyright 2000.
82 (write_aclocal): Likewise.
83 * automake.in (parse_arguments): Copyright 2000.
84 (initialize_global_constants): Likewise.
86 * automake.in (generate_makefile): Call handle_dist after
87 handle_dependencies and handle_tests. Fixes subobj3.test and
88 pr19.test regressions.
90 2000-03-19 Gordon Matzigkeit <gord@fig.org>
92 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
93 as the current directory.
96 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
98 * automake.in (handle_data): Pass -candist instead of
99 -defaultdist, for the compatibility.
101 2000-03-19 Tom Tromey <tromey@cygnus.com>
103 Fix for test nodepcomp.test:
104 * automake.in (require_file_internal): Use readlink on symlinks.
105 Only unlink file if we are going to try to add it again.
106 (handle_dependencies): Require `depcomp' here.
107 (scan_configure): Don't require `depcomp'.
109 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
111 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
112 the rule to remake Makefile, whether $use_dependencies is true
113 or not. This was a historical one and doesn't make sense any
116 2000-03-19 Tom Tromey <tromey@cygnus.com>
118 More for PR automake/38:
119 * automake.texi (Invoking Automake): Document --force-missing.
120 * automake.in (force_missing): New global.
121 (parse_arguments): Recognize --force-missing.
122 (initialize_global_constants): Document --force-missing.
123 (require_file_internal): Handle --force-missing.
125 Fix for PR automake/38:
126 * automake.in (require_file_internal): Check for and handle
127 dangling symlinks. Fixes symlink2.test.
129 Fix for PR automake/45:
130 * automake.texi (configure): Mention requirement to run
132 (Requirements): Removed most text.
133 * automake.in (seen_init_automake): New global.
134 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
135 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
136 Set seen_init_automake if needed.
138 Fix for PR automake/41:
139 * automake.in (require_file_found): New global.
140 (require_file_internal): Set require_file_found entry.
141 (handle_texinfo): Require file any number of times.
143 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
146 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
148 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
150 * m4/missing.m4: Print the backtick in a way that won't cause
151 autoconf CVS to emit any warnings.
153 2000-03-01 Jim Meyering <meyering@lucent.com>
155 * automake.in (handle_dist_worker) [generating rules for distdir]:
156 Don't use `ln' (which was just a space optimization anyway) to
157 populate $(distdir). Otherwise, the dist rules that change
158 permissions would end up affecting the master sources.
159 * texinfos.am (dist-info): Likewise.
161 2000-02-13 Jim Meyering <meyering@lucent.com>
163 * automake.in (generate_makefile): Detect write/close failure.
165 2000-02-02 Assar Westerlund <assar@sics.se>
167 * automake.in (handle_single_transform_list): do not use $< which
168 is not handled by all non-GNU makes. Instead do explicit sh code
169 testing for the file in this directory and srcdir. Based on a
170 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
172 2000-01-12 Tom Tromey <tromey@cygnus.com>
174 * m4/lispdir.m4: Added --with-lispdir argument processing.
177 2000-01-06 Tom Tromey <tromey@cygnus.com>
179 * automake.in (handle_configure): Don't check for
181 (scan_configure): Check for AC_PROG_MAKE_SET.
183 * header-vars.am (@SET_MAKE@): Added.
184 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
187 1999-12-19 Tom Tromey <tromey@cygnus.com>
189 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
191 (require_file_internal): Corrected arguments to second invocation
192 of maybe_push_required_file.
194 Fix for PR automake/9:
195 * automake.in (make_dirs, make_dirs_set): New globals.
196 (is_make_dir): New function.
197 (handle_configure): Use it.
198 (require_file_internal): Push file if there is no Makefile in its
200 (initialize_per_input): Initialize handle_dist_run.
201 (push_dist_common): Inspect handle_dist_run.
202 (handle_dist): Set handle_dist_run. Push items from
203 configure_dist_common onto dist_common if appropriate.
204 (configure_dist_common): New global.
205 (scan_configure): Set it.
206 (maybe_push_required_file): New function.
207 (require_file_internal): Use it.
209 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
210 more subdirs are defined. From Axel Belinfante. Fixes
213 1999-12-18 Tom Tromey <tromey@cygnus.com>
215 Partial fix for PR automake/40:
216 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
217 (uninstall-@DIR@LISP): Likewise.
218 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
219 (uninstall-@DIR@HEADERS): Likewise.
220 * data.am (install-@DIR@DATA): Handle nobase_ case.
221 (uninstall-@DIR@DATA): Likewise.
222 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
223 (am_install_var): Recognize and handle `nobase_' prefix.
225 1999-12-17 Tom Tromey <tromey@cygnus.com>
227 * automake.in (get_object_extension): Added space before `-I.'.
228 Report from Ralf Corsepius.
230 1999-12-15 Tom Tromey <tromey@cygnus.com>
232 * aclocal.in: Don't pass $acdir to scan_m4_files.
233 (parse_arguments): Push $acdir on end of dirlist.
234 (scan_file): Don't warn if duplicate macro seen.
236 1999-12-13 Tom Tromey <tromey@cygnus.com>
238 Fix for PR automake/30 and PR automake/23. Fixes test
240 * automake.in (initialize_per_input): Initialize
241 source_suffix_pattern.
242 (derive_suffix): New function.
243 (handle_single_transform_list): Call it.
245 * automake.in (add_depend2): Handle the no-dependency-tracking
246 case. Fixes test suffix2.test.
248 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
250 * automake.in (get_object_extension): Fixed quoting on
253 * depend2.am: Removed erroneous comment.
255 * automake.texi (Program variables): Document nostdinc.
257 * automake.in (get_object_extension): Respect nostdinc option.
258 (handle_options): Recognize nostdinc.
259 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
262 * automake.in (read_am_file): Allow conditional includes. Fixes
265 * depcomp: Handle case on SGI when libtool is `yes'.
266 * depend2.am (@EXT@.o): Set libtool.
267 (@EXT@.lo): Likewise.
268 (@EXT@.obj): Likewise.
270 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
273 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
275 * automake.in (add_depend2): substitute $rule in the rules
276 for individual files. Fixes test specflags5.test.
278 1999-12-12 Tom Tromey <tromey@cygnus.com>
280 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
281 to create directories. Fixes test subobj3.test.
283 1999-12-10 Tom Tromey <tromey@cygnus.com>
285 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
286 message when creating .deps files.
288 * automake.in (initialize_global_constants): If unreadable by
289 owner, make it readable by owner regardless of number of links.
290 Fixes more of install2.test.
292 * missing: Try to see if gnutar or gtar exist before invoking
295 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
296 install_sh value. Look for install-sh and install.sh in a
297 somewhat more sensible way. Fixes test install2.test. Partially
300 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
302 * m4/missing.m4: remove redundant backquote
304 1999-11-23 Tom Tromey <tromey@cygnus.com>
306 * automake.in (initialize_global_constants): Use `bzip2 -9', not
307 `bzip --best' Report from Jim Meyering.
309 1999-11-22 Tom Tromey <tromey@cygnus.com>
311 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
312 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
313 AM_MISSING_INSTALL_SH.
314 * automake.in (scan_one_configure_file): Reverted previous
317 * automake.in (scan_one_configure_file): Define `install_sh'
318 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
321 * automake.in (handle_single_transform_list): Generate explicit
322 rule for subdir objects. Fixes new addition to subobj.test.
324 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
325 defined by AC_SUBST. Fixes ltlibobjs.test.
327 Fix for sourcesub.test:
328 * automake.in (handle_single_transform_list): Added `var'
329 argument. If config sub found, give error.
330 (handle_source_transform): Updated for new
331 handle_source_transform.
333 * py-compile: New file.
334 * m4/Makefile.am (m4data_DATA): Added python.m4.
335 * m4/python.m4: New file.
336 * automake.texi (Uniform): Mention PYTHON.
338 * Makefile.am (amfiles): Added python.am, python-clean.am.
339 (dist_script_DATA): Added py-compile.
340 * python.am: New file.
341 * python-clean.am: New file.
342 * automake.in (seen_pythondir): New global.
343 (generate_makefile): Call handle_python.
344 (handle_python): New function.
345 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
347 (am_install_var): Special-case PYTHON like JAVA.
348 (scan_configure): Check for py-compile.
349 (initialize_global_constants): Added py-compile to @common_files.
351 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
353 1999-11-21 Tom Tromey <tromey@cygnus.com>
355 * automake.in (finish_languages): Only generate suffix rule when
356 not doing dependency tracking.
358 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
359 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
361 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
364 1999-11-19 Tom Tromey <tromey@cygnus.com>
366 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
367 Alexandre's change on branch.
369 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
371 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
373 * dejagnu.am: Set CDPATH before cd.
374 * Makefile.in: Rebuilt.
376 * automake.in (handle_single_transform_list): Change `\1' for `$1'
377 in `s///' replacement.
379 * automake.in (handle_dist): Set CDPATH before cd.
380 * dejagnu.am (check-DEJAGNU): Likewise.
381 * texinfos.am (install-info-am, dist-info): Likewise.
382 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
383 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
384 * aclocal.m4, configure, Makefile.in: Rebuilt.
386 * AUTHORS: Added myself.
388 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
390 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
391 Reported by Tim Wilkinson <tim@transvirtual.com>
392 * aclocal.m4, configure: Rebuilt.
394 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
396 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
397 LEX program is found, use `${am_missing_run}flex'.
399 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
401 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
404 * automake.in (handle_lib_objects_cond): Remove second dot from
405 dependency file names.
407 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
408 regardless of OBJEXT.
410 * automake.in (handle_dependencies): Add blank line after depend2.
411 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
412 blank line before `include's, not after them.
413 (scan_one_configure_file): Do not special-case `DEP_' any more.
415 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
417 * aclocal.m4, configure: Rebuilt.
419 * m4/depend.m4 (AMDEPBACKSLASH): Define.
420 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
422 * automake.in (handle_dependencies): Generate `include's for
423 dependency files after `@AMDEP@'.
425 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
426 --run support in the missing script, since SHELL is not exported.
427 Reported by job bogan <job@piquin.uchicago.edu>
428 * aclocal.m4, configure: Rebuilt.
430 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
432 * aclocal.m4, configure: Rebuilt with itself.
433 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
435 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
436 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
437 (AM_MISSING_HAS_RUN): New macro.
438 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
439 * automake.texi (Requirements): Likewise.
440 * version.texi, stamp-vti: Rebuilt.
442 1999-07-28 Tom Tromey <tromey@cygnus.com>
444 * depcomp: Handle the `hp' mode.
446 1999-07-06 Tom Tromey <tromey@cygnus.com>
448 * depcomp: Work around HP-UX 10.20 sed bug.
450 1999-07-05 Tom Tromey <tromey@cygnus.com>
452 * automake.in (handle_dependencies): Generate a separate include
453 for each dep file. Report from Alexandre Oliva.
454 * depend.am: Don't include DEP_FILES.
456 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
458 * depend.am: Add @AMDEP@ before `include', so that dependency
459 tracking can be disabled.
460 * depend2.am: Ditto, before all lines related with dependency
462 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
463 --enable/disable-dependency-tracking and sets AMDEP accordingly.
464 It is implicitly disabled if depcomp is missing.
465 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
466 generated by side-effect.
467 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
468 * automake.in (handle_dependencies): Add @AMDEP@ before the value
470 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
473 * depcomp: Support -xM for dependency generation, for Sun CC.
474 Reported by Alex Hornby <alex@anvil.co.uk>
475 * m4/depend.m4: Extract the list of supported dependency-tracking
476 mechanisms from the depcomp script and use it to test each one.
477 * THANKS: Added Alex Hornby.
479 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
480 to leave $(...COMPILE) in a line by itself.
482 * THANKS: Added Miles Bader.
484 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
486 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
487 Fix `dashmstdout' to ignore non-dependency-generating uses of the
489 * depcomp (makedepend): New dependency-generating method.
491 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
493 * missing: If given `--run' as first argument, try to run the
494 given program before falling back to the ``emulated'' behavior.
495 Add support for `tar'.
496 * automake.in: Use new `tar' support for `dist'.
497 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
498 program, prepend `missing --run' to the given program name.
499 * m4/init.m4: Remove AMTAR-related stuff.
502 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
503 CONFIG_FILES. Do not use temporary variable for list of
504 dependency files, it breaks Cygwin.
506 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
508 * depcomp (gcc): Imported comments removed from depend2.am, so
509 that we don't lose them.
511 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
512 when not using ansi2knr.
514 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
516 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
517 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
519 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
521 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
522 so as not to compile an empty source; some compilers fail on this.
523 Redirect stderr of depcc to /dev/null. Test for -M with -o,
524 because some compilers will output the rules to the output file.
525 * depcomp (dashmstdout): Add --silent before --mode=compile, so
526 that we don't get libtool output mixed up with make rules.
528 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
529 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
530 -o for libtool, otherwise it may try to deduce the object name
531 from the dependency-generation flag.
532 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
535 * libtool.am: Do not emit .c.lo here...
536 * depend2.am: ... emit .*.lo here, only when using libtool.
537 * automake.in (get_object_extension): No more @MINUSO@ here.
538 (handle_single_transform_list): Set $depfile from $object.
539 (handle_dependencies): Emit depend2.am for all used languages,
540 regardless of $use_dependencies; the setting of depcomp makes the
542 (lang_cxx_finish): Do not emit compilation rules.
543 (lang_objc_finish): Likewise.
544 (lang_java_finish): Likewise.
546 1999-04-21 Tom Tromey <tromey@cygnus.com>
548 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
549 interpolate DEPDIR in DEP_FILES expansion.
551 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
553 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
555 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
556 handle multi-line dependency lists.
558 1999-11-12 Tom Tromey <tromey@cygnus.com>
560 Fix for PR automake/14:
561 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
563 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
565 * m4/multi.m4: Added missing `]'. From Akim Demaille.
567 * Makefile.am (path-check): Make sure distdir is writeable before
569 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
570 (handle_dist_worker): Make sure distdir is writeable before
572 (initialize_global_constants [$dist_trailer]): Make sure distdir
573 is writeable before removing it.
574 * dist.am (distcheck): Make the new source tree read-only before
575 compiling. Idea from Karl Berry.
577 * automake.texi (Gnits): Allow COPYING.LIB again.
578 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
580 1999-11-11 Jim Meyering <meyering@ascend.com>
582 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
585 1999-11-09 Tom Tromey <tromey@cygnus.com>
587 * automake.in (handle_dist): Typo fix. From Jim Meyering.
589 1999-11-09 Jim Meyering <meyering@ascend.com>
591 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
592 markers, no matter what.
594 1999-11-08 Tom Tromey <tromey@cygnus.com>
596 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
599 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
600 From Jim Meyering. Also, don't mention file name in `cp'
601 destination. From Olly Betts.
603 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
605 * texinfos.am (uninstall-info): Use installed info file, not one
606 from srcdir or builddir.
608 1999-11-07 Tom Tromey <tromey@cygnus.com>
610 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
613 Fix for PR automake/18:
614 * automake.in (handle_dist): Add contents of dist.am to the output
616 * Makefile.am (amfiles): Added dist.am.
618 (distcheck): Added uninstall and distclean checks.
620 * automake.in (PATH_PATTERN): Added `-' as allowable character.
621 Fixes PR automake/20. From Matthew D. Langston.
623 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
624 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
626 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
628 * m4/lispdir.m4: -batch must come before -q.
629 * elisp-comp: Likewise.
630 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
631 * THANKS: Added Lars.
633 1999-08-15 Tom Tromey <tromey@cygnus.com>
635 * automake.in (get_object_extension): Fixed quoting bug. Fixes
638 1999-07-27 Tom Tromey <tromey@cygnus.com>
640 * config.guess, config.sub: New versions from autoconf.
642 1999-07-13 Tom Tromey <tromey@cygnus.com>
644 Work around losing `awk'. Report from Harlan Stenn.
645 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
646 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
648 * automake.in (handle_source_transform): Mark prefix as seen if
649 corresponding _SOURCES variable exists. Fixes empty2.test.
651 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
653 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
655 (AUTOMAKE): Set --amdir to current directory.
657 1999-06-20 Tom Tromey <tromey@cygnus.com>
659 * Makefile.am (TAGS_FILES): New macro.
660 (ETAGS_ARGS): Moved files into TAGS_FILES.
661 (TAGS_DEPENDENCIES): Likewise.
662 (ETAGS_ARGS): Removed.
663 (TAGS_DEPENDENCIES): Removed duplicate definition.
665 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
666 from Ganesan Rajagopal.
669 1999-06-18 Thomas Tanner <tanner@ffii.org>
671 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
674 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
676 * ylwrap: Handle filenames output by the DOS version of Bison.
678 1999-06-20 Tom Tromey <tromey@cygnus.com>
680 * ylwrap: Be less strict when recognizing DOS paths. From Mark
683 1999-06-19 Tom Tromey <tromey@cygnus.com>
685 * automake.in (handle_dist_worker): Remove redundant entries from
688 * automake.in (handle_lib_objects_cond): Better error message when
689 unrecognized option passed in LDADD.
691 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
693 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
694 appropriate --acdir and --amdir arguments.
696 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
698 * automake.in (dist_header): Avoid changing permissions of files
699 in the source tree, trying a complex `find/chmod' command before
700 falling back to plain chmod.
701 (handle_dist_worker): Do not create directories with mode 777, the
702 find above will take care of that.
703 * m4/init.m4: Set install_sh for find/chmod above.
705 * THANKS: Added Shuhei Amakawa.
707 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
709 * mans.am: Strip dirname from given filename.
711 1999-06-07 Jim Meyering <meyering@ascend.com>
713 * automake.in (handle_dist): Change emitted rules so that a failure
714 in `$(MAKE) distcheck-hook' propagates to the outer make.
716 1999-05-27 Tom Tromey <tromey@cygnus.com>
718 * automake.in (handle_single_transform_list): Replace AM_FLAG and
719 not FLAG in compilation rule.
720 (add_depend2): Likewise.
722 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
725 * m4/dmalloc.m4: Updated dmalloc site information.
727 1999-05-19 Tom Tromey <tromey@cygnus.com>
729 * automake.in (handle_single_transform_list): Push object name
730 without extension onto lang_specific_files. Fixes
733 * automake.in (handle_single_transform_list): Added missing
734 space. Fixes specflags.test.
736 1999-05-05 Tom Tromey <tromey@cygnus.com>
738 * automake.in: Disabled dependency tracking for Java.
740 1999-05-04 Tom Tromey <tromey@cygnus.com>
742 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
743 * automake.in (handle_libraries): Recognize _AR variable.
745 1999-04-30 Tom Tromey <tromey@cygnus.com>
747 * automake.in (finish_languages): Always use `-o $@' with
748 libtool. Define ltcompile and ltlink at outermost scope in
750 * libtool.am (.c.lo): Removed.
752 * automake.in (finish_languages): Put `.' before extension in
753 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
754 `-flag'. From Pavel Roskin.
756 1999-04-28 Tom Tromey <tromey@cygnus.com>
758 * automake.in (finish_languages): Fixed scoping of ltcompile and
759 ltlink. From Pavel Roskin.
761 1999-04-27 Tom Tromey <tromey@cygnus.com>
763 * automake.in (read_main_am_file): Don't start macro definition
764 with backslash-newline. Instead, append newline at the end if
767 * automake.in (read_am_file): Insert a backslash before a trailing
768 newline. Fixes pluseq8.test.
770 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
772 (check_canonical_spelling): Don't insert `AM' before macro name
773 (reverts Alexandre's 1999-04-27 patch).
774 * automake.texi: Reverted documentation change for `AM' patch.
776 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
777 Minor rewrite for clarity.
778 (check_canonical_spelling): Prefer `$1' over `\1'.
780 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
783 * automake.in (handle_single_transform_list): Don't print rule if
784 doing dependency tracking and the file's language supports it.
785 (initialize_per_input): Initialize lang_specific_files.
786 (add_depend2): New function.
787 (handle_dependencies): Use it.
789 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
790 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
791 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
793 (lang_ratfor_finish): Use lang_f77_finish.
795 * compile.am (NOTDEPEND.c.o): Removed.
796 (OBJEXT.c.obj): Likewise.
797 * automake.in: Added `flags' attribute to all relevant languages.
798 (handle_single_transform_list): Handle per-derived-object flags.
799 Changed interface and all callers.
800 (handle_built_sources): Don't call handle_single_transform_list.
801 Added `compile' and `compiler-name' attribute to all relevant
803 (finish_languages): Define compiler variables here.
804 (lang_cxx_finish): Don't call define_compiler_variable. Don't
805 define flag variable or .o rules. Don't add to @suffixes.
806 (lang_f77_finish): Likewise.
807 (lang_ppf77_finish): Likewise.
808 (lang_objc_finish): Likewise.
809 (lang_java_finish): Likewise.
810 (finish_languages): Define flag variable here.
811 Added `output-arg' attribute to all relevant languages.
812 (finish_languages): Define `.o' rules here.
813 (finish_languages): Put extension on @suffixes.
814 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
816 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
818 * automake.in (initialize_global_constants): Invoke gzip for
819 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
821 * automake.in (initialize_global_constants): Remove zip file
822 before re-creating it.
823 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
825 * texinfos.am (uninstall-info): Look for info file in srcdir, just
826 like in install-info-am.
827 Reported by Tudor Hulubei <tudor@cs.unh.edu>
829 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
830 Let's use the good ol' substitution, then.
831 Reported by Russ Allbery <rra@stanford.edu>
833 * automake.in (check_canonical_spelling): Insert AM before names
834 starting with non-letters.
836 * automake.texi: Document it.
838 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
840 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
841 doesn't work on perl4. Maybe \Q and \E do.
843 1999-04-24 Tom Tromey <tromey@cygnus.com>
845 * automake.in: Treat `.zip' and `.jar' files as Java.
847 * automake.in (generate_makefile): Define `subdir' after reading
849 (read_main_am_file): Give programming error if variable defined
852 1999-04-22 Tom Tromey <tromey@cygnus.com>
854 * automake.in (generate_makefile): Define `subdir' variable.
855 (handle_dist): Don't define `subdir'.
857 * automake.in (handle_texinfo): Change numbering scheme for
858 stamp-vti files, to avoid problems with DOS.
859 From Michel de Ruiter.
861 * automake.texi: Don't mention AM_FUNC_MKTIME.
862 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
863 * automake.in (scan_one_configure_file): Recognize
864 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
865 (obsolete_macros): Mention AM_FUNC_MKTIME.
866 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
867 * m4/mktime.m4: Removed.
869 1999-04-20 Tom Tromey <tromey@cygnus.com>
871 * automake.texi (Top level): Don't recommend substing SUBDIRS.
873 1999-04-20 Brian Ford <ford@vss.fsi.com>
875 * scripts.am: Change else if's to elif.
877 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
879 * automake.in (handle_lib_objects_cond): Only require the source
880 of a LIBOBJ if it's not in BUILT_SOURCES.
881 Reported by Erez Zadok.
883 1999-04-19 Tom Tromey <tromey@cygnus.com>
885 * automake.in: Treat `.class' files as Java source.
886 (lang_java_finish): Handle `.class' files.
888 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
890 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
892 * m4/lispdir.m4: Do not override lispdir if it's already defined.
893 Run some emacs-lisp to find out the site-lisp directory, but
894 relocate it into prefix.
896 1999-04-17 Paul Eggert <eggert@twinsun.com>
898 * m4/mktime.m4 (bigtime_test, main): Move alarm from
899 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
900 even outside of bigtime_test. Use a time limit of 60 seconds
901 for the whole test, not 10 seconds per iteration.
903 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
905 * automake.in: Create stamps for headers in appropriate
906 directories, even if the input file lives in a different place.
907 * remake-hdr.am: Likewise.
909 1999-04-16 Tom Tromey <tromey@cygnus.com>
912 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
913 Invoke `sed' only once per program.
914 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
915 Invoke `sed' only once per program.
917 1999-04-13 Tom Tromey <tromey@cygnus.com>
919 * automake.in (handle_subdirs): Make `install-recursive' phony.
920 From Michel de Ruiter.
922 * automake.in (handle_ltlibraries): Added missing `check'.
924 1999-04-12 Tom Tromey <tromey@cygnus.com>
926 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
929 1999-04-11 Tom Tromey <tromey@cygnus.com>
931 * automake.in (handle_dist): Use AMTAR.
932 (initialize_global_constants): Likewise.
933 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
935 * automake.in (lang_sub_obj): New function.
936 (lang_cxx_rewrite): Use it.
937 (lang_asm_rewrite): Likewise.
938 (lang_objc_rewrite): Likewise.
939 (lang_cxx_finish): Add `-o $@' to all C++ rules.
940 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
941 (lang_objc_finish): Add `-o $@' to all ObjC rules.
942 (lang_java_finish): Likewise.
944 * automake.in: Only register `asm' once.
945 (lang_asm_finish): Put assembly suffixes on @suffixes.
947 * libtool.am (.s.lo): Removed.
949 * automake.in (lang_asm_finish): Handle libtool.
951 * libtool.am (.c.o): Always pass -c to libtool.
953 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
954 (lang_yaccxx_rewrite): Likewise.
955 (lang_lex_rewrite): Likewise.
956 (lang_lexxx_rewrite): Likewise.
958 Assembly code no longer included by default:
959 * compile.am (.s.o): Removed.
961 * automake.in: Register `asm' language.
962 (lang_asm_finish): Generate suffix rules for assembly.
963 (get_object_extension): Don't add `.s' or `.S' to suffix list.
965 * automake.in (get_object_extension): Substitute @MINUSO@ when
966 including compile.am.
967 * compile.am (.c.o): Added @MINUSO@.
970 First cut at allowing objects in subdirectories:
971 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
972 * Makefile.am (dist_script_DATA): Added compile.
973 * m4/minuso.m4: New file.
974 * automake.in (initialize_global_constants): Added compile to
976 (seen_cc_c_o): New global.
977 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
978 (handle_options): Recognize `subdir-objects' option.
979 (lang_c_rewrite): Added directory argument.
980 (lang_yacc_rewrite): Likewise.
981 (lang_yaccxx_rewrite): Likewise.
982 (lang_lex_rewrite): Likewise.
983 (lang_lexxx_rewrite): Likewise.
984 (handle_single_transform_list): Pass directory to _rewrite
985 function. Generate dependencies for dirstamp files for each .o;
986 it is just the rules we want to create once.
987 (lang_c_rewrite): Handle `subdir-objects' option.
988 (lang_c_rewrite): Require `compile' program.
991 * automake.in (initialize_per_input): Initialize %directory_map.
992 (handle_single_transform_list): Only create .dirstamp rules once
995 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
998 * automake.in (configure_input_files): New global.
999 (scan_configure): Set it.
1000 (handle_configure): Use configure_input_files when determining
1001 which subdirs have a Makefile.am. Fixes confh.test.
1002 (handle_configure): Only recognize acconfig.h in top srcdir.
1004 1999-04-10 Tom Tromey <tromey@cygnus.com>
1006 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1009 * automake.in (am_install_var): Remove redundancies from the
1010 result. Fixes test cond8.test.
1012 * automake.in (handle_single_transform_list): Handle dependency
1013 tracking when files are created in subdirs. Error if object in
1014 subdir has `..' component.
1016 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1018 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1020 * automake.in (lang_yacc_finish): Added missing `&'.
1022 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1024 * automake.in (handle_configure): Replace multiple occurrences of
1025 @STAMP@ in the same line; completes the patch for remake-hdr.am
1028 * automake.in (handle_dependencies): Fix test for `autodep'
1031 * automake.in (handle_source_transform): Add a pfx to used_pfx
1032 only if it's conditional or non-empty, to reduce the number of
1033 empty variables. Emit _OBJECS variable based on program name if
1034 no SOURCES were explicitly specified.
1036 * remake-hdr.am: Create the stamp file before the header file,
1037 and just rename it after, so that the timestamps will be correct.
1038 Reported by Marc Horowitz <marc@mit.edu>
1040 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1041 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1042 Reported by Jim Meyering <meyering@ascend.com>
1044 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1046 1999-04-10 Tom Tromey <tromey@cygnus.com>
1048 * Makefile.am (EXTRA_DIST): New macro.
1049 * ChangeLog.1996, ChangeLog.1998: New files.
1051 1999-04-09 Tom Tromey <tromey@cygnus.com>
1053 * automake.in (handle_source_transform): Handle dist and nodist
1055 (initialize_per_input): Initialize dist_sources.
1056 (check_libobjs_sources): Handle dist and nodist prefixes.
1057 (generate_makefile): Define DIST_SOURCES.
1058 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1060 * automake.texi (Macros): Mention AM_PROG_GCJ.
1061 (Java Support): New node.
1062 (Dist): Documented dist_ and nodist_ prefixes.
1064 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1066 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1067 files, not `.gcj' files.
1069 * m4/gcj.m4: New file.
1070 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1072 * automake.in: Register the `java' language.
1073 (resolve_linker): Handle GCJLINK.
1074 (lang_java_rewrite): New function.
1075 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1076 (lang_c_rewrite): Use new constants.
1077 (lang_cxx_rewrite): Likewise.
1078 (lang_header_rewrite): Likewise.
1079 (lang_yacc_rewrite): Likewise.
1080 (lang_yaccxx_rewrite): Likewise.
1081 (lang_lex_rewrite): Likewise.
1082 (lang_lexxx_rewrite): Likewise.
1083 (lang_asm_rewrite): Likewise.
1084 (lang_f77_rewrite): Likewise.
1085 (lang_ppf77_rewrite): Likewise.
1086 (lang_ratfor_rewrite): Likewise.
1087 (lang_objc_rewrite): Likewise.
1088 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1089 return from rewrite function.
1090 (lang_java_finish): New function.
1091 (register_language): Changed interface and all calls. Added
1092 `autodep' settings to various languages.
1093 (handle_dependencies): Use `autodep' property of language when
1094 including dependency-tracking code.
1096 1999-04-07 Tom Tromey <tromey@cygnus.com>
1098 * automake.in (handle_texinfo): Indentation fixes.
1100 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1102 * automake.in (value_to_list): Skip *only* trailing backslashes.
1104 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1106 * automake.in (value_to_list): Skip trailing backslashes.
1108 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1110 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1112 Reported by Per Cederqvist <ceder@lysator.liu.se>
1113 (handle_texinfo): Do not define texinfo_tex='.', use
1114 '$(srcdir)/texinfo.tex' instead; the directory name will be
1116 (require_conf_file_with_line): Fixed typo.
1118 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1120 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1121 we do not depend on PATH starting with `.'.
1123 1999-03-31 Tom Tromey <tromey@cygnus.com>
1125 * automake.in (quote_cond_val): Quote \n.
1126 (unquote_cond_val): Unquote \n.
1127 (read_am_file): If line ends with `\', preserve it and add a
1129 (read_main_am_file): In conditional case, put conditional text at
1130 beginning of each generated line.
1132 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1134 * automake.in (handle_tests): support XFAIL_TEST
1135 * automake.texi: document it
1137 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1139 * End of merge from trunk.
1141 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1143 * automake.in (cmdline_use_dependencies): Reintroduce it.
1144 (--ignore-deps): Set cmdline_use_dependencies again.
1145 (handle_dependencies): If use_dependencies is not set, define
1147 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1148 (scan_configure): Do not require depcomp when ignoring
1150 (initialize_global_constants): Reintroduce --ignore-deps.
1152 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1154 * depcomp: New file.
1155 * Makefile.am (dist_script_DATA): Added depcomp.
1156 * automake.in (cmdline_use_dependencies, omit_dependencies,
1157 dependency_macros): Removed.
1158 (--ignore-deps): Just ignore.
1159 (handle_single_transform_list, dep_files): Named dependency files
1160 as \$(DEPDIR)/$base.P$obj
1161 (handle_lib_objects_cond): Likewise.
1162 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1163 (scan_one_configure_file): Likewise.
1164 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1165 Ignore OMIT_DEPENDENCIES.
1166 (handle_configure): Do not pass --ignore-deps.
1167 (scan_configure): Require `depcomp'.
1168 (initialize_global_constants): Make `depcomp' common. Remove
1169 `--ignore-deps' from usage.
1170 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1171 * compile.am: Remove rules for .c.o and .c.obj
1172 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1173 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1174 Use it and depcomp in suffix rules.
1175 * libtool.m4: Likewise.
1176 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1177 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1178 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1179 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1180 from the Makefile and subst it in deps. Report creation of deps
1181 files (for now). Replace $U with `_' and the empty string. Write
1182 a comment to each created file.
1183 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1184 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1185 dependency mode and AC_SUBST [$1]DEPMODE.
1186 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1187 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1188 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1190 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1192 * depout.m4: Fix sed expression for extracting `dirpart'.
1194 1999-03-29 Tom Tromey <tromey@cygnus.com>
1196 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1198 * compile.am (.c.obj): Also disabled when dependency tracking
1200 * depend2.am (@EXT@.obj): New target.
1201 * automake.in (get_object_extension): Added explanatory comment.
1202 (generate_dependency_code): Handle $seen_objext.
1204 * depend.am: Removed obsolete comment.
1205 * depend2.am: Minor formatting fix.
1207 1999-03-28 Tom Tromey <tromey@cygnus.com>
1209 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1211 (EXTRA_DIST): Removed.
1212 * automake.in (dependency_macros): New global.
1213 (scan_one_configure_file): Recognize new dependency tracking
1214 macros, and define new resulting configure variables.
1215 (generate_dependency_code): New sub.
1216 (handle_dependencies): Use it.
1217 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1219 (@EXT@.lo): Likewise.
1220 * m4/depvars.m4: New file.
1221 * m4/objcdepend.m4: New file.
1222 * m4/cxxdepend.m4: New file.
1223 * m4/init.m4: Moved dependency handling code into depout.m4.
1224 * m4/depout.m4: New file.
1225 * m4/ccdepend.m4: New file.
1226 * m4/depend.m4: New file.
1228 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1229 (@EXT@.lo): Likewise.
1230 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1233 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1234 will create the required .P files for dependency tracking.
1235 * automake.in (scan_dependency_file): Removed.
1236 (handle_dependencies): Never call scan_dependency_file.
1237 (generate_deps): Removed.
1238 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1239 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1240 (srcdir_name): Removed.
1241 (build_directory): Removed.
1242 (initialize_global_constants): Changed $USAGE to reflect argument
1244 (handle_dist_worker): Never run automake in `dist' rule.
1245 (handle_configure): Use --ignore-deps, not --include-deps.
1246 * depend.am (DEPS_MAGIC): Removed.
1247 (DEP_FILES): Unconditionally include.
1249 1999-03-27 Tom Tromey <tromey@cygnus.com>
1251 * automake.in (saw_sources_p): Correctly count header extensions
1253 (handle_headers): Fixed order of arguments to am_install_var.
1255 * automake.in (am_install_var): Don't error if EXTRA_foo is
1258 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1259 (uninstall-@DIR@SCRIPTS): Likewise.
1260 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1261 (uninstall-@DIR@PROGRAMS): Likewise.
1262 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1263 (uninstall-@DIR@LTLIBRARIES): Likewise.
1264 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1265 (uninstall-@DIR@LISP): Likewise.
1266 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1267 (uninstall-@DIR@LIBRARIES): Likewise.
1268 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1269 (uninstall-@DIR@JAVA): Likewise.
1270 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1271 (uninstall-@DIR@HEADERS): Likewise.
1272 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1273 (uninstall-@DIR@DATA): Likewise.
1274 * Makefile.in: Rebuilt.
1275 * Makefile.am (dist_pkgdata_DATA): Renamed.
1276 (EXTRA_DIST): Removed.
1277 (install-data-hook): Added POST_INSTALL; print commands as they
1278 are run; respect DESTDIR.
1279 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1280 * automake.in (am_install_var): Accept `-candist' and
1281 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1282 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1283 and `nodist_' prefixes.
1284 (handle_scripts): Pass -candist to am_install_var.
1285 (handle_data): Pass -defaultdist to am_install_var.
1286 (handle_headers): Likewise.
1287 (handle_emacs_lisp): Pass -candist to am_install_var.
1288 (handle_java): Pass -candist to am_install_var.
1290 1999-03-26 Tom Tromey <tromey@cygnus.com>
1292 * m4/init.m4: Fixed typo when invoking SHELL.
1294 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1295 yacc header file. From Ralf Corsepius.
1297 * Makefile.in: Rebuilt.
1298 * Makefile.am: Updated to reflect removal of TAR subst.
1299 * automake.texi (Options): Document dist-bzip2.
1300 * automake.in (TAR): Removed global.
1301 (initialize_global_constants): Changed `dist' to use pipe with
1302 gzip; work with non-GNU tar.
1303 (handle_dist): Handle non-GNU tar. Don't define TAR.
1304 (initialize_global_constants): Added `dist-bzip2' entry.
1305 (handle_options): Recognize dist-bzip2 option.
1306 (handle_dist): Likewise.
1307 * configure: Rebuilt.
1308 * configure.in: Don't check for tar.
1309 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1312 * automake.in (am_install_var): Removed obsolete comment.
1314 * texinfos.am (uninstall-info): Don't print loop but instead print
1315 commands. Simplified pre-uninstall loop.
1316 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1317 instead print commands.
1318 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1320 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1321 instead print commands.
1322 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1323 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1324 instead print commands.
1325 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1327 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1329 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1330 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1331 instead print commands.
1332 * data.am (install-@DIR@DATA): Strip subdir from file name.
1333 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1334 instead print commands.
1336 * automake.in (handle_merge_targets): `install-strip' is a phony
1337 target. From Michel de Ruiter.
1339 1999-03-25 Tom Tromey <tromey@cygnus.com>
1341 * automake.in (define_compiler_variable): Don't define variable
1344 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1346 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1347 * automake.texi: ditto
1349 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1351 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1352 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1354 1999-03-24 Tom Tromey <tromey@cygnus.com>
1356 * automake.in (define_compiler_variable): New sub.
1357 (finish_languages): Use it.
1358 (lang_cxx_finish): Likewise.
1359 (lang_f77_finish): Likewise.
1360 (lang_ppf77_finish): Likewise.
1361 (lang_ratfor_finish): Likewise.
1362 (lang_objc_finish): Likewise.
1364 1999-03-23 Tom Tromey <tromey@cygnus.com>
1366 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1367 sed invocations. From Elrond.
1368 (uninstall-@DIR@PROGRAMS): Likewise.
1370 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1371 From Ralf Corsepius.
1373 1999-02-01 Thomas Tanner <tanner@gmx.de>
1375 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1376 warning when AM_PROG_LIBTOOL was found
1377 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1379 1999-03-22 Tom Tromey <tromey@cygnus.com>
1381 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1382 * automake.in (define_standard_variables): New sub.
1383 (read_main_am_file): Use two passes to scan standard variables.
1384 (read_am_file): Don't special-case configure variables with `+='.
1385 (initialize_per_input): Initialize %var_was_plus_eq.
1386 (read_am_file): Set var_was_plus_eq element correctly.
1387 (define_variable): Give error if variable assigned with `+=' is
1389 (initialize_per_input): Initialize %am_var_defs.
1390 (file_contents_with_transform): Set element in %am_var_defs.
1391 (read_am_file): Use %am_var_defs.
1393 1999-03-21 Tom Tromey <tromey@cygnus.com>
1395 * automake.in (initialize_per_input): Initialize %object_map.
1396 (handle_single_transform_list): Allow source files in
1399 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1401 * automake.in (handle_dist): Add missing newline after the first
1404 1999-03-11 Tom Tromey <tromey@cygnus.com>
1406 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1407 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1410 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1412 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1413 legitimate ending. Fixes libobj9.test.
1415 From Ralf Corsepius. Fixes lex3.test.
1416 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1417 maintainer-clean list.
1418 (lang_lex_finish): Likewise.
1420 1999-03-02 Tom Tromey <tromey@cygnus.com>
1422 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1423 construct to work around FreeBSD make/sh problem. From Rich Wales.
1425 1999-03-01 Tom Tromey <tromey@cygnus.com>
1427 Fixes from Pavel Roskin:
1428 * automake.in (variable_conditions_sub): Sort list passed to
1429 variable_conditions_permutations.
1430 (variable_conditions): Sort list before returning.
1432 1999-02-27 Tom Tromey <tromey@cygnus.com>
1434 * automake.in (lang_extensions): New sub.
1435 (handle_dependencies): Use it.
1436 (cxx_extensions): Removed.
1437 (lang_cxx_finish): Use lang_extensions.
1438 (f77_extensions): Removed.
1439 (lang_f77_finish): Use lang_extensions.
1440 (objc_extensions): Removed.
1441 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1442 Report from Dave Morrison.
1443 (lang_ratfor_finish): Likewise.
1445 1999-02-26 Tom Tromey <tromey@cygnus.com>
1447 * automake.in (finish_languages): Added AM_LDFLAGS.
1448 (lang_cxx_finish): Likewise.
1449 (lang_f77_finish): Likewise.
1450 (lang_ppf77_finish): Likewise.
1451 (lang_ratfor_finish): Likewise.
1452 (lang_objc_finish): Likewise.
1454 1999-02-11 Tom Tromey <tromey@cygnus.com>
1456 * aclocal.in (obsolete_macros): Copied from automake.in.
1457 (obsolete_rx): Use only keys of obsolete_macros.
1458 (scan_configure): Report replacement macro for an obsolete macro.
1459 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1461 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1462 entry. Fixes obsolete2.test.
1464 * automake.in (obsolete_macros): Use empty string to indicate no
1466 (scan_one_configure_file): Likewise.
1468 1999-02-07 Paul Eggert <eggert@twinsun.com>
1470 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1471 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1472 needed by some programs.
1474 1999-02-10 Tom Tromey <tromey@cygnus.com>
1476 * automake.in (handle_texinfo): Added `pgs' to list of
1477 extensions. From NISHIDA Keisuke.
1479 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1481 * automake.in (handle_texinfo): remove texinfo.tex from
1484 1999-02-02 Tom Tromey <tromey@cygnus.com>
1486 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1487 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1488 * header-vars.am (INSTALL_PROGRAM): Removed
1489 AM_INSTALL_PROGRAM_FLAGS.
1490 (INSTALL_STRIP_FLAG): New macro.
1492 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1494 (lang_yacc_finish): Likewise.
1495 (lang_lex_finish): Likewise.
1497 1999-02-01 Tom Tromey <tromey@cygnus.com>
1499 * automake.in (handle_dist_worker): Correctly find find in $$d,
1500 not $$. From Bill Davidson.
1502 * automake.in (finish_languages): Use "&", not "do". From Pavel
1504 (handle_single_transform_list): Likewise.
1506 1999-01-29 Tom Tromey <tromey@cygnus.com>
1508 * automake.in (handle_configure): Removed unused variable. From
1511 * ansi2knr.c: New version from L. Peter Deutsch.
1513 1999-01-22 Tom Tromey <tromey@cygnus.com>
1515 * automake.in (require_file_internal): Correctly examine return
1516 value of `system'. From Andris Pavenis. Fixes copy.test.
1518 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1520 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1521 Kuepper. Fixes ppf77.test.
1522 (lang_ratfor_rewrite): New function
1524 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1525 fix). From Erez Zadok.
1527 1999-01-15 Tom Tromey <tromey@cygnus.com>
1529 * configure.in: Version 1.4a (oops).
1531 * configure.in: Updated version to 1.5a.
1533 1999-01-14 Tom Tromey <tromey@cygnus.com>
1535 * automake.in (handle_configure): Compute $header_dir based on
1536 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1538 (handle_configure): Compute relative path to input header
1539 correctly in all cases.
1541 * automake.in (handle_tests): Avoid error messages from dejagnu
1542 test rules. From Karl Heuer.
1544 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1546 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1548 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1549 From Alexandre Oliva and Erez Zadok.
1551 * automake.in (create): Renamed from touch.
1552 (handle_configure): Use create, not touch.
1554 * config.sub, config.guess: New versions from autoconf.
1556 * mkinstalldirs: New version from autoconf.
1558 1999-01-12 Tom Tromey <tromey@cygnus.com>
1560 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1563 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1565 * automake.in (PATH_PATTERN): New variable:
1566 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1567 symbols besides $(top_srcdir) and $(srcdir).
1569 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1571 * automake.in (handle_dist_worker): avoid failure in `make dist'
1572 if last file is a builddir-only file
1574 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1576 * missing (autoheader): `s' was missing from sed script; grr
1578 1999-01-11 Tom Tromey <tromey@cygnus.com>
1580 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1581 ($(srcdir)/@STAMP@.in): Likewise.
1583 1999-01-10 Tom Tromey <tromey@cygnus.com>
1585 * Makefile.am (scriptdir): New macro.
1586 (script_DATA): Likewise.
1587 (install-data-hook): Use them.
1588 (EXTRA_DIST): Added script_DATA.
1589 (installcheck-local): Use script_DATA.
1591 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1593 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1595 * missing (autoheader): accept multiple header files
1596 (automake): simplify sed processing
1598 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1600 * automake.in (handle_configure, stamp_dir): create only one stamp
1601 file per header, instead of one in the top-level directory and one
1602 in the directory that contains the header.
1604 1999-01-10 Tom Tromey <tromey@cygnus.com>
1606 * automake.in (lang_objc_finish): Formatting fix.
1608 * automake.in (objc_extensions): New sub.
1609 (handle_dependencies): Only generate dependency-tracking code for
1610 ObjC when ObjC source seen.