1 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
3 * depcomp (gcc): Support DOS-style absolute file names with drive
6 2000-08-06 Jim Meyering <meyering@lucent.com>
8 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
9 if the depcomp file exists, before calling require_config_file on
10 `depcomp'. This makes require_file_internal skip its buggy existence
11 test that would make automake fail (with `required file `lib/depcomp'
12 not found') when AC_CONFIG_AUX_DIR is not set.
14 This change change does not fix the existing bug where, if `depcomp'
15 is not present in the build directory (at the top level), automake
16 still gives the inaccurate diagnostic about *lib*/depcomp rather
19 2000-08-05 Jim Meyering <meyering@lucent.com>
21 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
22 add missing closing bracket and closing parenthesis.
23 Don't quote the first argument to AC_OUTPUT_COMMANDS.
24 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
26 2000-08-04 Tom Tromey <tromey@cygnus.com>
28 Idea from Nicolas Thiery:
29 * automake.texi (Tests): Document DEJATOOL as a list.
30 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
31 (check-DEJAGNU): Run runtest in a loop.
33 2000-08-02 Akim Demaille <akim@epita.fr>
35 * m4: Quote properly the name of the macros being defined.
36 Use `#' instead of `dnl' where appropriate.
37 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
39 Don't quote passive characters.
40 Pull the AC_PREREQ outside the macro.
41 * m4/init.m4: Pull the AC_PREREQ outside the macro.
43 2000-07-28 Tom Tromey <tromey@cygnus.com>
45 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
48 2000-07-13 Kevin Ryde <user42@zip.com.au>
50 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
51 EXTRA_PROGRAMS as well as other _PROGRAMS.
53 2000-07-02 Jim Meyering <meyering@lucent.com>
55 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
57 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
59 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
62 2000-06-02 Morten Eriksen <mortene@sim.no>
64 * depcomp: workaround for problem with SGI IRIX sed (it can only
65 handle lines of up to 8192 characters, the rest of the line will
68 2000-05-31 Morten Eriksen <mortene@sim.no>
70 * depcomp: tell SGI MIPSpro compilers to generate dependencies
71 through the pre-processor (only CVS libtool has the -Wc option
74 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
76 * missing: Add support for `help2man'.
78 2000-05-11 Tom Tromey <tromey@cygnus.com>
80 * automake.in (handle_tests): Work correctly if TESTS is empty;
81 print nothing if it is. From Kevin Ryde.
83 2000-05-08 Tom Tromey <tromey@cygnus.com>
85 * automake.texi (Texinfo): Mention vers*.texi.
87 2000-05-04 Akim Demaille <akim@epita.fr>
89 AM_INIT_AUTOMAKE is no longer optional, so don't look for
90 `VERSION=' and `PACKAGE='.
91 * automake.in (seen_package, seen_version): Remove initializations of
92 unnecessary variables.
93 (scan_one_configure_file): Don't set them.
94 (scan_configure): Don't use them.
96 2000-05-01 Akim Demaille <akim@epita.fr>
98 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
99 (AM_INIT_AUTOMAKE): Update the writing conventions.
100 Quote the arguments properly.
101 Add a few missing `dnl'.
102 Use AC_PROVIDE_IFELSE.
104 2000-04-26 Jim Meyering <meyering@lucent.com>
106 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
107 macro. Based on a patch from Harlan Stenn.
109 2000-04-13 Akim Demaille <akim@epita.fr>
111 * compile: Remove unnecessary double quotes in assignments.
113 2000-04-13 Akim Demaille <demaille@epita.fr>
115 * automake.in (scan_one_configure_file): Also recognize
117 Remove trailing blanks.
119 2000-04-05 Tom Tromey <tromey@cygnus.com>
121 * header-vars.am (DESTDIR): Commented out definition.
123 * automake.in (require_file_internal): Pass --copy to libtoolize
124 if automake was run with `--copy'.
126 2000-03-22 Tom Tromey <tromey@cygnus.com>
128 * automake.texi (Uniform): Fix definition of pkglibdir.
129 From thi <ttn@revel.glug.org>.
131 2000-03-19 Tom Tromey <tromey@cygnus.com>
133 * aclocal.in (parse_arguments): Copyright 2000.
134 (write_aclocal): Likewise.
135 * automake.in (parse_arguments): Copyright 2000.
136 (initialize_global_constants): Likewise.
138 * automake.in (generate_makefile): Call handle_dist after
139 handle_dependencies and handle_tests. Fixes subobj3.test and
140 pr19.test regressions.
142 2000-03-19 Gordon Matzigkeit <gord@fig.org>
144 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
145 as the current directory.
146 (@EXT@.lo): Likewise.
148 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
150 * automake.in (handle_data): Pass -candist instead of
151 -defaultdist, for the compatibility.
153 2000-03-19 Tom Tromey <tromey@cygnus.com>
155 Fix for test nodepcomp.test:
156 * automake.in (require_file_internal): Use readlink on symlinks.
157 Only unlink file if we are going to try to add it again.
158 (handle_dependencies): Require `depcomp' here.
159 (scan_configure): Don't require `depcomp'.
161 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
163 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
164 the rule to remake Makefile, whether $use_dependencies is true
165 or not. This was a historical one and doesn't make sense any
168 2000-03-19 Tom Tromey <tromey@cygnus.com>
170 More for PR automake/38:
171 * automake.texi (Invoking Automake): Document --force-missing.
172 * automake.in (force_missing): New global.
173 (parse_arguments): Recognize --force-missing.
174 (initialize_global_constants): Document --force-missing.
175 (require_file_internal): Handle --force-missing.
177 Fix for PR automake/38:
178 * automake.in (require_file_internal): Check for and handle
179 dangling symlinks. Fixes symlink2.test.
181 Fix for PR automake/45:
182 * automake.texi (configure): Mention requirement to run
184 (Requirements): Removed most text.
185 * automake.in (seen_init_automake): New global.
186 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
187 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
188 Set seen_init_automake if needed.
190 Fix for PR automake/41:
191 * automake.in (require_file_found): New global.
192 (require_file_internal): Set require_file_found entry.
193 (handle_texinfo): Require file any number of times.
195 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
198 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
200 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
202 * m4/missing.m4: Print the backtick in a way that won't cause
203 autoconf CVS to emit any warnings.
205 2000-03-01 Jim Meyering <meyering@lucent.com>
207 * automake.in (handle_dist_worker) [generating rules for distdir]:
208 Don't use `ln' (which was just a space optimization anyway) to
209 populate $(distdir). Otherwise, the dist rules that change
210 permissions would end up affecting the master sources.
211 * texinfos.am (dist-info): Likewise.
213 2000-02-13 Jim Meyering <meyering@lucent.com>
215 * automake.in (generate_makefile): Detect write/close failure.
217 2000-02-02 Assar Westerlund <assar@sics.se>
219 * automake.in (handle_single_transform_list): do not use $< which
220 is not handled by all non-GNU makes. Instead do explicit sh code
221 testing for the file in this directory and srcdir. Based on a
222 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
224 2000-01-12 Tom Tromey <tromey@cygnus.com>
226 * m4/lispdir.m4: Added --with-lispdir argument processing.
229 2000-01-06 Tom Tromey <tromey@cygnus.com>
231 * automake.in (handle_configure): Don't check for
233 (scan_configure): Check for AC_PROG_MAKE_SET.
235 * header-vars.am (@SET_MAKE@): Added.
236 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
239 1999-12-19 Tom Tromey <tromey@cygnus.com>
241 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
243 (require_file_internal): Corrected arguments to second invocation
244 of maybe_push_required_file.
246 Fix for PR automake/9:
247 * automake.in (make_dirs, make_dirs_set): New globals.
248 (is_make_dir): New function.
249 (handle_configure): Use it.
250 (require_file_internal): Push file if there is no Makefile in its
252 (initialize_per_input): Initialize handle_dist_run.
253 (push_dist_common): Inspect handle_dist_run.
254 (handle_dist): Set handle_dist_run. Push items from
255 configure_dist_common onto dist_common if appropriate.
256 (configure_dist_common): New global.
257 (scan_configure): Set it.
258 (maybe_push_required_file): New function.
259 (require_file_internal): Use it.
261 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
262 more subdirs are defined. From Axel Belinfante. Fixes
265 1999-12-18 Tom Tromey <tromey@cygnus.com>
267 Partial fix for PR automake/40:
268 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
269 (uninstall-@DIR@LISP): Likewise.
270 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
271 (uninstall-@DIR@HEADERS): Likewise.
272 * data.am (install-@DIR@DATA): Handle nobase_ case.
273 (uninstall-@DIR@DATA): Likewise.
274 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
275 (am_install_var): Recognize and handle `nobase_' prefix.
277 1999-12-17 Tom Tromey <tromey@cygnus.com>
279 * automake.in (get_object_extension): Added space before `-I.'.
280 Report from Ralf Corsepius.
282 1999-12-15 Tom Tromey <tromey@cygnus.com>
284 * aclocal.in: Don't pass $acdir to scan_m4_files.
285 (parse_arguments): Push $acdir on end of dirlist.
286 (scan_file): Don't warn if duplicate macro seen.
288 1999-12-13 Tom Tromey <tromey@cygnus.com>
290 Fix for PR automake/30 and PR automake/23. Fixes test
292 * automake.in (initialize_per_input): Initialize
293 source_suffix_pattern.
294 (derive_suffix): New function.
295 (handle_single_transform_list): Call it.
297 * automake.in (add_depend2): Handle the no-dependency-tracking
298 case. Fixes test suffix2.test.
300 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
302 * automake.in (get_object_extension): Fixed quoting on
305 * depend2.am: Removed erroneous comment.
307 * automake.texi (Program variables): Document nostdinc.
309 * automake.in (get_object_extension): Respect nostdinc option.
310 (handle_options): Recognize nostdinc.
311 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
314 * automake.in (read_am_file): Allow conditional includes. Fixes
317 * depcomp: Handle case on SGI when libtool is `yes'.
318 * depend2.am (@EXT@.o): Set libtool.
319 (@EXT@.lo): Likewise.
320 (@EXT@.obj): Likewise.
322 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
325 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
327 * automake.in (add_depend2): substitute $rule in the rules
328 for individual files. Fixes test specflags5.test.
330 1999-12-12 Tom Tromey <tromey@cygnus.com>
332 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
333 to create directories. Fixes test subobj3.test.
335 1999-12-10 Tom Tromey <tromey@cygnus.com>
337 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
338 message when creating .deps files.
340 * automake.in (initialize_global_constants): If unreadable by
341 owner, make it readable by owner regardless of number of links.
342 Fixes more of install2.test.
344 * missing: Try to see if gnutar or gtar exist before invoking
347 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
348 install_sh value. Look for install-sh and install.sh in a
349 somewhat more sensible way. Fixes test install2.test. Partially
352 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
354 * m4/missing.m4: remove redundant backquote
356 1999-11-23 Tom Tromey <tromey@cygnus.com>
358 * automake.in (initialize_global_constants): Use `bzip2 -9', not
359 `bzip --best' Report from Jim Meyering.
361 1999-11-22 Tom Tromey <tromey@cygnus.com>
363 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
364 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
365 AM_MISSING_INSTALL_SH.
366 * automake.in (scan_one_configure_file): Reverted previous
369 * automake.in (scan_one_configure_file): Define `install_sh'
370 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
373 * automake.in (handle_single_transform_list): Generate explicit
374 rule for subdir objects. Fixes new addition to subobj.test.
376 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
377 defined by AC_SUBST. Fixes ltlibobjs.test.
379 Fix for sourcesub.test:
380 * automake.in (handle_single_transform_list): Added `var'
381 argument. If config sub found, give error.
382 (handle_source_transform): Updated for new
383 handle_source_transform.
385 * py-compile: New file.
386 * m4/Makefile.am (m4data_DATA): Added python.m4.
387 * m4/python.m4: New file.
388 * automake.texi (Uniform): Mention PYTHON.
390 * Makefile.am (amfiles): Added python.am, python-clean.am.
391 (dist_script_DATA): Added py-compile.
392 * python.am: New file.
393 * python-clean.am: New file.
394 * automake.in (seen_pythondir): New global.
395 (generate_makefile): Call handle_python.
396 (handle_python): New function.
397 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
399 (am_install_var): Special-case PYTHON like JAVA.
400 (scan_configure): Check for py-compile.
401 (initialize_global_constants): Added py-compile to @common_files.
403 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
405 1999-11-21 Tom Tromey <tromey@cygnus.com>
407 * automake.in (finish_languages): Only generate suffix rule when
408 not doing dependency tracking.
410 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
411 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
413 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
416 1999-11-19 Tom Tromey <tromey@cygnus.com>
418 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
419 Alexandre's change on branch.
421 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
423 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
425 * dejagnu.am: Set CDPATH before cd.
426 * Makefile.in: Rebuilt.
428 * automake.in (handle_single_transform_list): Change `\1' for `$1'
429 in `s///' replacement.
431 * automake.in (handle_dist): Set CDPATH before cd.
432 * dejagnu.am (check-DEJAGNU): Likewise.
433 * texinfos.am (install-info-am, dist-info): Likewise.
434 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
435 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
436 * aclocal.m4, configure, Makefile.in: Rebuilt.
438 * AUTHORS: Added myself.
440 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
442 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
443 Reported by Tim Wilkinson <tim@transvirtual.com>
444 * aclocal.m4, configure: Rebuilt.
446 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
448 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
449 LEX program is found, use `${am_missing_run}flex'.
451 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
453 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
456 * automake.in (handle_lib_objects_cond): Remove second dot from
457 dependency file names.
459 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
460 regardless of OBJEXT.
462 * automake.in (handle_dependencies): Add blank line after depend2.
463 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
464 blank line before `include's, not after them.
465 (scan_one_configure_file): Do not special-case `DEP_' any more.
467 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
469 * aclocal.m4, configure: Rebuilt.
471 * m4/depend.m4 (AMDEPBACKSLASH): Define.
472 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
474 * automake.in (handle_dependencies): Generate `include's for
475 dependency files after `@AMDEP@'.
477 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
478 --run support in the missing script, since SHELL is not exported.
479 Reported by job bogan <job@piquin.uchicago.edu>
480 * aclocal.m4, configure: Rebuilt.
482 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
484 * aclocal.m4, configure: Rebuilt with itself.
485 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
487 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
488 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
489 (AM_MISSING_HAS_RUN): New macro.
490 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
491 * automake.texi (Requirements): Likewise.
492 * version.texi, stamp-vti: Rebuilt.
494 1999-07-28 Tom Tromey <tromey@cygnus.com>
496 * depcomp: Handle the `hp' mode.
498 1999-07-06 Tom Tromey <tromey@cygnus.com>
500 * depcomp: Work around HP-UX 10.20 sed bug.
502 1999-07-05 Tom Tromey <tromey@cygnus.com>
504 * automake.in (handle_dependencies): Generate a separate include
505 for each dep file. Report from Alexandre Oliva.
506 * depend.am: Don't include DEP_FILES.
508 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
510 * depend.am: Add @AMDEP@ before `include', so that dependency
511 tracking can be disabled.
512 * depend2.am: Ditto, before all lines related with dependency
514 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
515 --enable/disable-dependency-tracking and sets AMDEP accordingly.
516 It is implicitly disabled if depcomp is missing.
517 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
518 generated by side-effect.
519 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
520 * automake.in (handle_dependencies): Add @AMDEP@ before the value
522 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
525 * depcomp: Support -xM for dependency generation, for Sun CC.
526 Reported by Alex Hornby <alex@anvil.co.uk>
527 * m4/depend.m4: Extract the list of supported dependency-tracking
528 mechanisms from the depcomp script and use it to test each one.
529 * THANKS: Added Alex Hornby.
531 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
532 to leave $(...COMPILE) in a line by itself.
534 * THANKS: Added Miles Bader.
536 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
538 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
539 Fix `dashmstdout' to ignore non-dependency-generating uses of the
541 * depcomp (makedepend): New dependency-generating method.
543 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
545 * missing: If given `--run' as first argument, try to run the
546 given program before falling back to the ``emulated'' behavior.
547 Add support for `tar'.
548 * automake.in: Use new `tar' support for `dist'.
549 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
550 program, prepend `missing --run' to the given program name.
551 * m4/init.m4: Remove AMTAR-related stuff.
554 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
555 CONFIG_FILES. Do not use temporary variable for list of
556 dependency files, it breaks Cygwin.
558 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
560 * depcomp (gcc): Imported comments removed from depend2.am, so
561 that we don't lose them.
563 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
564 when not using ansi2knr.
566 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
568 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
569 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
571 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
573 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
574 so as not to compile an empty source; some compilers fail on this.
575 Redirect stderr of depcc to /dev/null. Test for -M with -o,
576 because some compilers will output the rules to the output file.
577 * depcomp (dashmstdout): Add --silent before --mode=compile, so
578 that we don't get libtool output mixed up with make rules.
580 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
581 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
582 -o for libtool, otherwise it may try to deduce the object name
583 from the dependency-generation flag.
584 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
587 * libtool.am: Do not emit .c.lo here...
588 * depend2.am: ... emit .*.lo here, only when using libtool.
589 * automake.in (get_object_extension): No more @MINUSO@ here.
590 (handle_single_transform_list): Set $depfile from $object.
591 (handle_dependencies): Emit depend2.am for all used languages,
592 regardless of $use_dependencies; the setting of depcomp makes the
594 (lang_cxx_finish): Do not emit compilation rules.
595 (lang_objc_finish): Likewise.
596 (lang_java_finish): Likewise.
598 1999-04-21 Tom Tromey <tromey@cygnus.com>
600 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
601 interpolate DEPDIR in DEP_FILES expansion.
603 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
605 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
607 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
608 handle multi-line dependency lists.
610 1999-11-12 Tom Tromey <tromey@cygnus.com>
612 Fix for PR automake/14:
613 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
615 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
617 * m4/multi.m4: Added missing `]'. From Akim Demaille.
619 * Makefile.am (path-check): Make sure distdir is writeable before
621 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
622 (handle_dist_worker): Make sure distdir is writeable before
624 (initialize_global_constants [$dist_trailer]): Make sure distdir
625 is writeable before removing it.
626 * dist.am (distcheck): Make the new source tree read-only before
627 compiling. Idea from Karl Berry.
629 * automake.texi (Gnits): Allow COPYING.LIB again.
630 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
632 1999-11-11 Jim Meyering <meyering@ascend.com>
634 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
637 1999-11-09 Tom Tromey <tromey@cygnus.com>
639 * automake.in (handle_dist): Typo fix. From Jim Meyering.
641 1999-11-09 Jim Meyering <meyering@ascend.com>
643 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
644 markers, no matter what.
646 1999-11-08 Tom Tromey <tromey@cygnus.com>
648 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
651 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
652 From Jim Meyering. Also, don't mention file name in `cp'
653 destination. From Olly Betts.
655 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
657 * texinfos.am (uninstall-info): Use installed info file, not one
658 from srcdir or builddir.
660 1999-11-07 Tom Tromey <tromey@cygnus.com>
662 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
665 Fix for PR automake/18:
666 * automake.in (handle_dist): Add contents of dist.am to the output
668 * Makefile.am (amfiles): Added dist.am.
670 (distcheck): Added uninstall and distclean checks.
672 * automake.in (PATH_PATTERN): Added `-' as allowable character.
673 Fixes PR automake/20. From Matthew D. Langston.
675 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
676 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
678 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
680 * m4/lispdir.m4: -batch must come before -q.
681 * elisp-comp: Likewise.
682 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
683 * THANKS: Added Lars.
685 1999-08-15 Tom Tromey <tromey@cygnus.com>
687 * automake.in (get_object_extension): Fixed quoting bug. Fixes
690 1999-07-27 Tom Tromey <tromey@cygnus.com>
692 * config.guess, config.sub: New versions from autoconf.
694 1999-07-13 Tom Tromey <tromey@cygnus.com>
696 Work around losing `awk'. Report from Harlan Stenn.
697 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
698 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
700 * automake.in (handle_source_transform): Mark prefix as seen if
701 corresponding _SOURCES variable exists. Fixes empty2.test.
703 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
705 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
707 (AUTOMAKE): Set --amdir to current directory.
709 1999-06-20 Tom Tromey <tromey@cygnus.com>
711 * Makefile.am (TAGS_FILES): New macro.
712 (ETAGS_ARGS): Moved files into TAGS_FILES.
713 (TAGS_DEPENDENCIES): Likewise.
714 (ETAGS_ARGS): Removed.
715 (TAGS_DEPENDENCIES): Removed duplicate definition.
717 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
718 from Ganesan Rajagopal.
721 1999-06-18 Thomas Tanner <tanner@ffii.org>
723 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
726 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
728 * ylwrap: Handle filenames output by the DOS version of Bison.
730 1999-06-20 Tom Tromey <tromey@cygnus.com>
732 * ylwrap: Be less strict when recognizing DOS paths. From Mark
735 1999-06-19 Tom Tromey <tromey@cygnus.com>
737 * automake.in (handle_dist_worker): Remove redundant entries from
740 * automake.in (handle_lib_objects_cond): Better error message when
741 unrecognized option passed in LDADD.
743 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
745 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
746 appropriate --acdir and --amdir arguments.
748 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
750 * automake.in (dist_header): Avoid changing permissions of files
751 in the source tree, trying a complex `find/chmod' command before
752 falling back to plain chmod.
753 (handle_dist_worker): Do not create directories with mode 777, the
754 find above will take care of that.
755 * m4/init.m4: Set install_sh for find/chmod above.
757 * THANKS: Added Shuhei Amakawa.
759 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
761 * mans.am: Strip dirname from given filename.
763 1999-06-07 Jim Meyering <meyering@ascend.com>
765 * automake.in (handle_dist): Change emitted rules so that a failure
766 in `$(MAKE) distcheck-hook' propagates to the outer make.
768 1999-05-27 Tom Tromey <tromey@cygnus.com>
770 * automake.in (handle_single_transform_list): Replace AM_FLAG and
771 not FLAG in compilation rule.
772 (add_depend2): Likewise.
774 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
777 * m4/dmalloc.m4: Updated dmalloc site information.
779 1999-05-19 Tom Tromey <tromey@cygnus.com>
781 * automake.in (handle_single_transform_list): Push object name
782 without extension onto lang_specific_files. Fixes
785 * automake.in (handle_single_transform_list): Added missing
786 space. Fixes specflags.test.
788 1999-05-05 Tom Tromey <tromey@cygnus.com>
790 * automake.in: Disabled dependency tracking for Java.
792 1999-05-04 Tom Tromey <tromey@cygnus.com>
794 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
795 * automake.in (handle_libraries): Recognize _AR variable.
797 1999-04-30 Tom Tromey <tromey@cygnus.com>
799 * automake.in (finish_languages): Always use `-o $@' with
800 libtool. Define ltcompile and ltlink at outermost scope in
802 * libtool.am (.c.lo): Removed.
804 * automake.in (finish_languages): Put `.' before extension in
805 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
806 `-flag'. From Pavel Roskin.
808 1999-04-28 Tom Tromey <tromey@cygnus.com>
810 * automake.in (finish_languages): Fixed scoping of ltcompile and
811 ltlink. From Pavel Roskin.
813 1999-04-27 Tom Tromey <tromey@cygnus.com>
815 * automake.in (read_main_am_file): Don't start macro definition
816 with backslash-newline. Instead, append newline at the end if
819 * automake.in (read_am_file): Insert a backslash before a trailing
820 newline. Fixes pluseq8.test.
822 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
824 (check_canonical_spelling): Don't insert `AM' before macro name
825 (reverts Alexandre's 1999-04-27 patch).
826 * automake.texi: Reverted documentation change for `AM' patch.
828 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
829 Minor rewrite for clarity.
830 (check_canonical_spelling): Prefer `$1' over `\1'.
832 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
835 * automake.in (handle_single_transform_list): Don't print rule if
836 doing dependency tracking and the file's language supports it.
837 (initialize_per_input): Initialize lang_specific_files.
838 (add_depend2): New function.
839 (handle_dependencies): Use it.
841 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
842 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
843 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
845 (lang_ratfor_finish): Use lang_f77_finish.
847 * compile.am (NOTDEPEND.c.o): Removed.
848 (OBJEXT.c.obj): Likewise.
849 * automake.in: Added `flags' attribute to all relevant languages.
850 (handle_single_transform_list): Handle per-derived-object flags.
851 Changed interface and all callers.
852 (handle_built_sources): Don't call handle_single_transform_list.
853 Added `compile' and `compiler-name' attribute to all relevant
855 (finish_languages): Define compiler variables here.
856 (lang_cxx_finish): Don't call define_compiler_variable. Don't
857 define flag variable or .o rules. Don't add to @suffixes.
858 (lang_f77_finish): Likewise.
859 (lang_ppf77_finish): Likewise.
860 (lang_objc_finish): Likewise.
861 (lang_java_finish): Likewise.
862 (finish_languages): Define flag variable here.
863 Added `output-arg' attribute to all relevant languages.
864 (finish_languages): Define `.o' rules here.
865 (finish_languages): Put extension on @suffixes.
866 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
868 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
870 * automake.in (initialize_global_constants): Invoke gzip for
871 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
873 * automake.in (initialize_global_constants): Remove zip file
874 before re-creating it.
875 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
877 * texinfos.am (uninstall-info): Look for info file in srcdir, just
878 like in install-info-am.
879 Reported by Tudor Hulubei <tudor@cs.unh.edu>
881 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
882 Let's use the good ol' substitution, then.
883 Reported by Russ Allbery <rra@stanford.edu>
885 * automake.in (check_canonical_spelling): Insert AM before names
886 starting with non-letters.
888 * automake.texi: Document it.
890 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
892 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
893 doesn't work on perl4. Maybe \Q and \E do.
895 1999-04-24 Tom Tromey <tromey@cygnus.com>
897 * automake.in: Treat `.zip' and `.jar' files as Java.
899 * automake.in (generate_makefile): Define `subdir' after reading
901 (read_main_am_file): Give programming error if variable defined
904 1999-04-22 Tom Tromey <tromey@cygnus.com>
906 * automake.in (generate_makefile): Define `subdir' variable.
907 (handle_dist): Don't define `subdir'.
909 * automake.in (handle_texinfo): Change numbering scheme for
910 stamp-vti files, to avoid problems with DOS.
911 From Michel de Ruiter.
913 * automake.texi: Don't mention AM_FUNC_MKTIME.
914 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
915 * automake.in (scan_one_configure_file): Recognize
916 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
917 (obsolete_macros): Mention AM_FUNC_MKTIME.
918 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
919 * m4/mktime.m4: Removed.
921 1999-04-20 Tom Tromey <tromey@cygnus.com>
923 * automake.texi (Top level): Don't recommend substing SUBDIRS.
925 1999-04-20 Brian Ford <ford@vss.fsi.com>
927 * scripts.am: Change else if's to elif.
929 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
931 * automake.in (handle_lib_objects_cond): Only require the source
932 of a LIBOBJ if it's not in BUILT_SOURCES.
933 Reported by Erez Zadok.
935 1999-04-19 Tom Tromey <tromey@cygnus.com>
937 * automake.in: Treat `.class' files as Java source.
938 (lang_java_finish): Handle `.class' files.
940 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
942 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
944 * m4/lispdir.m4: Do not override lispdir if it's already defined.
945 Run some emacs-lisp to find out the site-lisp directory, but
946 relocate it into prefix.
948 1999-04-17 Paul Eggert <eggert@twinsun.com>
950 * m4/mktime.m4 (bigtime_test, main): Move alarm from
951 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
952 even outside of bigtime_test. Use a time limit of 60 seconds
953 for the whole test, not 10 seconds per iteration.
955 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
957 * automake.in: Create stamps for headers in appropriate
958 directories, even if the input file lives in a different place.
959 * remake-hdr.am: Likewise.
961 1999-04-16 Tom Tromey <tromey@cygnus.com>
964 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
965 Invoke `sed' only once per program.
966 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
967 Invoke `sed' only once per program.
969 1999-04-13 Tom Tromey <tromey@cygnus.com>
971 * automake.in (handle_subdirs): Make `install-recursive' phony.
972 From Michel de Ruiter.
974 * automake.in (handle_ltlibraries): Added missing `check'.
976 1999-04-12 Tom Tromey <tromey@cygnus.com>
978 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
981 1999-04-11 Tom Tromey <tromey@cygnus.com>
983 * automake.in (handle_dist): Use AMTAR.
984 (initialize_global_constants): Likewise.
985 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
987 * automake.in (lang_sub_obj): New function.
988 (lang_cxx_rewrite): Use it.
989 (lang_asm_rewrite): Likewise.
990 (lang_objc_rewrite): Likewise.
991 (lang_cxx_finish): Add `-o $@' to all C++ rules.
992 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
993 (lang_objc_finish): Add `-o $@' to all ObjC rules.
994 (lang_java_finish): Likewise.
996 * automake.in: Only register `asm' once.
997 (lang_asm_finish): Put assembly suffixes on @suffixes.
999 * libtool.am (.s.lo): Removed.
1001 * automake.in (lang_asm_finish): Handle libtool.
1003 * libtool.am (.c.o): Always pass -c to libtool.
1005 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1006 (lang_yaccxx_rewrite): Likewise.
1007 (lang_lex_rewrite): Likewise.
1008 (lang_lexxx_rewrite): Likewise.
1010 Assembly code no longer included by default:
1011 * compile.am (.s.o): Removed.
1013 * automake.in: Register `asm' language.
1014 (lang_asm_finish): Generate suffix rules for assembly.
1015 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1017 * automake.in (get_object_extension): Substitute @MINUSO@ when
1018 including compile.am.
1019 * compile.am (.c.o): Added @MINUSO@.
1022 First cut at allowing objects in subdirectories:
1023 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1024 * Makefile.am (dist_script_DATA): Added compile.
1025 * m4/minuso.m4: New file.
1026 * automake.in (initialize_global_constants): Added compile to
1028 (seen_cc_c_o): New global.
1029 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1030 (handle_options): Recognize `subdir-objects' option.
1031 (lang_c_rewrite): Added directory argument.
1032 (lang_yacc_rewrite): Likewise.
1033 (lang_yaccxx_rewrite): Likewise.
1034 (lang_lex_rewrite): Likewise.
1035 (lang_lexxx_rewrite): Likewise.
1036 (handle_single_transform_list): Pass directory to _rewrite
1037 function. Generate dependencies for dirstamp files for each .o;
1038 it is just the rules we want to create once.
1039 (lang_c_rewrite): Handle `subdir-objects' option.
1040 (lang_c_rewrite): Require `compile' program.
1041 * compile: New file.
1043 * automake.in (initialize_per_input): Initialize %directory_map.
1044 (handle_single_transform_list): Only create .dirstamp rules once
1047 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1050 * automake.in (configure_input_files): New global.
1051 (scan_configure): Set it.
1052 (handle_configure): Use configure_input_files when determining
1053 which subdirs have a Makefile.am. Fixes confh.test.
1054 (handle_configure): Only recognize acconfig.h in top srcdir.
1056 1999-04-10 Tom Tromey <tromey@cygnus.com>
1058 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1061 * automake.in (am_install_var): Remove redundancies from the
1062 result. Fixes test cond8.test.
1064 * automake.in (handle_single_transform_list): Handle dependency
1065 tracking when files are created in subdirs. Error if object in
1066 subdir has `..' component.
1068 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1070 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1072 * automake.in (lang_yacc_finish): Added missing `&'.
1074 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1076 * automake.in (handle_configure): Replace multiple occurrences of
1077 @STAMP@ in the same line; completes the patch for remake-hdr.am
1080 * automake.in (handle_dependencies): Fix test for `autodep'
1083 * automake.in (handle_source_transform): Add a pfx to used_pfx
1084 only if it's conditional or non-empty, to reduce the number of
1085 empty variables. Emit _OBJECS variable based on program name if
1086 no SOURCES were explicitly specified.
1088 * remake-hdr.am: Create the stamp file before the header file,
1089 and just rename it after, so that the timestamps will be correct.
1090 Reported by Marc Horowitz <marc@mit.edu>
1092 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1093 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1094 Reported by Jim Meyering <meyering@ascend.com>
1096 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1098 1999-04-10 Tom Tromey <tromey@cygnus.com>
1100 * Makefile.am (EXTRA_DIST): New macro.
1101 * ChangeLog.1996, ChangeLog.1998: New files.
1103 1999-04-09 Tom Tromey <tromey@cygnus.com>
1105 * automake.in (handle_source_transform): Handle dist and nodist
1107 (initialize_per_input): Initialize dist_sources.
1108 (check_libobjs_sources): Handle dist and nodist prefixes.
1109 (generate_makefile): Define DIST_SOURCES.
1110 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1112 * automake.texi (Macros): Mention AM_PROG_GCJ.
1113 (Java Support): New node.
1114 (Dist): Documented dist_ and nodist_ prefixes.
1116 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1118 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1119 files, not `.gcj' files.
1121 * m4/gcj.m4: New file.
1122 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1124 * automake.in: Register the `java' language.
1125 (resolve_linker): Handle GCJLINK.
1126 (lang_java_rewrite): New function.
1127 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1128 (lang_c_rewrite): Use new constants.
1129 (lang_cxx_rewrite): Likewise.
1130 (lang_header_rewrite): Likewise.
1131 (lang_yacc_rewrite): Likewise.
1132 (lang_yaccxx_rewrite): Likewise.
1133 (lang_lex_rewrite): Likewise.
1134 (lang_lexxx_rewrite): Likewise.
1135 (lang_asm_rewrite): Likewise.
1136 (lang_f77_rewrite): Likewise.
1137 (lang_ppf77_rewrite): Likewise.
1138 (lang_ratfor_rewrite): Likewise.
1139 (lang_objc_rewrite): Likewise.
1140 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1141 return from rewrite function.
1142 (lang_java_finish): New function.
1143 (register_language): Changed interface and all calls. Added
1144 `autodep' settings to various languages.
1145 (handle_dependencies): Use `autodep' property of language when
1146 including dependency-tracking code.
1148 1999-04-07 Tom Tromey <tromey@cygnus.com>
1150 * automake.in (handle_texinfo): Indentation fixes.
1152 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1154 * automake.in (value_to_list): Skip *only* trailing backslashes.
1156 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1158 * automake.in (value_to_list): Skip trailing backslashes.
1160 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1162 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1164 Reported by Per Cederqvist <ceder@lysator.liu.se>
1165 (handle_texinfo): Do not define texinfo_tex='.', use
1166 '$(srcdir)/texinfo.tex' instead; the directory name will be
1168 (require_conf_file_with_line): Fixed typo.
1170 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1172 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1173 we do not depend on PATH starting with `.'.
1175 1999-03-31 Tom Tromey <tromey@cygnus.com>
1177 * automake.in (quote_cond_val): Quote \n.
1178 (unquote_cond_val): Unquote \n.
1179 (read_am_file): If line ends with `\', preserve it and add a
1181 (read_main_am_file): In conditional case, put conditional text at
1182 beginning of each generated line.
1184 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1186 * automake.in (handle_tests): support XFAIL_TEST
1187 * automake.texi: document it
1189 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1191 * End of merge from trunk.
1193 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1195 * automake.in (cmdline_use_dependencies): Reintroduce it.
1196 (--ignore-deps): Set cmdline_use_dependencies again.
1197 (handle_dependencies): If use_dependencies is not set, define
1199 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1200 (scan_configure): Do not require depcomp when ignoring
1202 (initialize_global_constants): Reintroduce --ignore-deps.
1204 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1206 * depcomp: New file.
1207 * Makefile.am (dist_script_DATA): Added depcomp.
1208 * automake.in (cmdline_use_dependencies, omit_dependencies,
1209 dependency_macros): Removed.
1210 (--ignore-deps): Just ignore.
1211 (handle_single_transform_list, dep_files): Named dependency files
1212 as \$(DEPDIR)/$base.P$obj
1213 (handle_lib_objects_cond): Likewise.
1214 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1215 (scan_one_configure_file): Likewise.
1216 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1217 Ignore OMIT_DEPENDENCIES.
1218 (handle_configure): Do not pass --ignore-deps.
1219 (scan_configure): Require `depcomp'.
1220 (initialize_global_constants): Make `depcomp' common. Remove
1221 `--ignore-deps' from usage.
1222 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1223 * compile.am: Remove rules for .c.o and .c.obj
1224 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1225 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1226 Use it and depcomp in suffix rules.
1227 * libtool.m4: Likewise.
1228 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1229 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1230 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1231 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1232 from the Makefile and subst it in deps. Report creation of deps
1233 files (for now). Replace $U with `_' and the empty string. Write
1234 a comment to each created file.
1235 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1236 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1237 dependency mode and AC_SUBST [$1]DEPMODE.
1238 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1239 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1240 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1242 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1244 * depout.m4: Fix sed expression for extracting `dirpart'.
1246 1999-03-29 Tom Tromey <tromey@cygnus.com>
1248 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1250 * compile.am (.c.obj): Also disabled when dependency tracking
1252 * depend2.am (@EXT@.obj): New target.
1253 * automake.in (get_object_extension): Added explanatory comment.
1254 (generate_dependency_code): Handle $seen_objext.
1256 * depend.am: Removed obsolete comment.
1257 * depend2.am: Minor formatting fix.
1259 1999-03-28 Tom Tromey <tromey@cygnus.com>
1261 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1263 (EXTRA_DIST): Removed.
1264 * automake.in (dependency_macros): New global.
1265 (scan_one_configure_file): Recognize new dependency tracking
1266 macros, and define new resulting configure variables.
1267 (generate_dependency_code): New sub.
1268 (handle_dependencies): Use it.
1269 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1271 (@EXT@.lo): Likewise.
1272 * m4/depvars.m4: New file.
1273 * m4/objcdepend.m4: New file.
1274 * m4/cxxdepend.m4: New file.
1275 * m4/init.m4: Moved dependency handling code into depout.m4.
1276 * m4/depout.m4: New file.
1277 * m4/ccdepend.m4: New file.
1278 * m4/depend.m4: New file.
1280 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1281 (@EXT@.lo): Likewise.
1282 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1285 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1286 will create the required .P files for dependency tracking.
1287 * automake.in (scan_dependency_file): Removed.
1288 (handle_dependencies): Never call scan_dependency_file.
1289 (generate_deps): Removed.
1290 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1291 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1292 (srcdir_name): Removed.
1293 (build_directory): Removed.
1294 (initialize_global_constants): Changed $USAGE to reflect argument
1296 (handle_dist_worker): Never run automake in `dist' rule.
1297 (handle_configure): Use --ignore-deps, not --include-deps.
1298 * depend.am (DEPS_MAGIC): Removed.
1299 (DEP_FILES): Unconditionally include.
1301 1999-03-27 Tom Tromey <tromey@cygnus.com>
1303 * automake.in (saw_sources_p): Correctly count header extensions
1305 (handle_headers): Fixed order of arguments to am_install_var.
1307 * automake.in (am_install_var): Don't error if EXTRA_foo is
1310 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1311 (uninstall-@DIR@SCRIPTS): Likewise.
1312 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1313 (uninstall-@DIR@PROGRAMS): Likewise.
1314 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1315 (uninstall-@DIR@LTLIBRARIES): Likewise.
1316 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1317 (uninstall-@DIR@LISP): Likewise.
1318 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1319 (uninstall-@DIR@LIBRARIES): Likewise.
1320 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1321 (uninstall-@DIR@JAVA): Likewise.
1322 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1323 (uninstall-@DIR@HEADERS): Likewise.
1324 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1325 (uninstall-@DIR@DATA): Likewise.
1326 * Makefile.in: Rebuilt.
1327 * Makefile.am (dist_pkgdata_DATA): Renamed.
1328 (EXTRA_DIST): Removed.
1329 (install-data-hook): Added POST_INSTALL; print commands as they
1330 are run; respect DESTDIR.
1331 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1332 * automake.in (am_install_var): Accept `-candist' and
1333 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1334 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1335 and `nodist_' prefixes.
1336 (handle_scripts): Pass -candist to am_install_var.
1337 (handle_data): Pass -defaultdist to am_install_var.
1338 (handle_headers): Likewise.
1339 (handle_emacs_lisp): Pass -candist to am_install_var.
1340 (handle_java): Pass -candist to am_install_var.
1342 1999-03-26 Tom Tromey <tromey@cygnus.com>
1344 * m4/init.m4: Fixed typo when invoking SHELL.
1346 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1347 yacc header file. From Ralf Corsepius.
1349 * Makefile.in: Rebuilt.
1350 * Makefile.am: Updated to reflect removal of TAR subst.
1351 * automake.texi (Options): Document dist-bzip2.
1352 * automake.in (TAR): Removed global.
1353 (initialize_global_constants): Changed `dist' to use pipe with
1354 gzip; work with non-GNU tar.
1355 (handle_dist): Handle non-GNU tar. Don't define TAR.
1356 (initialize_global_constants): Added `dist-bzip2' entry.
1357 (handle_options): Recognize dist-bzip2 option.
1358 (handle_dist): Likewise.
1359 * configure: Rebuilt.
1360 * configure.in: Don't check for tar.
1361 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1364 * automake.in (am_install_var): Removed obsolete comment.
1366 * texinfos.am (uninstall-info): Don't print loop but instead print
1367 commands. Simplified pre-uninstall loop.
1368 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1369 instead print commands.
1370 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1372 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1373 instead print commands.
1374 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1375 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1376 instead print commands.
1377 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1379 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1381 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1382 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1383 instead print commands.
1384 * data.am (install-@DIR@DATA): Strip subdir from file name.
1385 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1386 instead print commands.
1388 * automake.in (handle_merge_targets): `install-strip' is a phony
1389 target. From Michel de Ruiter.
1391 1999-03-25 Tom Tromey <tromey@cygnus.com>
1393 * automake.in (define_compiler_variable): Don't define variable
1396 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1398 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1399 * automake.texi: ditto
1401 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1403 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1404 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1406 1999-03-24 Tom Tromey <tromey@cygnus.com>
1408 * automake.in (define_compiler_variable): New sub.
1409 (finish_languages): Use it.
1410 (lang_cxx_finish): Likewise.
1411 (lang_f77_finish): Likewise.
1412 (lang_ppf77_finish): Likewise.
1413 (lang_ratfor_finish): Likewise.
1414 (lang_objc_finish): Likewise.
1416 1999-03-23 Tom Tromey <tromey@cygnus.com>
1418 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1419 sed invocations. From Elrond.
1420 (uninstall-@DIR@PROGRAMS): Likewise.
1422 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1423 From Ralf Corsepius.
1425 1999-02-01 Thomas Tanner <tanner@gmx.de>
1427 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1428 warning when AM_PROG_LIBTOOL was found
1429 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1431 1999-03-22 Tom Tromey <tromey@cygnus.com>
1433 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1434 * automake.in (define_standard_variables): New sub.
1435 (read_main_am_file): Use two passes to scan standard variables.
1436 (read_am_file): Don't special-case configure variables with `+='.
1437 (initialize_per_input): Initialize %var_was_plus_eq.
1438 (read_am_file): Set var_was_plus_eq element correctly.
1439 (define_variable): Give error if variable assigned with `+=' is
1441 (initialize_per_input): Initialize %am_var_defs.
1442 (file_contents_with_transform): Set element in %am_var_defs.
1443 (read_am_file): Use %am_var_defs.
1445 1999-03-21 Tom Tromey <tromey@cygnus.com>
1447 * automake.in (initialize_per_input): Initialize %object_map.
1448 (handle_single_transform_list): Allow source files in
1451 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1453 * automake.in (handle_dist): Add missing newline after the first
1456 1999-03-11 Tom Tromey <tromey@cygnus.com>
1458 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1459 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1462 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1464 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1465 legitimate ending. Fixes libobj9.test.
1467 From Ralf Corsepius. Fixes lex3.test.
1468 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1469 maintainer-clean list.
1470 (lang_lex_finish): Likewise.
1472 1999-03-02 Tom Tromey <tromey@cygnus.com>
1474 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1475 construct to work around FreeBSD make/sh problem. From Rich Wales.
1477 1999-03-01 Tom Tromey <tromey@cygnus.com>
1479 Fixes from Pavel Roskin:
1480 * automake.in (variable_conditions_sub): Sort list passed to
1481 variable_conditions_permutations.
1482 (variable_conditions): Sort list before returning.
1484 1999-02-27 Tom Tromey <tromey@cygnus.com>
1486 * automake.in (lang_extensions): New sub.
1487 (handle_dependencies): Use it.
1488 (cxx_extensions): Removed.
1489 (lang_cxx_finish): Use lang_extensions.
1490 (f77_extensions): Removed.
1491 (lang_f77_finish): Use lang_extensions.
1492 (objc_extensions): Removed.
1493 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1494 Report from Dave Morrison.
1495 (lang_ratfor_finish): Likewise.
1497 1999-02-26 Tom Tromey <tromey@cygnus.com>
1499 * automake.in (finish_languages): Added AM_LDFLAGS.
1500 (lang_cxx_finish): Likewise.
1501 (lang_f77_finish): Likewise.
1502 (lang_ppf77_finish): Likewise.
1503 (lang_ratfor_finish): Likewise.
1504 (lang_objc_finish): Likewise.
1506 1999-02-11 Tom Tromey <tromey@cygnus.com>
1508 * aclocal.in (obsolete_macros): Copied from automake.in.
1509 (obsolete_rx): Use only keys of obsolete_macros.
1510 (scan_configure): Report replacement macro for an obsolete macro.
1511 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1513 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1514 entry. Fixes obsolete2.test.
1516 * automake.in (obsolete_macros): Use empty string to indicate no
1518 (scan_one_configure_file): Likewise.
1520 1999-02-07 Paul Eggert <eggert@twinsun.com>
1522 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1523 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1524 needed by some programs.
1526 1999-02-10 Tom Tromey <tromey@cygnus.com>
1528 * automake.in (handle_texinfo): Added `pgs' to list of
1529 extensions. From NISHIDA Keisuke.
1531 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1533 * automake.in (handle_texinfo): remove texinfo.tex from
1536 1999-02-02 Tom Tromey <tromey@cygnus.com>
1538 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1539 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1540 * header-vars.am (INSTALL_PROGRAM): Removed
1541 AM_INSTALL_PROGRAM_FLAGS.
1542 (INSTALL_STRIP_FLAG): New macro.
1544 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1546 (lang_yacc_finish): Likewise.
1547 (lang_lex_finish): Likewise.
1549 1999-02-01 Tom Tromey <tromey@cygnus.com>
1551 * automake.in (handle_dist_worker): Correctly find find in $$d,
1552 not $$. From Bill Davidson.
1554 * automake.in (finish_languages): Use "&", not "do". From Pavel
1556 (handle_single_transform_list): Likewise.
1558 1999-01-29 Tom Tromey <tromey@cygnus.com>
1560 * automake.in (handle_configure): Removed unused variable. From
1563 * ansi2knr.c: New version from L. Peter Deutsch.
1565 1999-01-22 Tom Tromey <tromey@cygnus.com>
1567 * automake.in (require_file_internal): Correctly examine return
1568 value of `system'. From Andris Pavenis. Fixes copy.test.
1570 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1572 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1573 Kuepper. Fixes ppf77.test.
1574 (lang_ratfor_rewrite): New function
1576 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1577 fix). From Erez Zadok.
1579 1999-01-15 Tom Tromey <tromey@cygnus.com>
1581 * configure.in: Version 1.4a (oops).
1583 * configure.in: Updated version to 1.5a.
1585 1999-01-14 Tom Tromey <tromey@cygnus.com>
1587 * automake.in (handle_configure): Compute $header_dir based on
1588 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1590 (handle_configure): Compute relative path to input header
1591 correctly in all cases.
1593 * automake.in (handle_tests): Avoid error messages from dejagnu
1594 test rules. From Karl Heuer.
1596 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1598 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1600 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1601 From Alexandre Oliva and Erez Zadok.
1603 * automake.in (create): Renamed from touch.
1604 (handle_configure): Use create, not touch.
1606 * config.sub, config.guess: New versions from autoconf.
1608 * mkinstalldirs: New version from autoconf.
1610 1999-01-12 Tom Tromey <tromey@cygnus.com>
1612 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1615 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1617 * automake.in (PATH_PATTERN): New variable:
1618 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1619 symbols besides $(top_srcdir) and $(srcdir).
1621 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1623 * automake.in (handle_dist_worker): avoid failure in `make dist'
1624 if last file is a builddir-only file
1626 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1628 * missing (autoheader): `s' was missing from sed script; grr
1630 1999-01-11 Tom Tromey <tromey@cygnus.com>
1632 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1633 ($(srcdir)/@STAMP@.in): Likewise.
1635 1999-01-10 Tom Tromey <tromey@cygnus.com>
1637 * Makefile.am (scriptdir): New macro.
1638 (script_DATA): Likewise.
1639 (install-data-hook): Use them.
1640 (EXTRA_DIST): Added script_DATA.
1641 (installcheck-local): Use script_DATA.
1643 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1645 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1647 * missing (autoheader): accept multiple header files
1648 (automake): simplify sed processing
1650 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1652 * automake.in (handle_configure, stamp_dir): create only one stamp
1653 file per header, instead of one in the top-level directory and one
1654 in the directory that contains the header.
1656 1999-01-10 Tom Tromey <tromey@cygnus.com>
1658 * automake.in (lang_objc_finish): Formatting fix.
1660 * automake.in (objc_extensions): New sub.
1661 (handle_dependencies): Only generate dependency-tracking code for
1662 ObjC when ObjC source seen.