1 2000-08-28 Tom Tromey <tromey@cygnus.com>
3 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
5 (register_language): Default the `derived-autodep' option.
6 (handle_single_transform_list): Add to %dep_files if language has
7 `derived-autodep' set. Re-fixes lex4.test.
9 2000-08-27 Tom Tromey <tromey@cygnus.com>
11 * automake.in (handle_single_transform_list): Only add to
12 %dep_files if language is found and supports automatic dependency
13 tracking. Fixes PR automake/75.
15 * automake.in (am_primary_prefixes): Don't set `valid' for
16 configure variables that don't satisfy the other constraints.
19 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
21 Fix for PR automake/67.
22 * automake.in (handle_multilib): remove .am suffix in fragment
23 name passed to file_contents.
24 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
25 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
26 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
28 2000-08-26 Tom Tromey <tromey@cygnus.com>
30 * subdirs.am (maintainer-clean-recursive): Always run clean rules
31 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
33 * automake.in (handle_man_pages): Generate install targets for man
34 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
36 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
37 Fix for PR automake/74. From js pendry.
39 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
41 * depcomp (gcc): Support DOS-style absolute file names with drive
44 2000-08-06 Jim Meyering <meyering@lucent.com>
46 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
47 if the depcomp file exists, before calling require_config_file on
48 `depcomp'. This makes require_file_internal skip its buggy existence
49 test that would make automake fail (with `required file `lib/depcomp'
50 not found') when AC_CONFIG_AUX_DIR is not set.
52 This change change does not fix the existing bug where, if `depcomp'
53 is not present in the build directory (at the top level), automake
54 still gives the inaccurate diagnostic about *lib*/depcomp rather
57 2000-08-05 Jim Meyering <meyering@lucent.com>
59 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
60 add missing closing bracket and closing parenthesis.
61 Don't quote the first argument to AC_OUTPUT_COMMANDS.
62 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
64 2000-08-04 Tom Tromey <tromey@cygnus.com>
66 Idea from Nicolas Thiery:
67 * automake.texi (Tests): Document DEJATOOL as a list.
68 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
69 (check-DEJAGNU): Run runtest in a loop.
71 2000-08-02 Akim Demaille <akim@epita.fr>
73 * m4: Quote properly the name of the macros being defined.
74 Use `#' instead of `dnl' where appropriate.
75 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
77 Don't quote passive characters.
78 Pull the AC_PREREQ outside the macro.
79 * m4/init.m4: Pull the AC_PREREQ outside the macro.
81 2000-07-28 Tom Tromey <tromey@cygnus.com>
83 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
86 2000-07-13 Kevin Ryde <user42@zip.com.au>
88 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
89 EXTRA_PROGRAMS as well as other _PROGRAMS.
91 2000-07-02 Jim Meyering <meyering@lucent.com>
93 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
95 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
97 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
100 2000-06-02 Morten Eriksen <mortene@sim.no>
102 * depcomp: workaround for problem with SGI IRIX sed (it can only
103 handle lines of up to 8192 characters, the rest of the line will
106 2000-05-31 Morten Eriksen <mortene@sim.no>
108 * depcomp: tell SGI MIPSpro compilers to generate dependencies
109 through the pre-processor (only CVS libtool has the -Wc option
112 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
114 * missing: Add support for `help2man'.
116 2000-05-11 Tom Tromey <tromey@cygnus.com>
118 * automake.in (handle_tests): Work correctly if TESTS is empty;
119 print nothing if it is. From Kevin Ryde.
121 2000-05-08 Tom Tromey <tromey@cygnus.com>
123 * automake.texi (Texinfo): Mention vers*.texi.
125 2000-05-04 Akim Demaille <akim@epita.fr>
127 AM_INIT_AUTOMAKE is no longer optional, so don't look for
128 `VERSION=' and `PACKAGE='.
129 * automake.in (seen_package, seen_version): Remove initializations of
130 unnecessary variables.
131 (scan_one_configure_file): Don't set them.
132 (scan_configure): Don't use them.
134 2000-05-01 Akim Demaille <akim@epita.fr>
136 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
137 (AM_INIT_AUTOMAKE): Update the writing conventions.
138 Quote the arguments properly.
139 Add a few missing `dnl'.
140 Use AC_PROVIDE_IFELSE.
142 2000-04-26 Jim Meyering <meyering@lucent.com>
144 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
145 macro. Based on a patch from Harlan Stenn.
147 2000-04-13 Akim Demaille <akim@epita.fr>
149 * compile: Remove unnecessary double quotes in assignments.
151 2000-04-13 Akim Demaille <demaille@epita.fr>
153 * automake.in (scan_one_configure_file): Also recognize
155 Remove trailing blanks.
157 2000-04-05 Tom Tromey <tromey@cygnus.com>
159 * header-vars.am (DESTDIR): Commented out definition.
161 * automake.in (require_file_internal): Pass --copy to libtoolize
162 if automake was run with `--copy'.
164 2000-03-22 Tom Tromey <tromey@cygnus.com>
166 * automake.texi (Uniform): Fix definition of pkglibdir.
167 From thi <ttn@revel.glug.org>.
169 2000-03-19 Tom Tromey <tromey@cygnus.com>
171 * aclocal.in (parse_arguments): Copyright 2000.
172 (write_aclocal): Likewise.
173 * automake.in (parse_arguments): Copyright 2000.
174 (initialize_global_constants): Likewise.
176 * automake.in (generate_makefile): Call handle_dist after
177 handle_dependencies and handle_tests. Fixes subobj3.test and
178 pr19.test regressions.
180 2000-03-19 Gordon Matzigkeit <gord@fig.org>
182 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
183 as the current directory.
184 (@EXT@.lo): Likewise.
186 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
188 * automake.in (handle_data): Pass -candist instead of
189 -defaultdist, for the compatibility.
191 2000-03-19 Tom Tromey <tromey@cygnus.com>
193 Fix for test nodepcomp.test:
194 * automake.in (require_file_internal): Use readlink on symlinks.
195 Only unlink file if we are going to try to add it again.
196 (handle_dependencies): Require `depcomp' here.
197 (scan_configure): Don't require `depcomp'.
199 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
201 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
202 the rule to remake Makefile, whether $use_dependencies is true
203 or not. This was a historical one and doesn't make sense any
206 2000-03-19 Tom Tromey <tromey@cygnus.com>
208 More for PR automake/38:
209 * automake.texi (Invoking Automake): Document --force-missing.
210 * automake.in (force_missing): New global.
211 (parse_arguments): Recognize --force-missing.
212 (initialize_global_constants): Document --force-missing.
213 (require_file_internal): Handle --force-missing.
215 Fix for PR automake/38:
216 * automake.in (require_file_internal): Check for and handle
217 dangling symlinks. Fixes symlink2.test.
219 Fix for PR automake/45:
220 * automake.texi (configure): Mention requirement to run
222 (Requirements): Removed most text.
223 * automake.in (seen_init_automake): New global.
224 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
225 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
226 Set seen_init_automake if needed.
228 Fix for PR automake/41:
229 * automake.in (require_file_found): New global.
230 (require_file_internal): Set require_file_found entry.
231 (handle_texinfo): Require file any number of times.
233 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
236 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
238 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
240 * m4/missing.m4: Print the backtick in a way that won't cause
241 autoconf CVS to emit any warnings.
243 2000-03-01 Jim Meyering <meyering@lucent.com>
245 * automake.in (handle_dist_worker) [generating rules for distdir]:
246 Don't use `ln' (which was just a space optimization anyway) to
247 populate $(distdir). Otherwise, the dist rules that change
248 permissions would end up affecting the master sources.
249 * texinfos.am (dist-info): Likewise.
251 2000-02-13 Jim Meyering <meyering@lucent.com>
253 * automake.in (generate_makefile): Detect write/close failure.
255 2000-02-02 Assar Westerlund <assar@sics.se>
257 * automake.in (handle_single_transform_list): do not use $< which
258 is not handled by all non-GNU makes. Instead do explicit sh code
259 testing for the file in this directory and srcdir. Based on a
260 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
262 2000-01-12 Tom Tromey <tromey@cygnus.com>
264 * m4/lispdir.m4: Added --with-lispdir argument processing.
267 2000-01-06 Tom Tromey <tromey@cygnus.com>
269 * automake.in (handle_configure): Don't check for
271 (scan_configure): Check for AC_PROG_MAKE_SET.
273 * header-vars.am (@SET_MAKE@): Added.
274 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
277 1999-12-19 Tom Tromey <tromey@cygnus.com>
279 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
281 (require_file_internal): Corrected arguments to second invocation
282 of maybe_push_required_file.
284 Fix for PR automake/9:
285 * automake.in (make_dirs, make_dirs_set): New globals.
286 (is_make_dir): New function.
287 (handle_configure): Use it.
288 (require_file_internal): Push file if there is no Makefile in its
290 (initialize_per_input): Initialize handle_dist_run.
291 (push_dist_common): Inspect handle_dist_run.
292 (handle_dist): Set handle_dist_run. Push items from
293 configure_dist_common onto dist_common if appropriate.
294 (configure_dist_common): New global.
295 (scan_configure): Set it.
296 (maybe_push_required_file): New function.
297 (require_file_internal): Use it.
299 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
300 more subdirs are defined. From Axel Belinfante. Fixes
303 1999-12-18 Tom Tromey <tromey@cygnus.com>
305 Partial fix for PR automake/40:
306 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
307 (uninstall-@DIR@LISP): Likewise.
308 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
309 (uninstall-@DIR@HEADERS): Likewise.
310 * data.am (install-@DIR@DATA): Handle nobase_ case.
311 (uninstall-@DIR@DATA): Likewise.
312 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
313 (am_install_var): Recognize and handle `nobase_' prefix.
315 1999-12-17 Tom Tromey <tromey@cygnus.com>
317 * automake.in (get_object_extension): Added space before `-I.'.
318 Report from Ralf Corsepius.
320 1999-12-15 Tom Tromey <tromey@cygnus.com>
322 * aclocal.in: Don't pass $acdir to scan_m4_files.
323 (parse_arguments): Push $acdir on end of dirlist.
324 (scan_file): Don't warn if duplicate macro seen.
326 1999-12-13 Tom Tromey <tromey@cygnus.com>
328 Fix for PR automake/30 and PR automake/23. Fixes test
330 * automake.in (initialize_per_input): Initialize
331 source_suffix_pattern.
332 (derive_suffix): New function.
333 (handle_single_transform_list): Call it.
335 * automake.in (add_depend2): Handle the no-dependency-tracking
336 case. Fixes test suffix2.test.
338 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
340 * automake.in (get_object_extension): Fixed quoting on
343 * depend2.am: Removed erroneous comment.
345 * automake.texi (Program variables): Document nostdinc.
347 * automake.in (get_object_extension): Respect nostdinc option.
348 (handle_options): Recognize nostdinc.
349 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
352 * automake.in (read_am_file): Allow conditional includes. Fixes
355 * depcomp: Handle case on SGI when libtool is `yes'.
356 * depend2.am (@EXT@.o): Set libtool.
357 (@EXT@.lo): Likewise.
358 (@EXT@.obj): Likewise.
360 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
363 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
365 * automake.in (add_depend2): substitute $rule in the rules
366 for individual files. Fixes test specflags5.test.
368 1999-12-12 Tom Tromey <tromey@cygnus.com>
370 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
371 to create directories. Fixes test subobj3.test.
373 1999-12-10 Tom Tromey <tromey@cygnus.com>
375 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
376 message when creating .deps files.
378 * automake.in (initialize_global_constants): If unreadable by
379 owner, make it readable by owner regardless of number of links.
380 Fixes more of install2.test.
382 * missing: Try to see if gnutar or gtar exist before invoking
385 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
386 install_sh value. Look for install-sh and install.sh in a
387 somewhat more sensible way. Fixes test install2.test. Partially
390 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
392 * m4/missing.m4: remove redundant backquote
394 1999-11-23 Tom Tromey <tromey@cygnus.com>
396 * automake.in (initialize_global_constants): Use `bzip2 -9', not
397 `bzip --best' Report from Jim Meyering.
399 1999-11-22 Tom Tromey <tromey@cygnus.com>
401 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
402 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
403 AM_MISSING_INSTALL_SH.
404 * automake.in (scan_one_configure_file): Reverted previous
407 * automake.in (scan_one_configure_file): Define `install_sh'
408 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
411 * automake.in (handle_single_transform_list): Generate explicit
412 rule for subdir objects. Fixes new addition to subobj.test.
414 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
415 defined by AC_SUBST. Fixes ltlibobjs.test.
417 Fix for sourcesub.test:
418 * automake.in (handle_single_transform_list): Added `var'
419 argument. If config sub found, give error.
420 (handle_source_transform): Updated for new
421 handle_source_transform.
423 * py-compile: New file.
424 * m4/Makefile.am (m4data_DATA): Added python.m4.
425 * m4/python.m4: New file.
426 * automake.texi (Uniform): Mention PYTHON.
428 * Makefile.am (amfiles): Added python.am, python-clean.am.
429 (dist_script_DATA): Added py-compile.
430 * python.am: New file.
431 * python-clean.am: New file.
432 * automake.in (seen_pythondir): New global.
433 (generate_makefile): Call handle_python.
434 (handle_python): New function.
435 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
437 (am_install_var): Special-case PYTHON like JAVA.
438 (scan_configure): Check for py-compile.
439 (initialize_global_constants): Added py-compile to @common_files.
441 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
443 1999-11-21 Tom Tromey <tromey@cygnus.com>
445 * automake.in (finish_languages): Only generate suffix rule when
446 not doing dependency tracking.
448 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
449 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
451 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
454 1999-11-19 Tom Tromey <tromey@cygnus.com>
456 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
457 Alexandre's change on branch.
459 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
461 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
463 * dejagnu.am: Set CDPATH before cd.
464 * Makefile.in: Rebuilt.
466 * automake.in (handle_single_transform_list): Change `\1' for `$1'
467 in `s///' replacement.
469 * automake.in (handle_dist): Set CDPATH before cd.
470 * dejagnu.am (check-DEJAGNU): Likewise.
471 * texinfos.am (install-info-am, dist-info): Likewise.
472 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
473 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
474 * aclocal.m4, configure, Makefile.in: Rebuilt.
476 * AUTHORS: Added myself.
478 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
480 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
481 Reported by Tim Wilkinson <tim@transvirtual.com>
482 * aclocal.m4, configure: Rebuilt.
484 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
486 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
487 LEX program is found, use `${am_missing_run}flex'.
489 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
491 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
494 * automake.in (handle_lib_objects_cond): Remove second dot from
495 dependency file names.
497 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
498 regardless of OBJEXT.
500 * automake.in (handle_dependencies): Add blank line after depend2.
501 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
502 blank line before `include's, not after them.
503 (scan_one_configure_file): Do not special-case `DEP_' any more.
505 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
507 * aclocal.m4, configure: Rebuilt.
509 * m4/depend.m4 (AMDEPBACKSLASH): Define.
510 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
512 * automake.in (handle_dependencies): Generate `include's for
513 dependency files after `@AMDEP@'.
515 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
516 --run support in the missing script, since SHELL is not exported.
517 Reported by job bogan <job@piquin.uchicago.edu>
518 * aclocal.m4, configure: Rebuilt.
520 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
522 * aclocal.m4, configure: Rebuilt with itself.
523 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
525 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
526 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
527 (AM_MISSING_HAS_RUN): New macro.
528 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
529 * automake.texi (Requirements): Likewise.
530 * version.texi, stamp-vti: Rebuilt.
532 1999-07-28 Tom Tromey <tromey@cygnus.com>
534 * depcomp: Handle the `hp' mode.
536 1999-07-06 Tom Tromey <tromey@cygnus.com>
538 * depcomp: Work around HP-UX 10.20 sed bug.
540 1999-07-05 Tom Tromey <tromey@cygnus.com>
542 * automake.in (handle_dependencies): Generate a separate include
543 for each dep file. Report from Alexandre Oliva.
544 * depend.am: Don't include DEP_FILES.
546 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
548 * depend.am: Add @AMDEP@ before `include', so that dependency
549 tracking can be disabled.
550 * depend2.am: Ditto, before all lines related with dependency
552 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
553 --enable/disable-dependency-tracking and sets AMDEP accordingly.
554 It is implicitly disabled if depcomp is missing.
555 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
556 generated by side-effect.
557 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
558 * automake.in (handle_dependencies): Add @AMDEP@ before the value
560 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
563 * depcomp: Support -xM for dependency generation, for Sun CC.
564 Reported by Alex Hornby <alex@anvil.co.uk>
565 * m4/depend.m4: Extract the list of supported dependency-tracking
566 mechanisms from the depcomp script and use it to test each one.
567 * THANKS: Added Alex Hornby.
569 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
570 to leave $(...COMPILE) in a line by itself.
572 * THANKS: Added Miles Bader.
574 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
576 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
577 Fix `dashmstdout' to ignore non-dependency-generating uses of the
579 * depcomp (makedepend): New dependency-generating method.
581 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
583 * missing: If given `--run' as first argument, try to run the
584 given program before falling back to the ``emulated'' behavior.
585 Add support for `tar'.
586 * automake.in: Use new `tar' support for `dist'.
587 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
588 program, prepend `missing --run' to the given program name.
589 * m4/init.m4: Remove AMTAR-related stuff.
592 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
593 CONFIG_FILES. Do not use temporary variable for list of
594 dependency files, it breaks Cygwin.
596 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
598 * depcomp (gcc): Imported comments removed from depend2.am, so
599 that we don't lose them.
601 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
602 when not using ansi2knr.
604 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
606 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
607 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
609 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
611 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
612 so as not to compile an empty source; some compilers fail on this.
613 Redirect stderr of depcc to /dev/null. Test for -M with -o,
614 because some compilers will output the rules to the output file.
615 * depcomp (dashmstdout): Add --silent before --mode=compile, so
616 that we don't get libtool output mixed up with make rules.
618 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
619 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
620 -o for libtool, otherwise it may try to deduce the object name
621 from the dependency-generation flag.
622 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
625 * libtool.am: Do not emit .c.lo here...
626 * depend2.am: ... emit .*.lo here, only when using libtool.
627 * automake.in (get_object_extension): No more @MINUSO@ here.
628 (handle_single_transform_list): Set $depfile from $object.
629 (handle_dependencies): Emit depend2.am for all used languages,
630 regardless of $use_dependencies; the setting of depcomp makes the
632 (lang_cxx_finish): Do not emit compilation rules.
633 (lang_objc_finish): Likewise.
634 (lang_java_finish): Likewise.
636 1999-04-21 Tom Tromey <tromey@cygnus.com>
638 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
639 interpolate DEPDIR in DEP_FILES expansion.
641 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
643 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
645 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
646 handle multi-line dependency lists.
648 1999-11-12 Tom Tromey <tromey@cygnus.com>
650 Fix for PR automake/14:
651 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
653 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
655 * m4/multi.m4: Added missing `]'. From Akim Demaille.
657 * Makefile.am (path-check): Make sure distdir is writeable before
659 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
660 (handle_dist_worker): Make sure distdir is writeable before
662 (initialize_global_constants [$dist_trailer]): Make sure distdir
663 is writeable before removing it.
664 * dist.am (distcheck): Make the new source tree read-only before
665 compiling. Idea from Karl Berry.
667 * automake.texi (Gnits): Allow COPYING.LIB again.
668 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
670 1999-11-11 Jim Meyering <meyering@ascend.com>
672 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
675 1999-11-09 Tom Tromey <tromey@cygnus.com>
677 * automake.in (handle_dist): Typo fix. From Jim Meyering.
679 1999-11-09 Jim Meyering <meyering@ascend.com>
681 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
682 markers, no matter what.
684 1999-11-08 Tom Tromey <tromey@cygnus.com>
686 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
689 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
690 From Jim Meyering. Also, don't mention file name in `cp'
691 destination. From Olly Betts.
693 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
695 * texinfos.am (uninstall-info): Use installed info file, not one
696 from srcdir or builddir.
698 1999-11-07 Tom Tromey <tromey@cygnus.com>
700 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
703 Fix for PR automake/18:
704 * automake.in (handle_dist): Add contents of dist.am to the output
706 * Makefile.am (amfiles): Added dist.am.
708 (distcheck): Added uninstall and distclean checks.
710 * automake.in (PATH_PATTERN): Added `-' as allowable character.
711 Fixes PR automake/20. From Matthew D. Langston.
713 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
714 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
716 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
718 * m4/lispdir.m4: -batch must come before -q.
719 * elisp-comp: Likewise.
720 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
721 * THANKS: Added Lars.
723 1999-08-15 Tom Tromey <tromey@cygnus.com>
725 * automake.in (get_object_extension): Fixed quoting bug. Fixes
728 1999-07-27 Tom Tromey <tromey@cygnus.com>
730 * config.guess, config.sub: New versions from autoconf.
732 1999-07-13 Tom Tromey <tromey@cygnus.com>
734 Work around losing `awk'. Report from Harlan Stenn.
735 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
736 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
738 * automake.in (handle_source_transform): Mark prefix as seen if
739 corresponding _SOURCES variable exists. Fixes empty2.test.
741 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
743 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
745 (AUTOMAKE): Set --amdir to current directory.
747 1999-06-20 Tom Tromey <tromey@cygnus.com>
749 * Makefile.am (TAGS_FILES): New macro.
750 (ETAGS_ARGS): Moved files into TAGS_FILES.
751 (TAGS_DEPENDENCIES): Likewise.
752 (ETAGS_ARGS): Removed.
753 (TAGS_DEPENDENCIES): Removed duplicate definition.
755 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
756 from Ganesan Rajagopal.
759 1999-06-18 Thomas Tanner <tanner@ffii.org>
761 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
764 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
766 * ylwrap: Handle filenames output by the DOS version of Bison.
768 1999-06-20 Tom Tromey <tromey@cygnus.com>
770 * ylwrap: Be less strict when recognizing DOS paths. From Mark
773 1999-06-19 Tom Tromey <tromey@cygnus.com>
775 * automake.in (handle_dist_worker): Remove redundant entries from
778 * automake.in (handle_lib_objects_cond): Better error message when
779 unrecognized option passed in LDADD.
781 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
783 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
784 appropriate --acdir and --amdir arguments.
786 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
788 * automake.in (dist_header): Avoid changing permissions of files
789 in the source tree, trying a complex `find/chmod' command before
790 falling back to plain chmod.
791 (handle_dist_worker): Do not create directories with mode 777, the
792 find above will take care of that.
793 * m4/init.m4: Set install_sh for find/chmod above.
795 * THANKS: Added Shuhei Amakawa.
797 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
799 * mans.am: Strip dirname from given filename.
801 1999-06-07 Jim Meyering <meyering@ascend.com>
803 * automake.in (handle_dist): Change emitted rules so that a failure
804 in `$(MAKE) distcheck-hook' propagates to the outer make.
806 1999-05-27 Tom Tromey <tromey@cygnus.com>
808 * automake.in (handle_single_transform_list): Replace AM_FLAG and
809 not FLAG in compilation rule.
810 (add_depend2): Likewise.
812 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
815 * m4/dmalloc.m4: Updated dmalloc site information.
817 1999-05-19 Tom Tromey <tromey@cygnus.com>
819 * automake.in (handle_single_transform_list): Push object name
820 without extension onto lang_specific_files. Fixes
823 * automake.in (handle_single_transform_list): Added missing
824 space. Fixes specflags.test.
826 1999-05-05 Tom Tromey <tromey@cygnus.com>
828 * automake.in: Disabled dependency tracking for Java.
830 1999-05-04 Tom Tromey <tromey@cygnus.com>
832 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
833 * automake.in (handle_libraries): Recognize _AR variable.
835 1999-04-30 Tom Tromey <tromey@cygnus.com>
837 * automake.in (finish_languages): Always use `-o $@' with
838 libtool. Define ltcompile and ltlink at outermost scope in
840 * libtool.am (.c.lo): Removed.
842 * automake.in (finish_languages): Put `.' before extension in
843 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
844 `-flag'. From Pavel Roskin.
846 1999-04-28 Tom Tromey <tromey@cygnus.com>
848 * automake.in (finish_languages): Fixed scoping of ltcompile and
849 ltlink. From Pavel Roskin.
851 1999-04-27 Tom Tromey <tromey@cygnus.com>
853 * automake.in (read_main_am_file): Don't start macro definition
854 with backslash-newline. Instead, append newline at the end if
857 * automake.in (read_am_file): Insert a backslash before a trailing
858 newline. Fixes pluseq8.test.
860 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
862 (check_canonical_spelling): Don't insert `AM' before macro name
863 (reverts Alexandre's 1999-04-27 patch).
864 * automake.texi: Reverted documentation change for `AM' patch.
866 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
867 Minor rewrite for clarity.
868 (check_canonical_spelling): Prefer `$1' over `\1'.
870 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
873 * automake.in (handle_single_transform_list): Don't print rule if
874 doing dependency tracking and the file's language supports it.
875 (initialize_per_input): Initialize lang_specific_files.
876 (add_depend2): New function.
877 (handle_dependencies): Use it.
879 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
880 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
881 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
883 (lang_ratfor_finish): Use lang_f77_finish.
885 * compile.am (NOTDEPEND.c.o): Removed.
886 (OBJEXT.c.obj): Likewise.
887 * automake.in: Added `flags' attribute to all relevant languages.
888 (handle_single_transform_list): Handle per-derived-object flags.
889 Changed interface and all callers.
890 (handle_built_sources): Don't call handle_single_transform_list.
891 Added `compile' and `compiler-name' attribute to all relevant
893 (finish_languages): Define compiler variables here.
894 (lang_cxx_finish): Don't call define_compiler_variable. Don't
895 define flag variable or .o rules. Don't add to @suffixes.
896 (lang_f77_finish): Likewise.
897 (lang_ppf77_finish): Likewise.
898 (lang_objc_finish): Likewise.
899 (lang_java_finish): Likewise.
900 (finish_languages): Define flag variable here.
901 Added `output-arg' attribute to all relevant languages.
902 (finish_languages): Define `.o' rules here.
903 (finish_languages): Put extension on @suffixes.
904 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
906 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
908 * automake.in (initialize_global_constants): Invoke gzip for
909 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
911 * automake.in (initialize_global_constants): Remove zip file
912 before re-creating it.
913 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
915 * texinfos.am (uninstall-info): Look for info file in srcdir, just
916 like in install-info-am.
917 Reported by Tudor Hulubei <tudor@cs.unh.edu>
919 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
920 Let's use the good ol' substitution, then.
921 Reported by Russ Allbery <rra@stanford.edu>
923 * automake.in (check_canonical_spelling): Insert AM before names
924 starting with non-letters.
926 * automake.texi: Document it.
928 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
930 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
931 doesn't work on perl4. Maybe \Q and \E do.
933 1999-04-24 Tom Tromey <tromey@cygnus.com>
935 * automake.in: Treat `.zip' and `.jar' files as Java.
937 * automake.in (generate_makefile): Define `subdir' after reading
939 (read_main_am_file): Give programming error if variable defined
942 1999-04-22 Tom Tromey <tromey@cygnus.com>
944 * automake.in (generate_makefile): Define `subdir' variable.
945 (handle_dist): Don't define `subdir'.
947 * automake.in (handle_texinfo): Change numbering scheme for
948 stamp-vti files, to avoid problems with DOS.
949 From Michel de Ruiter.
951 * automake.texi: Don't mention AM_FUNC_MKTIME.
952 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
953 * automake.in (scan_one_configure_file): Recognize
954 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
955 (obsolete_macros): Mention AM_FUNC_MKTIME.
956 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
957 * m4/mktime.m4: Removed.
959 1999-04-20 Tom Tromey <tromey@cygnus.com>
961 * automake.texi (Top level): Don't recommend substing SUBDIRS.
963 1999-04-20 Brian Ford <ford@vss.fsi.com>
965 * scripts.am: Change else if's to elif.
967 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
969 * automake.in (handle_lib_objects_cond): Only require the source
970 of a LIBOBJ if it's not in BUILT_SOURCES.
971 Reported by Erez Zadok.
973 1999-04-19 Tom Tromey <tromey@cygnus.com>
975 * automake.in: Treat `.class' files as Java source.
976 (lang_java_finish): Handle `.class' files.
978 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
980 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
982 * m4/lispdir.m4: Do not override lispdir if it's already defined.
983 Run some emacs-lisp to find out the site-lisp directory, but
984 relocate it into prefix.
986 1999-04-17 Paul Eggert <eggert@twinsun.com>
988 * m4/mktime.m4 (bigtime_test, main): Move alarm from
989 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
990 even outside of bigtime_test. Use a time limit of 60 seconds
991 for the whole test, not 10 seconds per iteration.
993 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
995 * automake.in: Create stamps for headers in appropriate
996 directories, even if the input file lives in a different place.
997 * remake-hdr.am: Likewise.
999 1999-04-16 Tom Tromey <tromey@cygnus.com>
1002 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1003 Invoke `sed' only once per program.
1004 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1005 Invoke `sed' only once per program.
1007 1999-04-13 Tom Tromey <tromey@cygnus.com>
1009 * automake.in (handle_subdirs): Make `install-recursive' phony.
1010 From Michel de Ruiter.
1012 * automake.in (handle_ltlibraries): Added missing `check'.
1014 1999-04-12 Tom Tromey <tromey@cygnus.com>
1016 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1019 1999-04-11 Tom Tromey <tromey@cygnus.com>
1021 * automake.in (handle_dist): Use AMTAR.
1022 (initialize_global_constants): Likewise.
1023 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1025 * automake.in (lang_sub_obj): New function.
1026 (lang_cxx_rewrite): Use it.
1027 (lang_asm_rewrite): Likewise.
1028 (lang_objc_rewrite): Likewise.
1029 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1030 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1031 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1032 (lang_java_finish): Likewise.
1034 * automake.in: Only register `asm' once.
1035 (lang_asm_finish): Put assembly suffixes on @suffixes.
1037 * libtool.am (.s.lo): Removed.
1039 * automake.in (lang_asm_finish): Handle libtool.
1041 * libtool.am (.c.o): Always pass -c to libtool.
1043 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1044 (lang_yaccxx_rewrite): Likewise.
1045 (lang_lex_rewrite): Likewise.
1046 (lang_lexxx_rewrite): Likewise.
1048 Assembly code no longer included by default:
1049 * compile.am (.s.o): Removed.
1051 * automake.in: Register `asm' language.
1052 (lang_asm_finish): Generate suffix rules for assembly.
1053 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1055 * automake.in (get_object_extension): Substitute @MINUSO@ when
1056 including compile.am.
1057 * compile.am (.c.o): Added @MINUSO@.
1060 First cut at allowing objects in subdirectories:
1061 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1062 * Makefile.am (dist_script_DATA): Added compile.
1063 * m4/minuso.m4: New file.
1064 * automake.in (initialize_global_constants): Added compile to
1066 (seen_cc_c_o): New global.
1067 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1068 (handle_options): Recognize `subdir-objects' option.
1069 (lang_c_rewrite): Added directory argument.
1070 (lang_yacc_rewrite): Likewise.
1071 (lang_yaccxx_rewrite): Likewise.
1072 (lang_lex_rewrite): Likewise.
1073 (lang_lexxx_rewrite): Likewise.
1074 (handle_single_transform_list): Pass directory to _rewrite
1075 function. Generate dependencies for dirstamp files for each .o;
1076 it is just the rules we want to create once.
1077 (lang_c_rewrite): Handle `subdir-objects' option.
1078 (lang_c_rewrite): Require `compile' program.
1079 * compile: New file.
1081 * automake.in (initialize_per_input): Initialize %directory_map.
1082 (handle_single_transform_list): Only create .dirstamp rules once
1085 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1088 * automake.in (configure_input_files): New global.
1089 (scan_configure): Set it.
1090 (handle_configure): Use configure_input_files when determining
1091 which subdirs have a Makefile.am. Fixes confh.test.
1092 (handle_configure): Only recognize acconfig.h in top srcdir.
1094 1999-04-10 Tom Tromey <tromey@cygnus.com>
1096 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1099 * automake.in (am_install_var): Remove redundancies from the
1100 result. Fixes test cond8.test.
1102 * automake.in (handle_single_transform_list): Handle dependency
1103 tracking when files are created in subdirs. Error if object in
1104 subdir has `..' component.
1106 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1108 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1110 * automake.in (lang_yacc_finish): Added missing `&'.
1112 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1114 * automake.in (handle_configure): Replace multiple occurrences of
1115 @STAMP@ in the same line; completes the patch for remake-hdr.am
1118 * automake.in (handle_dependencies): Fix test for `autodep'
1121 * automake.in (handle_source_transform): Add a pfx to used_pfx
1122 only if it's conditional or non-empty, to reduce the number of
1123 empty variables. Emit _OBJECS variable based on program name if
1124 no SOURCES were explicitly specified.
1126 * remake-hdr.am: Create the stamp file before the header file,
1127 and just rename it after, so that the timestamps will be correct.
1128 Reported by Marc Horowitz <marc@mit.edu>
1130 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1131 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1132 Reported by Jim Meyering <meyering@ascend.com>
1134 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1136 1999-04-10 Tom Tromey <tromey@cygnus.com>
1138 * Makefile.am (EXTRA_DIST): New macro.
1139 * ChangeLog.1996, ChangeLog.1998: New files.
1141 1999-04-09 Tom Tromey <tromey@cygnus.com>
1143 * automake.in (handle_source_transform): Handle dist and nodist
1145 (initialize_per_input): Initialize dist_sources.
1146 (check_libobjs_sources): Handle dist and nodist prefixes.
1147 (generate_makefile): Define DIST_SOURCES.
1148 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1150 * automake.texi (Macros): Mention AM_PROG_GCJ.
1151 (Java Support): New node.
1152 (Dist): Documented dist_ and nodist_ prefixes.
1154 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1156 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1157 files, not `.gcj' files.
1159 * m4/gcj.m4: New file.
1160 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1162 * automake.in: Register the `java' language.
1163 (resolve_linker): Handle GCJLINK.
1164 (lang_java_rewrite): New function.
1165 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1166 (lang_c_rewrite): Use new constants.
1167 (lang_cxx_rewrite): Likewise.
1168 (lang_header_rewrite): Likewise.
1169 (lang_yacc_rewrite): Likewise.
1170 (lang_yaccxx_rewrite): Likewise.
1171 (lang_lex_rewrite): Likewise.
1172 (lang_lexxx_rewrite): Likewise.
1173 (lang_asm_rewrite): Likewise.
1174 (lang_f77_rewrite): Likewise.
1175 (lang_ppf77_rewrite): Likewise.
1176 (lang_ratfor_rewrite): Likewise.
1177 (lang_objc_rewrite): Likewise.
1178 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1179 return from rewrite function.
1180 (lang_java_finish): New function.
1181 (register_language): Changed interface and all calls. Added
1182 `autodep' settings to various languages.
1183 (handle_dependencies): Use `autodep' property of language when
1184 including dependency-tracking code.
1186 1999-04-07 Tom Tromey <tromey@cygnus.com>
1188 * automake.in (handle_texinfo): Indentation fixes.
1190 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1192 * automake.in (value_to_list): Skip *only* trailing backslashes.
1194 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1196 * automake.in (value_to_list): Skip trailing backslashes.
1198 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1200 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1202 Reported by Per Cederqvist <ceder@lysator.liu.se>
1203 (handle_texinfo): Do not define texinfo_tex='.', use
1204 '$(srcdir)/texinfo.tex' instead; the directory name will be
1206 (require_conf_file_with_line): Fixed typo.
1208 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1210 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1211 we do not depend on PATH starting with `.'.
1213 1999-03-31 Tom Tromey <tromey@cygnus.com>
1215 * automake.in (quote_cond_val): Quote \n.
1216 (unquote_cond_val): Unquote \n.
1217 (read_am_file): If line ends with `\', preserve it and add a
1219 (read_main_am_file): In conditional case, put conditional text at
1220 beginning of each generated line.
1222 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1224 * automake.in (handle_tests): support XFAIL_TEST
1225 * automake.texi: document it
1227 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1229 * End of merge from trunk.
1231 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1233 * automake.in (cmdline_use_dependencies): Reintroduce it.
1234 (--ignore-deps): Set cmdline_use_dependencies again.
1235 (handle_dependencies): If use_dependencies is not set, define
1237 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1238 (scan_configure): Do not require depcomp when ignoring
1240 (initialize_global_constants): Reintroduce --ignore-deps.
1242 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1244 * depcomp: New file.
1245 * Makefile.am (dist_script_DATA): Added depcomp.
1246 * automake.in (cmdline_use_dependencies, omit_dependencies,
1247 dependency_macros): Removed.
1248 (--ignore-deps): Just ignore.
1249 (handle_single_transform_list, dep_files): Named dependency files
1250 as \$(DEPDIR)/$base.P$obj
1251 (handle_lib_objects_cond): Likewise.
1252 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1253 (scan_one_configure_file): Likewise.
1254 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1255 Ignore OMIT_DEPENDENCIES.
1256 (handle_configure): Do not pass --ignore-deps.
1257 (scan_configure): Require `depcomp'.
1258 (initialize_global_constants): Make `depcomp' common. Remove
1259 `--ignore-deps' from usage.
1260 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1261 * compile.am: Remove rules for .c.o and .c.obj
1262 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1263 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1264 Use it and depcomp in suffix rules.
1265 * libtool.m4: Likewise.
1266 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1267 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1268 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1269 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1270 from the Makefile and subst it in deps. Report creation of deps
1271 files (for now). Replace $U with `_' and the empty string. Write
1272 a comment to each created file.
1273 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1274 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1275 dependency mode and AC_SUBST [$1]DEPMODE.
1276 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1277 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1278 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1280 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1282 * depout.m4: Fix sed expression for extracting `dirpart'.
1284 1999-03-29 Tom Tromey <tromey@cygnus.com>
1286 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1288 * compile.am (.c.obj): Also disabled when dependency tracking
1290 * depend2.am (@EXT@.obj): New target.
1291 * automake.in (get_object_extension): Added explanatory comment.
1292 (generate_dependency_code): Handle $seen_objext.
1294 * depend.am: Removed obsolete comment.
1295 * depend2.am: Minor formatting fix.
1297 1999-03-28 Tom Tromey <tromey@cygnus.com>
1299 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1301 (EXTRA_DIST): Removed.
1302 * automake.in (dependency_macros): New global.
1303 (scan_one_configure_file): Recognize new dependency tracking
1304 macros, and define new resulting configure variables.
1305 (generate_dependency_code): New sub.
1306 (handle_dependencies): Use it.
1307 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1309 (@EXT@.lo): Likewise.
1310 * m4/depvars.m4: New file.
1311 * m4/objcdepend.m4: New file.
1312 * m4/cxxdepend.m4: New file.
1313 * m4/init.m4: Moved dependency handling code into depout.m4.
1314 * m4/depout.m4: New file.
1315 * m4/ccdepend.m4: New file.
1316 * m4/depend.m4: New file.
1318 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1319 (@EXT@.lo): Likewise.
1320 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1323 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1324 will create the required .P files for dependency tracking.
1325 * automake.in (scan_dependency_file): Removed.
1326 (handle_dependencies): Never call scan_dependency_file.
1327 (generate_deps): Removed.
1328 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1329 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1330 (srcdir_name): Removed.
1331 (build_directory): Removed.
1332 (initialize_global_constants): Changed $USAGE to reflect argument
1334 (handle_dist_worker): Never run automake in `dist' rule.
1335 (handle_configure): Use --ignore-deps, not --include-deps.
1336 * depend.am (DEPS_MAGIC): Removed.
1337 (DEP_FILES): Unconditionally include.
1339 1999-03-27 Tom Tromey <tromey@cygnus.com>
1341 * automake.in (saw_sources_p): Correctly count header extensions
1343 (handle_headers): Fixed order of arguments to am_install_var.
1345 * automake.in (am_install_var): Don't error if EXTRA_foo is
1348 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1349 (uninstall-@DIR@SCRIPTS): Likewise.
1350 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1351 (uninstall-@DIR@PROGRAMS): Likewise.
1352 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1353 (uninstall-@DIR@LTLIBRARIES): Likewise.
1354 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1355 (uninstall-@DIR@LISP): Likewise.
1356 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1357 (uninstall-@DIR@LIBRARIES): Likewise.
1358 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1359 (uninstall-@DIR@JAVA): Likewise.
1360 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1361 (uninstall-@DIR@HEADERS): Likewise.
1362 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1363 (uninstall-@DIR@DATA): Likewise.
1364 * Makefile.in: Rebuilt.
1365 * Makefile.am (dist_pkgdata_DATA): Renamed.
1366 (EXTRA_DIST): Removed.
1367 (install-data-hook): Added POST_INSTALL; print commands as they
1368 are run; respect DESTDIR.
1369 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1370 * automake.in (am_install_var): Accept `-candist' and
1371 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1372 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1373 and `nodist_' prefixes.
1374 (handle_scripts): Pass -candist to am_install_var.
1375 (handle_data): Pass -defaultdist to am_install_var.
1376 (handle_headers): Likewise.
1377 (handle_emacs_lisp): Pass -candist to am_install_var.
1378 (handle_java): Pass -candist to am_install_var.
1380 1999-03-26 Tom Tromey <tromey@cygnus.com>
1382 * m4/init.m4: Fixed typo when invoking SHELL.
1384 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1385 yacc header file. From Ralf Corsepius.
1387 * Makefile.in: Rebuilt.
1388 * Makefile.am: Updated to reflect removal of TAR subst.
1389 * automake.texi (Options): Document dist-bzip2.
1390 * automake.in (TAR): Removed global.
1391 (initialize_global_constants): Changed `dist' to use pipe with
1392 gzip; work with non-GNU tar.
1393 (handle_dist): Handle non-GNU tar. Don't define TAR.
1394 (initialize_global_constants): Added `dist-bzip2' entry.
1395 (handle_options): Recognize dist-bzip2 option.
1396 (handle_dist): Likewise.
1397 * configure: Rebuilt.
1398 * configure.in: Don't check for tar.
1399 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1402 * automake.in (am_install_var): Removed obsolete comment.
1404 * texinfos.am (uninstall-info): Don't print loop but instead print
1405 commands. Simplified pre-uninstall loop.
1406 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1407 instead print commands.
1408 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1410 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1411 instead print commands.
1412 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1413 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1414 instead print commands.
1415 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1417 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1419 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1420 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1421 instead print commands.
1422 * data.am (install-@DIR@DATA): Strip subdir from file name.
1423 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1424 instead print commands.
1426 * automake.in (handle_merge_targets): `install-strip' is a phony
1427 target. From Michel de Ruiter.
1429 1999-03-25 Tom Tromey <tromey@cygnus.com>
1431 * automake.in (define_compiler_variable): Don't define variable
1434 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1436 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1437 * automake.texi: ditto
1439 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1441 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1442 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1444 1999-03-24 Tom Tromey <tromey@cygnus.com>
1446 * automake.in (define_compiler_variable): New sub.
1447 (finish_languages): Use it.
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-03-23 Tom Tromey <tromey@cygnus.com>
1456 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1457 sed invocations. From Elrond.
1458 (uninstall-@DIR@PROGRAMS): Likewise.
1460 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1461 From Ralf Corsepius.
1463 1999-02-01 Thomas Tanner <tanner@gmx.de>
1465 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1466 warning when AM_PROG_LIBTOOL was found
1467 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1469 1999-03-22 Tom Tromey <tromey@cygnus.com>
1471 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1472 * automake.in (define_standard_variables): New sub.
1473 (read_main_am_file): Use two passes to scan standard variables.
1474 (read_am_file): Don't special-case configure variables with `+='.
1475 (initialize_per_input): Initialize %var_was_plus_eq.
1476 (read_am_file): Set var_was_plus_eq element correctly.
1477 (define_variable): Give error if variable assigned with `+=' is
1479 (initialize_per_input): Initialize %am_var_defs.
1480 (file_contents_with_transform): Set element in %am_var_defs.
1481 (read_am_file): Use %am_var_defs.
1483 1999-03-21 Tom Tromey <tromey@cygnus.com>
1485 * automake.in (initialize_per_input): Initialize %object_map.
1486 (handle_single_transform_list): Allow source files in
1489 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1491 * automake.in (handle_dist): Add missing newline after the first
1494 1999-03-11 Tom Tromey <tromey@cygnus.com>
1496 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1497 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1500 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1502 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1503 legitimate ending. Fixes libobj9.test.
1505 From Ralf Corsepius. Fixes lex3.test.
1506 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1507 maintainer-clean list.
1508 (lang_lex_finish): Likewise.
1510 1999-03-02 Tom Tromey <tromey@cygnus.com>
1512 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1513 construct to work around FreeBSD make/sh problem. From Rich Wales.
1515 1999-03-01 Tom Tromey <tromey@cygnus.com>
1517 Fixes from Pavel Roskin:
1518 * automake.in (variable_conditions_sub): Sort list passed to
1519 variable_conditions_permutations.
1520 (variable_conditions): Sort list before returning.
1522 1999-02-27 Tom Tromey <tromey@cygnus.com>
1524 * automake.in (lang_extensions): New sub.
1525 (handle_dependencies): Use it.
1526 (cxx_extensions): Removed.
1527 (lang_cxx_finish): Use lang_extensions.
1528 (f77_extensions): Removed.
1529 (lang_f77_finish): Use lang_extensions.
1530 (objc_extensions): Removed.
1531 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1532 Report from Dave Morrison.
1533 (lang_ratfor_finish): Likewise.
1535 1999-02-26 Tom Tromey <tromey@cygnus.com>
1537 * automake.in (finish_languages): Added AM_LDFLAGS.
1538 (lang_cxx_finish): Likewise.
1539 (lang_f77_finish): Likewise.
1540 (lang_ppf77_finish): Likewise.
1541 (lang_ratfor_finish): Likewise.
1542 (lang_objc_finish): Likewise.
1544 1999-02-11 Tom Tromey <tromey@cygnus.com>
1546 * aclocal.in (obsolete_macros): Copied from automake.in.
1547 (obsolete_rx): Use only keys of obsolete_macros.
1548 (scan_configure): Report replacement macro for an obsolete macro.
1549 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1551 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1552 entry. Fixes obsolete2.test.
1554 * automake.in (obsolete_macros): Use empty string to indicate no
1556 (scan_one_configure_file): Likewise.
1558 1999-02-07 Paul Eggert <eggert@twinsun.com>
1560 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1561 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1562 needed by some programs.
1564 1999-02-10 Tom Tromey <tromey@cygnus.com>
1566 * automake.in (handle_texinfo): Added `pgs' to list of
1567 extensions. From NISHIDA Keisuke.
1569 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1571 * automake.in (handle_texinfo): remove texinfo.tex from
1574 1999-02-02 Tom Tromey <tromey@cygnus.com>
1576 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1577 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1578 * header-vars.am (INSTALL_PROGRAM): Removed
1579 AM_INSTALL_PROGRAM_FLAGS.
1580 (INSTALL_STRIP_FLAG): New macro.
1582 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1584 (lang_yacc_finish): Likewise.
1585 (lang_lex_finish): Likewise.
1587 1999-02-01 Tom Tromey <tromey@cygnus.com>
1589 * automake.in (handle_dist_worker): Correctly find find in $$d,
1590 not $$. From Bill Davidson.
1592 * automake.in (finish_languages): Use "&", not "do". From Pavel
1594 (handle_single_transform_list): Likewise.
1596 1999-01-29 Tom Tromey <tromey@cygnus.com>
1598 * automake.in (handle_configure): Removed unused variable. From
1601 * ansi2knr.c: New version from L. Peter Deutsch.
1603 1999-01-22 Tom Tromey <tromey@cygnus.com>
1605 * automake.in (require_file_internal): Correctly examine return
1606 value of `system'. From Andris Pavenis. Fixes copy.test.
1608 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1610 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1611 Kuepper. Fixes ppf77.test.
1612 (lang_ratfor_rewrite): New function
1614 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1615 fix). From Erez Zadok.
1617 1999-01-15 Tom Tromey <tromey@cygnus.com>
1619 * configure.in: Version 1.4a (oops).
1621 * configure.in: Updated version to 1.5a.
1623 1999-01-14 Tom Tromey <tromey@cygnus.com>
1625 * automake.in (handle_configure): Compute $header_dir based on
1626 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1628 (handle_configure): Compute relative path to input header
1629 correctly in all cases.
1631 * automake.in (handle_tests): Avoid error messages from dejagnu
1632 test rules. From Karl Heuer.
1634 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1636 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1638 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1639 From Alexandre Oliva and Erez Zadok.
1641 * automake.in (create): Renamed from touch.
1642 (handle_configure): Use create, not touch.
1644 * config.sub, config.guess: New versions from autoconf.
1646 * mkinstalldirs: New version from autoconf.
1648 1999-01-12 Tom Tromey <tromey@cygnus.com>
1650 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1653 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1655 * automake.in (PATH_PATTERN): New variable:
1656 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1657 symbols besides $(top_srcdir) and $(srcdir).
1659 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1661 * automake.in (handle_dist_worker): avoid failure in `make dist'
1662 if last file is a builddir-only file
1664 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1666 * missing (autoheader): `s' was missing from sed script; grr
1668 1999-01-11 Tom Tromey <tromey@cygnus.com>
1670 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1671 ($(srcdir)/@STAMP@.in): Likewise.
1673 1999-01-10 Tom Tromey <tromey@cygnus.com>
1675 * Makefile.am (scriptdir): New macro.
1676 (script_DATA): Likewise.
1677 (install-data-hook): Use them.
1678 (EXTRA_DIST): Added script_DATA.
1679 (installcheck-local): Use script_DATA.
1681 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1683 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1685 * missing (autoheader): accept multiple header files
1686 (automake): simplify sed processing
1688 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1690 * automake.in (handle_configure, stamp_dir): create only one stamp
1691 file per header, instead of one in the top-level directory and one
1692 in the directory that contains the header.
1694 1999-01-10 Tom Tromey <tromey@cygnus.com>
1696 * automake.in (lang_objc_finish): Formatting fix.
1698 * automake.in (objc_extensions): New sub.
1699 (handle_dependencies): Only generate dependency-tracking code for
1700 ObjC when ObjC source seen.