1 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
3 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
4 * automake.in, automake.texi: Likewise.
5 * clean-kr.am, clean.am: Likewise.
6 * comp-vars.am: Likewise.
7 * compile, compile.am: Likewise.
8 * data-clean.am: Likewise.
10 * dejagnu.am: Likewise.
12 * depend.am, depend2.am: Likewise.
13 * dist-vars.am, dist.am: Likewise.
14 * elisp-comp: Likewise.
15 * footer.am: Likewise.
16 * header-vars.am, header.am: Likewise.
17 * java-clean.am java.am: Likewise.
18 * kr-extra.am: Likewise.
19 * library.am: Likewise.
20 * libs-clean.am, libs.am: Likewise.
21 * libtool.am: Likewise.
22 * lisp-clean.am lisp.am: Likewise.
23 * ltlib-clean.am ltlib.am: Likewise.
24 * ltlibrary.am: Likewise.
25 * m4/Makefile.in: Likewise.
26 * m4/strtod.m4: Likewise.
27 * mans-vars.am, mans.am: Likewise.
30 * multilib.am: Likewise.
31 * program.am: Likewise.
32 * progs-clean.am, progs.am: Likewise.
33 * python-clean.am, python.am: Likewise.
34 * remake-hdr.am, remake.am: Likewise.
35 * scripts.am: Likewise.
36 * subdirs.am: Likewise.
37 * tags-clean.am, tags.am: Likewise.
38 * texi-vers.am: Likewise.
39 * texinfos.am: Likewise.
42 2000-10-09 Pavel Roskin <proski@gnu.org>
44 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
45 assignments changing $? - it's broken in ash-0.2.
46 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
48 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
49 defined use it as the list of M4 files aclocal.m4 depends on.
51 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
53 * aclocal.in (add_file): Strip comments while scanning for
56 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
58 * automake.in (initialize_global_constants): End the
59 result of dist-bzip2 with tar.bz2, not bz2.
61 2000-08-30 Tom Tromey <tromey@cygnus.com>
63 Fix for PR automake/72:
64 * automake.in (initialize_per_input): Define `need_link'.
65 (finish_languages): Use need_link.
66 (handle_source_transform): Set need_link if required.
68 2000-08-28 Tom Tromey <tromey@cygnus.com>
70 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
72 (register_language): Default the `derived-autodep' option.
73 (handle_single_transform_list): Add to %dep_files if language has
74 `derived-autodep' set. Re-fixes lex4.test.
76 2000-08-27 Tom Tromey <tromey@cygnus.com>
78 * automake.in (handle_single_transform_list): Only add to
79 %dep_files if language is found and supports automatic dependency
80 tracking. Fixes PR automake/75.
82 * automake.in (am_primary_prefixes): Don't set `valid' for
83 configure variables that don't satisfy the other constraints.
86 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
88 Fix for PR automake/67.
89 * automake.in (handle_multilib): remove .am suffix in fragment
90 name passed to file_contents.
91 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
92 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
93 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
95 2000-08-26 Tom Tromey <tromey@cygnus.com>
97 * subdirs.am (maintainer-clean-recursive): Always run clean rules
98 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
100 * automake.in (handle_man_pages): Generate install targets for man
101 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
103 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
104 Fix for PR automake/74. From js pendry.
106 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
108 * depcomp (gcc): Support DOS-style absolute file names with drive
111 2000-08-06 Jim Meyering <meyering@lucent.com>
113 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
114 if the depcomp file exists, before calling require_config_file on
115 `depcomp'. This makes require_file_internal skip its buggy existence
116 test that would make automake fail (with `required file `lib/depcomp'
117 not found') when AC_CONFIG_AUX_DIR is not set.
119 This change change does not fix the existing bug where, if `depcomp'
120 is not present in the build directory (at the top level), automake
121 still gives the inaccurate diagnostic about *lib*/depcomp rather
124 2000-08-05 Jim Meyering <meyering@lucent.com>
126 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
127 add missing closing bracket and closing parenthesis.
128 Don't quote the first argument to AC_OUTPUT_COMMANDS.
129 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
131 2000-08-04 Tom Tromey <tromey@cygnus.com>
133 Idea from Nicolas Thiery:
134 * automake.texi (Tests): Document DEJATOOL as a list.
135 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
136 (check-DEJAGNU): Run runtest in a loop.
138 2000-08-02 Akim Demaille <akim@epita.fr>
140 * m4: Quote properly the name of the macros being defined.
141 Use `#' instead of `dnl' where appropriate.
142 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
144 Don't quote passive characters.
145 Pull the AC_PREREQ outside the macro.
146 * m4/init.m4: Pull the AC_PREREQ outside the macro.
148 2000-07-28 Tom Tromey <tromey@cygnus.com>
150 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
153 2000-07-13 Kevin Ryde <user42@zip.com.au>
155 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
156 EXTRA_PROGRAMS as well as other _PROGRAMS.
158 2000-07-02 Jim Meyering <meyering@lucent.com>
160 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
162 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
164 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
167 2000-06-02 Morten Eriksen <mortene@sim.no>
169 * depcomp: workaround for problem with SGI IRIX sed (it can only
170 handle lines of up to 8192 characters, the rest of the line will
173 2000-05-31 Morten Eriksen <mortene@sim.no>
175 * depcomp: tell SGI MIPSpro compilers to generate dependencies
176 through the pre-processor (only CVS libtool has the -Wc option
179 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
181 * missing: Add support for `help2man'.
183 2000-05-11 Tom Tromey <tromey@cygnus.com>
185 * automake.in (handle_tests): Work correctly if TESTS is empty;
186 print nothing if it is. From Kevin Ryde.
188 2000-05-08 Tom Tromey <tromey@cygnus.com>
190 * automake.texi (Texinfo): Mention vers*.texi.
192 2000-05-04 Akim Demaille <akim@epita.fr>
194 AM_INIT_AUTOMAKE is no longer optional, so don't look for
195 `VERSION=' and `PACKAGE='.
196 * automake.in (seen_package, seen_version): Remove initializations of
197 unnecessary variables.
198 (scan_one_configure_file): Don't set them.
199 (scan_configure): Don't use them.
201 2000-05-01 Akim Demaille <akim@epita.fr>
203 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
204 (AM_INIT_AUTOMAKE): Update the writing conventions.
205 Quote the arguments properly.
206 Add a few missing `dnl'.
207 Use AC_PROVIDE_IFELSE.
209 2000-04-26 Jim Meyering <meyering@lucent.com>
211 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
212 macro. Based on a patch from Harlan Stenn.
214 2000-04-13 Akim Demaille <akim@epita.fr>
216 * compile: Remove unnecessary double quotes in assignments.
218 2000-04-13 Akim Demaille <demaille@epita.fr>
220 * automake.in (scan_one_configure_file): Also recognize
222 Remove trailing blanks.
224 2000-04-05 Tom Tromey <tromey@cygnus.com>
226 * header-vars.am (DESTDIR): Commented out definition.
228 * automake.in (require_file_internal): Pass --copy to libtoolize
229 if automake was run with `--copy'.
231 2000-03-22 Tom Tromey <tromey@cygnus.com>
233 * automake.texi (Uniform): Fix definition of pkglibdir.
234 From thi <ttn@revel.glug.org>.
236 2000-03-19 Tom Tromey <tromey@cygnus.com>
238 * aclocal.in (parse_arguments): Copyright 2000.
239 (write_aclocal): Likewise.
240 * automake.in (parse_arguments): Copyright 2000.
241 (initialize_global_constants): Likewise.
243 * automake.in (generate_makefile): Call handle_dist after
244 handle_dependencies and handle_tests. Fixes subobj3.test and
245 pr19.test regressions.
247 2000-03-19 Gordon Matzigkeit <gord@fig.org>
249 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
250 as the current directory.
251 (@EXT@.lo): Likewise.
253 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
255 * automake.in (handle_data): Pass -candist instead of
256 -defaultdist, for the compatibility.
258 2000-03-19 Tom Tromey <tromey@cygnus.com>
260 Fix for test nodepcomp.test:
261 * automake.in (require_file_internal): Use readlink on symlinks.
262 Only unlink file if we are going to try to add it again.
263 (handle_dependencies): Require `depcomp' here.
264 (scan_configure): Don't require `depcomp'.
266 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
268 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
269 the rule to remake Makefile, whether $use_dependencies is true
270 or not. This was a historical one and doesn't make sense any
273 2000-03-19 Tom Tromey <tromey@cygnus.com>
275 More for PR automake/38:
276 * automake.texi (Invoking Automake): Document --force-missing.
277 * automake.in (force_missing): New global.
278 (parse_arguments): Recognize --force-missing.
279 (initialize_global_constants): Document --force-missing.
280 (require_file_internal): Handle --force-missing.
282 Fix for PR automake/38:
283 * automake.in (require_file_internal): Check for and handle
284 dangling symlinks. Fixes symlink2.test.
286 Fix for PR automake/45:
287 * automake.texi (configure): Mention requirement to run
289 (Requirements): Removed most text.
290 * automake.in (seen_init_automake): New global.
291 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
292 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
293 Set seen_init_automake if needed.
295 Fix for PR automake/41:
296 * automake.in (require_file_found): New global.
297 (require_file_internal): Set require_file_found entry.
298 (handle_texinfo): Require file any number of times.
300 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
303 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
305 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
307 * m4/missing.m4: Print the backtick in a way that won't cause
308 autoconf CVS to emit any warnings.
310 2000-03-01 Jim Meyering <meyering@lucent.com>
312 * automake.in (handle_dist_worker) [generating rules for distdir]:
313 Don't use `ln' (which was just a space optimization anyway) to
314 populate $(distdir). Otherwise, the dist rules that change
315 permissions would end up affecting the master sources.
316 * texinfos.am (dist-info): Likewise.
318 2000-02-13 Jim Meyering <meyering@lucent.com>
320 * automake.in (generate_makefile): Detect write/close failure.
322 2000-02-02 Assar Westerlund <assar@sics.se>
324 * automake.in (handle_single_transform_list): do not use $< which
325 is not handled by all non-GNU makes. Instead do explicit sh code
326 testing for the file in this directory and srcdir. Based on a
327 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
329 2000-01-12 Tom Tromey <tromey@cygnus.com>
331 * m4/lispdir.m4: Added --with-lispdir argument processing.
334 2000-01-06 Tom Tromey <tromey@cygnus.com>
336 * automake.in (handle_configure): Don't check for
338 (scan_configure): Check for AC_PROG_MAKE_SET.
340 * header-vars.am (@SET_MAKE@): Added.
341 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
344 1999-12-19 Tom Tromey <tromey@cygnus.com>
346 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
348 (require_file_internal): Corrected arguments to second invocation
349 of maybe_push_required_file.
351 Fix for PR automake/9:
352 * automake.in (make_dirs, make_dirs_set): New globals.
353 (is_make_dir): New function.
354 (handle_configure): Use it.
355 (require_file_internal): Push file if there is no Makefile in its
357 (initialize_per_input): Initialize handle_dist_run.
358 (push_dist_common): Inspect handle_dist_run.
359 (handle_dist): Set handle_dist_run. Push items from
360 configure_dist_common onto dist_common if appropriate.
361 (configure_dist_common): New global.
362 (scan_configure): Set it.
363 (maybe_push_required_file): New function.
364 (require_file_internal): Use it.
366 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
367 more subdirs are defined. From Axel Belinfante. Fixes
370 1999-12-18 Tom Tromey <tromey@cygnus.com>
372 Partial fix for PR automake/40:
373 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
374 (uninstall-@DIR@LISP): Likewise.
375 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
376 (uninstall-@DIR@HEADERS): Likewise.
377 * data.am (install-@DIR@DATA): Handle nobase_ case.
378 (uninstall-@DIR@DATA): Likewise.
379 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
380 (am_install_var): Recognize and handle `nobase_' prefix.
382 1999-12-17 Tom Tromey <tromey@cygnus.com>
384 * automake.in (get_object_extension): Added space before `-I.'.
385 Report from Ralf Corsepius.
387 1999-12-15 Tom Tromey <tromey@cygnus.com>
389 * aclocal.in: Don't pass $acdir to scan_m4_files.
390 (parse_arguments): Push $acdir on end of dirlist.
391 (scan_file): Don't warn if duplicate macro seen.
393 1999-12-13 Tom Tromey <tromey@cygnus.com>
395 Fix for PR automake/30 and PR automake/23. Fixes test
397 * automake.in (initialize_per_input): Initialize
398 source_suffix_pattern.
399 (derive_suffix): New function.
400 (handle_single_transform_list): Call it.
402 * automake.in (add_depend2): Handle the no-dependency-tracking
403 case. Fixes test suffix2.test.
405 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
407 * automake.in (get_object_extension): Fixed quoting on
410 * depend2.am: Removed erroneous comment.
412 * automake.texi (Program variables): Document nostdinc.
414 * automake.in (get_object_extension): Respect nostdinc option.
415 (handle_options): Recognize nostdinc.
416 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
419 * automake.in (read_am_file): Allow conditional includes. Fixes
422 * depcomp: Handle case on SGI when libtool is `yes'.
423 * depend2.am (@EXT@.o): Set libtool.
424 (@EXT@.lo): Likewise.
425 (@EXT@.obj): Likewise.
427 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
430 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
432 * automake.in (add_depend2): substitute $rule in the rules
433 for individual files. Fixes test specflags5.test.
435 1999-12-12 Tom Tromey <tromey@cygnus.com>
437 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
438 to create directories. Fixes test subobj3.test.
440 1999-12-10 Tom Tromey <tromey@cygnus.com>
442 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
443 message when creating .deps files.
445 * automake.in (initialize_global_constants): If unreadable by
446 owner, make it readable by owner regardless of number of links.
447 Fixes more of install2.test.
449 * missing: Try to see if gnutar or gtar exist before invoking
452 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
453 install_sh value. Look for install-sh and install.sh in a
454 somewhat more sensible way. Fixes test install2.test. Partially
457 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
459 * m4/missing.m4: remove redundant backquote
461 1999-11-23 Tom Tromey <tromey@cygnus.com>
463 * automake.in (initialize_global_constants): Use `bzip2 -9', not
464 `bzip --best' Report from Jim Meyering.
466 1999-11-22 Tom Tromey <tromey@cygnus.com>
468 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
469 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
470 AM_MISSING_INSTALL_SH.
471 * automake.in (scan_one_configure_file): Reverted previous
474 * automake.in (scan_one_configure_file): Define `install_sh'
475 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
478 * automake.in (handle_single_transform_list): Generate explicit
479 rule for subdir objects. Fixes new addition to subobj.test.
481 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
482 defined by AC_SUBST. Fixes ltlibobjs.test.
484 Fix for sourcesub.test:
485 * automake.in (handle_single_transform_list): Added `var'
486 argument. If config sub found, give error.
487 (handle_source_transform): Updated for new
488 handle_source_transform.
490 * py-compile: New file.
491 * m4/Makefile.am (m4data_DATA): Added python.m4.
492 * m4/python.m4: New file.
493 * automake.texi (Uniform): Mention PYTHON.
495 * Makefile.am (amfiles): Added python.am, python-clean.am.
496 (dist_script_DATA): Added py-compile.
497 * python.am: New file.
498 * python-clean.am: New file.
499 * automake.in (seen_pythondir): New global.
500 (generate_makefile): Call handle_python.
501 (handle_python): New function.
502 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
504 (am_install_var): Special-case PYTHON like JAVA.
505 (scan_configure): Check for py-compile.
506 (initialize_global_constants): Added py-compile to @common_files.
508 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
510 1999-11-21 Tom Tromey <tromey@cygnus.com>
512 * automake.in (finish_languages): Only generate suffix rule when
513 not doing dependency tracking.
515 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
516 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
518 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
521 1999-11-19 Tom Tromey <tromey@cygnus.com>
523 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
524 Alexandre's change on branch.
526 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
528 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
530 * dejagnu.am: Set CDPATH before cd.
531 * Makefile.in: Rebuilt.
533 * automake.in (handle_single_transform_list): Change `\1' for `$1'
534 in `s///' replacement.
536 * automake.in (handle_dist): Set CDPATH before cd.
537 * dejagnu.am (check-DEJAGNU): Likewise.
538 * texinfos.am (install-info-am, dist-info): Likewise.
539 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
540 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
541 * aclocal.m4, configure, Makefile.in: Rebuilt.
543 * AUTHORS: Added myself.
545 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
547 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
548 Reported by Tim Wilkinson <tim@transvirtual.com>
549 * aclocal.m4, configure: Rebuilt.
551 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
553 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
554 LEX program is found, use `${am_missing_run}flex'.
556 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
558 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
561 * automake.in (handle_lib_objects_cond): Remove second dot from
562 dependency file names.
564 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
565 regardless of OBJEXT.
567 * automake.in (handle_dependencies): Add blank line after depend2.
568 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
569 blank line before `include's, not after them.
570 (scan_one_configure_file): Do not special-case `DEP_' any more.
572 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
574 * aclocal.m4, configure: Rebuilt.
576 * m4/depend.m4 (AMDEPBACKSLASH): Define.
577 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
579 * automake.in (handle_dependencies): Generate `include's for
580 dependency files after `@AMDEP@'.
582 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
583 --run support in the missing script, since SHELL is not exported.
584 Reported by job bogan <job@piquin.uchicago.edu>
585 * aclocal.m4, configure: Rebuilt.
587 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
589 * aclocal.m4, configure: Rebuilt with itself.
590 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
592 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
593 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
594 (AM_MISSING_HAS_RUN): New macro.
595 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
596 * automake.texi (Requirements): Likewise.
597 * version.texi, stamp-vti: Rebuilt.
599 1999-07-28 Tom Tromey <tromey@cygnus.com>
601 * depcomp: Handle the `hp' mode.
603 1999-07-06 Tom Tromey <tromey@cygnus.com>
605 * depcomp: Work around HP-UX 10.20 sed bug.
607 1999-07-05 Tom Tromey <tromey@cygnus.com>
609 * automake.in (handle_dependencies): Generate a separate include
610 for each dep file. Report from Alexandre Oliva.
611 * depend.am: Don't include DEP_FILES.
613 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
615 * depend.am: Add @AMDEP@ before `include', so that dependency
616 tracking can be disabled.
617 * depend2.am: Ditto, before all lines related with dependency
619 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
620 --enable/disable-dependency-tracking and sets AMDEP accordingly.
621 It is implicitly disabled if depcomp is missing.
622 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
623 generated by side-effect.
624 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
625 * automake.in (handle_dependencies): Add @AMDEP@ before the value
627 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
630 * depcomp: Support -xM for dependency generation, for Sun CC.
631 Reported by Alex Hornby <alex@anvil.co.uk>
632 * m4/depend.m4: Extract the list of supported dependency-tracking
633 mechanisms from the depcomp script and use it to test each one.
634 * THANKS: Added Alex Hornby.
636 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
637 to leave $(...COMPILE) in a line by itself.
639 * THANKS: Added Miles Bader.
641 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
643 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
644 Fix `dashmstdout' to ignore non-dependency-generating uses of the
646 * depcomp (makedepend): New dependency-generating method.
648 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
650 * missing: If given `--run' as first argument, try to run the
651 given program before falling back to the ``emulated'' behavior.
652 Add support for `tar'.
653 * automake.in: Use new `tar' support for `dist'.
654 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
655 program, prepend `missing --run' to the given program name.
656 * m4/init.m4: Remove AMTAR-related stuff.
659 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
660 CONFIG_FILES. Do not use temporary variable for list of
661 dependency files, it breaks Cygwin.
663 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
665 * depcomp (gcc): Imported comments removed from depend2.am, so
666 that we don't lose them.
668 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
669 when not using ansi2knr.
671 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
673 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
674 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
676 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
678 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
679 so as not to compile an empty source; some compilers fail on this.
680 Redirect stderr of depcc to /dev/null. Test for -M with -o,
681 because some compilers will output the rules to the output file.
682 * depcomp (dashmstdout): Add --silent before --mode=compile, so
683 that we don't get libtool output mixed up with make rules.
685 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
686 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
687 -o for libtool, otherwise it may try to deduce the object name
688 from the dependency-generation flag.
689 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
692 * libtool.am: Do not emit .c.lo here...
693 * depend2.am: ... emit .*.lo here, only when using libtool.
694 * automake.in (get_object_extension): No more @MINUSO@ here.
695 (handle_single_transform_list): Set $depfile from $object.
696 (handle_dependencies): Emit depend2.am for all used languages,
697 regardless of $use_dependencies; the setting of depcomp makes the
699 (lang_cxx_finish): Do not emit compilation rules.
700 (lang_objc_finish): Likewise.
701 (lang_java_finish): Likewise.
703 1999-04-21 Tom Tromey <tromey@cygnus.com>
705 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
706 interpolate DEPDIR in DEP_FILES expansion.
708 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
710 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
712 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
713 handle multi-line dependency lists.
715 1999-11-12 Tom Tromey <tromey@cygnus.com>
717 Fix for PR automake/14:
718 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
720 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
722 * m4/multi.m4: Added missing `]'. From Akim Demaille.
724 * Makefile.am (path-check): Make sure distdir is writeable before
726 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
727 (handle_dist_worker): Make sure distdir is writeable before
729 (initialize_global_constants [$dist_trailer]): Make sure distdir
730 is writeable before removing it.
731 * dist.am (distcheck): Make the new source tree read-only before
732 compiling. Idea from Karl Berry.
734 * automake.texi (Gnits): Allow COPYING.LIB again.
735 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
737 1999-11-11 Jim Meyering <meyering@ascend.com>
739 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
742 1999-11-09 Tom Tromey <tromey@cygnus.com>
744 * automake.in (handle_dist): Typo fix. From Jim Meyering.
746 1999-11-09 Jim Meyering <meyering@ascend.com>
748 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
749 markers, no matter what.
751 1999-11-08 Tom Tromey <tromey@cygnus.com>
753 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
756 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
757 From Jim Meyering. Also, don't mention file name in `cp'
758 destination. From Olly Betts.
760 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
762 * texinfos.am (uninstall-info): Use installed info file, not one
763 from srcdir or builddir.
765 1999-11-07 Tom Tromey <tromey@cygnus.com>
767 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
770 Fix for PR automake/18:
771 * automake.in (handle_dist): Add contents of dist.am to the output
773 * Makefile.am (amfiles): Added dist.am.
775 (distcheck): Added uninstall and distclean checks.
777 * automake.in (PATH_PATTERN): Added `-' as allowable character.
778 Fixes PR automake/20. From Matthew D. Langston.
780 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
781 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
783 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
785 * m4/lispdir.m4: -batch must come before -q.
786 * elisp-comp: Likewise.
787 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
788 * THANKS: Added Lars.
790 1999-08-15 Tom Tromey <tromey@cygnus.com>
792 * automake.in (get_object_extension): Fixed quoting bug. Fixes
795 1999-07-27 Tom Tromey <tromey@cygnus.com>
797 * config.guess, config.sub: New versions from autoconf.
799 1999-07-13 Tom Tromey <tromey@cygnus.com>
801 Work around losing `awk'. Report from Harlan Stenn.
802 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
803 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
805 * automake.in (handle_source_transform): Mark prefix as seen if
806 corresponding _SOURCES variable exists. Fixes empty2.test.
808 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
810 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
812 (AUTOMAKE): Set --amdir to current directory.
814 1999-06-20 Tom Tromey <tromey@cygnus.com>
816 * Makefile.am (TAGS_FILES): New macro.
817 (ETAGS_ARGS): Moved files into TAGS_FILES.
818 (TAGS_DEPENDENCIES): Likewise.
819 (ETAGS_ARGS): Removed.
820 (TAGS_DEPENDENCIES): Removed duplicate definition.
822 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
823 from Ganesan Rajagopal.
826 1999-06-18 Thomas Tanner <tanner@ffii.org>
828 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
831 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
833 * ylwrap: Handle filenames output by the DOS version of Bison.
835 1999-06-20 Tom Tromey <tromey@cygnus.com>
837 * ylwrap: Be less strict when recognizing DOS paths. From Mark
840 1999-06-19 Tom Tromey <tromey@cygnus.com>
842 * automake.in (handle_dist_worker): Remove redundant entries from
845 * automake.in (handle_lib_objects_cond): Better error message when
846 unrecognized option passed in LDADD.
848 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
850 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
851 appropriate --acdir and --amdir arguments.
853 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
855 * automake.in (dist_header): Avoid changing permissions of files
856 in the source tree, trying a complex `find/chmod' command before
857 falling back to plain chmod.
858 (handle_dist_worker): Do not create directories with mode 777, the
859 find above will take care of that.
860 * m4/init.m4: Set install_sh for find/chmod above.
862 * THANKS: Added Shuhei Amakawa.
864 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
866 * mans.am: Strip dirname from given filename.
868 1999-06-07 Jim Meyering <meyering@ascend.com>
870 * automake.in (handle_dist): Change emitted rules so that a failure
871 in `$(MAKE) distcheck-hook' propagates to the outer make.
873 1999-05-27 Tom Tromey <tromey@cygnus.com>
875 * automake.in (handle_single_transform_list): Replace AM_FLAG and
876 not FLAG in compilation rule.
877 (add_depend2): Likewise.
879 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
882 * m4/dmalloc.m4: Updated dmalloc site information.
884 1999-05-19 Tom Tromey <tromey@cygnus.com>
886 * automake.in (handle_single_transform_list): Push object name
887 without extension onto lang_specific_files. Fixes
890 * automake.in (handle_single_transform_list): Added missing
891 space. Fixes specflags.test.
893 1999-05-05 Tom Tromey <tromey@cygnus.com>
895 * automake.in: Disabled dependency tracking for Java.
897 1999-05-04 Tom Tromey <tromey@cygnus.com>
899 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
900 * automake.in (handle_libraries): Recognize _AR variable.
902 1999-04-30 Tom Tromey <tromey@cygnus.com>
904 * automake.in (finish_languages): Always use `-o $@' with
905 libtool. Define ltcompile and ltlink at outermost scope in
907 * libtool.am (.c.lo): Removed.
909 * automake.in (finish_languages): Put `.' before extension in
910 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
911 `-flag'. From Pavel Roskin.
913 1999-04-28 Tom Tromey <tromey@cygnus.com>
915 * automake.in (finish_languages): Fixed scoping of ltcompile and
916 ltlink. From Pavel Roskin.
918 1999-04-27 Tom Tromey <tromey@cygnus.com>
920 * automake.in (read_main_am_file): Don't start macro definition
921 with backslash-newline. Instead, append newline at the end if
924 * automake.in (read_am_file): Insert a backslash before a trailing
925 newline. Fixes pluseq8.test.
927 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
929 (check_canonical_spelling): Don't insert `AM' before macro name
930 (reverts Alexandre's 1999-04-27 patch).
931 * automake.texi: Reverted documentation change for `AM' patch.
933 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
934 Minor rewrite for clarity.
935 (check_canonical_spelling): Prefer `$1' over `\1'.
937 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
940 * automake.in (handle_single_transform_list): Don't print rule if
941 doing dependency tracking and the file's language supports it.
942 (initialize_per_input): Initialize lang_specific_files.
943 (add_depend2): New function.
944 (handle_dependencies): Use it.
946 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
947 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
948 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
950 (lang_ratfor_finish): Use lang_f77_finish.
952 * compile.am (NOTDEPEND.c.o): Removed.
953 (OBJEXT.c.obj): Likewise.
954 * automake.in: Added `flags' attribute to all relevant languages.
955 (handle_single_transform_list): Handle per-derived-object flags.
956 Changed interface and all callers.
957 (handle_built_sources): Don't call handle_single_transform_list.
958 Added `compile' and `compiler-name' attribute to all relevant
960 (finish_languages): Define compiler variables here.
961 (lang_cxx_finish): Don't call define_compiler_variable. Don't
962 define flag variable or .o rules. Don't add to @suffixes.
963 (lang_f77_finish): Likewise.
964 (lang_ppf77_finish): Likewise.
965 (lang_objc_finish): Likewise.
966 (lang_java_finish): Likewise.
967 (finish_languages): Define flag variable here.
968 Added `output-arg' attribute to all relevant languages.
969 (finish_languages): Define `.o' rules here.
970 (finish_languages): Put extension on @suffixes.
971 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
973 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
975 * automake.in (initialize_global_constants): Invoke gzip for
976 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
978 * automake.in (initialize_global_constants): Remove zip file
979 before re-creating it.
980 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
982 * texinfos.am (uninstall-info): Look for info file in srcdir, just
983 like in install-info-am.
984 Reported by Tudor Hulubei <tudor@cs.unh.edu>
986 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
987 Let's use the good ol' substitution, then.
988 Reported by Russ Allbery <rra@stanford.edu>
990 * automake.in (check_canonical_spelling): Insert AM before names
991 starting with non-letters.
993 * automake.texi: Document it.
995 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
997 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
998 doesn't work on perl4. Maybe \Q and \E do.
1000 1999-04-24 Tom Tromey <tromey@cygnus.com>
1002 * automake.in: Treat `.zip' and `.jar' files as Java.
1004 * automake.in (generate_makefile): Define `subdir' after reading
1006 (read_main_am_file): Give programming error if variable defined
1009 1999-04-22 Tom Tromey <tromey@cygnus.com>
1011 * automake.in (generate_makefile): Define `subdir' variable.
1012 (handle_dist): Don't define `subdir'.
1014 * automake.in (handle_texinfo): Change numbering scheme for
1015 stamp-vti files, to avoid problems with DOS.
1016 From Michel de Ruiter.
1018 * automake.texi: Don't mention AM_FUNC_MKTIME.
1019 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1020 * automake.in (scan_one_configure_file): Recognize
1021 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1022 (obsolete_macros): Mention AM_FUNC_MKTIME.
1023 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1024 * m4/mktime.m4: Removed.
1026 1999-04-20 Tom Tromey <tromey@cygnus.com>
1028 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1030 1999-04-20 Brian Ford <ford@vss.fsi.com>
1032 * scripts.am: Change else if's to elif.
1034 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1036 * automake.in (handle_lib_objects_cond): Only require the source
1037 of a LIBOBJ if it's not in BUILT_SOURCES.
1038 Reported by Erez Zadok.
1040 1999-04-19 Tom Tromey <tromey@cygnus.com>
1042 * automake.in: Treat `.class' files as Java source.
1043 (lang_java_finish): Handle `.class' files.
1045 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1047 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1049 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1050 Run some emacs-lisp to find out the site-lisp directory, but
1051 relocate it into prefix.
1053 1999-04-17 Paul Eggert <eggert@twinsun.com>
1055 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1056 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1057 even outside of bigtime_test. Use a time limit of 60 seconds
1058 for the whole test, not 10 seconds per iteration.
1060 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1062 * automake.in: Create stamps for headers in appropriate
1063 directories, even if the input file lives in a different place.
1064 * remake-hdr.am: Likewise.
1066 1999-04-16 Tom Tromey <tromey@cygnus.com>
1069 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1070 Invoke `sed' only once per program.
1071 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1072 Invoke `sed' only once per program.
1074 1999-04-13 Tom Tromey <tromey@cygnus.com>
1076 * automake.in (handle_subdirs): Make `install-recursive' phony.
1077 From Michel de Ruiter.
1079 * automake.in (handle_ltlibraries): Added missing `check'.
1081 1999-04-12 Tom Tromey <tromey@cygnus.com>
1083 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1086 1999-04-11 Tom Tromey <tromey@cygnus.com>
1088 * automake.in (handle_dist): Use AMTAR.
1089 (initialize_global_constants): Likewise.
1090 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1092 * automake.in (lang_sub_obj): New function.
1093 (lang_cxx_rewrite): Use it.
1094 (lang_asm_rewrite): Likewise.
1095 (lang_objc_rewrite): Likewise.
1096 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1097 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1098 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1099 (lang_java_finish): Likewise.
1101 * automake.in: Only register `asm' once.
1102 (lang_asm_finish): Put assembly suffixes on @suffixes.
1104 * libtool.am (.s.lo): Removed.
1106 * automake.in (lang_asm_finish): Handle libtool.
1108 * libtool.am (.c.o): Always pass -c to libtool.
1110 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1111 (lang_yaccxx_rewrite): Likewise.
1112 (lang_lex_rewrite): Likewise.
1113 (lang_lexxx_rewrite): Likewise.
1115 Assembly code no longer included by default:
1116 * compile.am (.s.o): Removed.
1118 * automake.in: Register `asm' language.
1119 (lang_asm_finish): Generate suffix rules for assembly.
1120 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1122 * automake.in (get_object_extension): Substitute @MINUSO@ when
1123 including compile.am.
1124 * compile.am (.c.o): Added @MINUSO@.
1127 First cut at allowing objects in subdirectories:
1128 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1129 * Makefile.am (dist_script_DATA): Added compile.
1130 * m4/minuso.m4: New file.
1131 * automake.in (initialize_global_constants): Added compile to
1133 (seen_cc_c_o): New global.
1134 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1135 (handle_options): Recognize `subdir-objects' option.
1136 (lang_c_rewrite): Added directory argument.
1137 (lang_yacc_rewrite): Likewise.
1138 (lang_yaccxx_rewrite): Likewise.
1139 (lang_lex_rewrite): Likewise.
1140 (lang_lexxx_rewrite): Likewise.
1141 (handle_single_transform_list): Pass directory to _rewrite
1142 function. Generate dependencies for dirstamp files for each .o;
1143 it is just the rules we want to create once.
1144 (lang_c_rewrite): Handle `subdir-objects' option.
1145 (lang_c_rewrite): Require `compile' program.
1146 * compile: New file.
1148 * automake.in (initialize_per_input): Initialize %directory_map.
1149 (handle_single_transform_list): Only create .dirstamp rules once
1152 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1155 * automake.in (configure_input_files): New global.
1156 (scan_configure): Set it.
1157 (handle_configure): Use configure_input_files when determining
1158 which subdirs have a Makefile.am. Fixes confh.test.
1159 (handle_configure): Only recognize acconfig.h in top srcdir.
1161 1999-04-10 Tom Tromey <tromey@cygnus.com>
1163 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1166 * automake.in (am_install_var): Remove redundancies from the
1167 result. Fixes test cond8.test.
1169 * automake.in (handle_single_transform_list): Handle dependency
1170 tracking when files are created in subdirs. Error if object in
1171 subdir has `..' component.
1173 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1175 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1177 * automake.in (lang_yacc_finish): Added missing `&'.
1179 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1181 * automake.in (handle_configure): Replace multiple occurrences of
1182 @STAMP@ in the same line; completes the patch for remake-hdr.am
1185 * automake.in (handle_dependencies): Fix test for `autodep'
1188 * automake.in (handle_source_transform): Add a pfx to used_pfx
1189 only if it's conditional or non-empty, to reduce the number of
1190 empty variables. Emit _OBJECS variable based on program name if
1191 no SOURCES were explicitly specified.
1193 * remake-hdr.am: Create the stamp file before the header file,
1194 and just rename it after, so that the timestamps will be correct.
1195 Reported by Marc Horowitz <marc@mit.edu>
1197 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1198 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1199 Reported by Jim Meyering <meyering@ascend.com>
1201 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1203 1999-04-10 Tom Tromey <tromey@cygnus.com>
1205 * Makefile.am (EXTRA_DIST): New macro.
1206 * ChangeLog.1996, ChangeLog.1998: New files.
1208 1999-04-09 Tom Tromey <tromey@cygnus.com>
1210 * automake.in (handle_source_transform): Handle dist and nodist
1212 (initialize_per_input): Initialize dist_sources.
1213 (check_libobjs_sources): Handle dist and nodist prefixes.
1214 (generate_makefile): Define DIST_SOURCES.
1215 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1217 * automake.texi (Macros): Mention AM_PROG_GCJ.
1218 (Java Support): New node.
1219 (Dist): Documented dist_ and nodist_ prefixes.
1221 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1223 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1224 files, not `.gcj' files.
1226 * m4/gcj.m4: New file.
1227 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1229 * automake.in: Register the `java' language.
1230 (resolve_linker): Handle GCJLINK.
1231 (lang_java_rewrite): New function.
1232 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1233 (lang_c_rewrite): Use new constants.
1234 (lang_cxx_rewrite): Likewise.
1235 (lang_header_rewrite): Likewise.
1236 (lang_yacc_rewrite): Likewise.
1237 (lang_yaccxx_rewrite): Likewise.
1238 (lang_lex_rewrite): Likewise.
1239 (lang_lexxx_rewrite): Likewise.
1240 (lang_asm_rewrite): Likewise.
1241 (lang_f77_rewrite): Likewise.
1242 (lang_ppf77_rewrite): Likewise.
1243 (lang_ratfor_rewrite): Likewise.
1244 (lang_objc_rewrite): Likewise.
1245 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1246 return from rewrite function.
1247 (lang_java_finish): New function.
1248 (register_language): Changed interface and all calls. Added
1249 `autodep' settings to various languages.
1250 (handle_dependencies): Use `autodep' property of language when
1251 including dependency-tracking code.
1253 1999-04-07 Tom Tromey <tromey@cygnus.com>
1255 * automake.in (handle_texinfo): Indentation fixes.
1257 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1259 * automake.in (value_to_list): Skip *only* trailing backslashes.
1261 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1263 * automake.in (value_to_list): Skip trailing backslashes.
1265 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1267 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1269 Reported by Per Cederqvist <ceder@lysator.liu.se>
1270 (handle_texinfo): Do not define texinfo_tex='.', use
1271 '$(srcdir)/texinfo.tex' instead; the directory name will be
1273 (require_conf_file_with_line): Fixed typo.
1275 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1277 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1278 we do not depend on PATH starting with `.'.
1280 1999-03-31 Tom Tromey <tromey@cygnus.com>
1282 * automake.in (quote_cond_val): Quote \n.
1283 (unquote_cond_val): Unquote \n.
1284 (read_am_file): If line ends with `\', preserve it and add a
1286 (read_main_am_file): In conditional case, put conditional text at
1287 beginning of each generated line.
1289 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1291 * automake.in (handle_tests): support XFAIL_TEST
1292 * automake.texi: document it
1294 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1296 * End of merge from trunk.
1298 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1300 * automake.in (cmdline_use_dependencies): Reintroduce it.
1301 (--ignore-deps): Set cmdline_use_dependencies again.
1302 (handle_dependencies): If use_dependencies is not set, define
1304 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1305 (scan_configure): Do not require depcomp when ignoring
1307 (initialize_global_constants): Reintroduce --ignore-deps.
1309 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1311 * depcomp: New file.
1312 * Makefile.am (dist_script_DATA): Added depcomp.
1313 * automake.in (cmdline_use_dependencies, omit_dependencies,
1314 dependency_macros): Removed.
1315 (--ignore-deps): Just ignore.
1316 (handle_single_transform_list, dep_files): Named dependency files
1317 as \$(DEPDIR)/$base.P$obj
1318 (handle_lib_objects_cond): Likewise.
1319 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1320 (scan_one_configure_file): Likewise.
1321 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1322 Ignore OMIT_DEPENDENCIES.
1323 (handle_configure): Do not pass --ignore-deps.
1324 (scan_configure): Require `depcomp'.
1325 (initialize_global_constants): Make `depcomp' common. Remove
1326 `--ignore-deps' from usage.
1327 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1328 * compile.am: Remove rules for .c.o and .c.obj
1329 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1330 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1331 Use it and depcomp in suffix rules.
1332 * libtool.m4: Likewise.
1333 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1334 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1335 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1336 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1337 from the Makefile and subst it in deps. Report creation of deps
1338 files (for now). Replace $U with `_' and the empty string. Write
1339 a comment to each created file.
1340 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1341 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1342 dependency mode and AC_SUBST [$1]DEPMODE.
1343 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1344 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1345 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1347 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1349 * depout.m4: Fix sed expression for extracting `dirpart'.
1351 1999-03-29 Tom Tromey <tromey@cygnus.com>
1353 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1355 * compile.am (.c.obj): Also disabled when dependency tracking
1357 * depend2.am (@EXT@.obj): New target.
1358 * automake.in (get_object_extension): Added explanatory comment.
1359 (generate_dependency_code): Handle $seen_objext.
1361 * depend.am: Removed obsolete comment.
1362 * depend2.am: Minor formatting fix.
1364 1999-03-28 Tom Tromey <tromey@cygnus.com>
1366 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1368 (EXTRA_DIST): Removed.
1369 * automake.in (dependency_macros): New global.
1370 (scan_one_configure_file): Recognize new dependency tracking
1371 macros, and define new resulting configure variables.
1372 (generate_dependency_code): New sub.
1373 (handle_dependencies): Use it.
1374 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1376 (@EXT@.lo): Likewise.
1377 * m4/depvars.m4: New file.
1378 * m4/objcdepend.m4: New file.
1379 * m4/cxxdepend.m4: New file.
1380 * m4/init.m4: Moved dependency handling code into depout.m4.
1381 * m4/depout.m4: New file.
1382 * m4/ccdepend.m4: New file.
1383 * m4/depend.m4: New file.
1385 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1386 (@EXT@.lo): Likewise.
1387 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1390 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1391 will create the required .P files for dependency tracking.
1392 * automake.in (scan_dependency_file): Removed.
1393 (handle_dependencies): Never call scan_dependency_file.
1394 (generate_deps): Removed.
1395 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1396 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1397 (srcdir_name): Removed.
1398 (build_directory): Removed.
1399 (initialize_global_constants): Changed $USAGE to reflect argument
1401 (handle_dist_worker): Never run automake in `dist' rule.
1402 (handle_configure): Use --ignore-deps, not --include-deps.
1403 * depend.am (DEPS_MAGIC): Removed.
1404 (DEP_FILES): Unconditionally include.
1406 1999-03-27 Tom Tromey <tromey@cygnus.com>
1408 * automake.in (saw_sources_p): Correctly count header extensions
1410 (handle_headers): Fixed order of arguments to am_install_var.
1412 * automake.in (am_install_var): Don't error if EXTRA_foo is
1415 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1416 (uninstall-@DIR@SCRIPTS): Likewise.
1417 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1418 (uninstall-@DIR@PROGRAMS): Likewise.
1419 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1420 (uninstall-@DIR@LTLIBRARIES): Likewise.
1421 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1422 (uninstall-@DIR@LISP): Likewise.
1423 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1424 (uninstall-@DIR@LIBRARIES): Likewise.
1425 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1426 (uninstall-@DIR@JAVA): Likewise.
1427 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1428 (uninstall-@DIR@HEADERS): Likewise.
1429 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1430 (uninstall-@DIR@DATA): Likewise.
1431 * Makefile.in: Rebuilt.
1432 * Makefile.am (dist_pkgdata_DATA): Renamed.
1433 (EXTRA_DIST): Removed.
1434 (install-data-hook): Added POST_INSTALL; print commands as they
1435 are run; respect DESTDIR.
1436 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1437 * automake.in (am_install_var): Accept `-candist' and
1438 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1439 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1440 and `nodist_' prefixes.
1441 (handle_scripts): Pass -candist to am_install_var.
1442 (handle_data): Pass -defaultdist to am_install_var.
1443 (handle_headers): Likewise.
1444 (handle_emacs_lisp): Pass -candist to am_install_var.
1445 (handle_java): Pass -candist to am_install_var.
1447 1999-03-26 Tom Tromey <tromey@cygnus.com>
1449 * m4/init.m4: Fixed typo when invoking SHELL.
1451 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1452 yacc header file. From Ralf Corsepius.
1454 * Makefile.in: Rebuilt.
1455 * Makefile.am: Updated to reflect removal of TAR subst.
1456 * automake.texi (Options): Document dist-bzip2.
1457 * automake.in (TAR): Removed global.
1458 (initialize_global_constants): Changed `dist' to use pipe with
1459 gzip; work with non-GNU tar.
1460 (handle_dist): Handle non-GNU tar. Don't define TAR.
1461 (initialize_global_constants): Added `dist-bzip2' entry.
1462 (handle_options): Recognize dist-bzip2 option.
1463 (handle_dist): Likewise.
1464 * configure: Rebuilt.
1465 * configure.in: Don't check for tar.
1466 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1469 * automake.in (am_install_var): Removed obsolete comment.
1471 * texinfos.am (uninstall-info): Don't print loop but instead print
1472 commands. Simplified pre-uninstall loop.
1473 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1474 instead print commands.
1475 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1477 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1478 instead print commands.
1479 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1480 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1481 instead print commands.
1482 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1484 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1486 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1487 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1488 instead print commands.
1489 * data.am (install-@DIR@DATA): Strip subdir from file name.
1490 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1491 instead print commands.
1493 * automake.in (handle_merge_targets): `install-strip' is a phony
1494 target. From Michel de Ruiter.
1496 1999-03-25 Tom Tromey <tromey@cygnus.com>
1498 * automake.in (define_compiler_variable): Don't define variable
1501 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1503 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1504 * automake.texi: ditto
1506 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1508 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1509 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1511 1999-03-24 Tom Tromey <tromey@cygnus.com>
1513 * automake.in (define_compiler_variable): New sub.
1514 (finish_languages): Use it.
1515 (lang_cxx_finish): Likewise.
1516 (lang_f77_finish): Likewise.
1517 (lang_ppf77_finish): Likewise.
1518 (lang_ratfor_finish): Likewise.
1519 (lang_objc_finish): Likewise.
1521 1999-03-23 Tom Tromey <tromey@cygnus.com>
1523 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1524 sed invocations. From Elrond.
1525 (uninstall-@DIR@PROGRAMS): Likewise.
1527 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1528 From Ralf Corsepius.
1530 1999-02-01 Thomas Tanner <tanner@gmx.de>
1532 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1533 warning when AM_PROG_LIBTOOL was found
1534 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1536 1999-03-22 Tom Tromey <tromey@cygnus.com>
1538 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1539 * automake.in (define_standard_variables): New sub.
1540 (read_main_am_file): Use two passes to scan standard variables.
1541 (read_am_file): Don't special-case configure variables with `+='.
1542 (initialize_per_input): Initialize %var_was_plus_eq.
1543 (read_am_file): Set var_was_plus_eq element correctly.
1544 (define_variable): Give error if variable assigned with `+=' is
1546 (initialize_per_input): Initialize %am_var_defs.
1547 (file_contents_with_transform): Set element in %am_var_defs.
1548 (read_am_file): Use %am_var_defs.
1550 1999-03-21 Tom Tromey <tromey@cygnus.com>
1552 * automake.in (initialize_per_input): Initialize %object_map.
1553 (handle_single_transform_list): Allow source files in
1556 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1558 * automake.in (handle_dist): Add missing newline after the first
1561 1999-03-11 Tom Tromey <tromey@cygnus.com>
1563 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1564 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1567 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1569 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1570 legitimate ending. Fixes libobj9.test.
1572 From Ralf Corsepius. Fixes lex3.test.
1573 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1574 maintainer-clean list.
1575 (lang_lex_finish): Likewise.
1577 1999-03-02 Tom Tromey <tromey@cygnus.com>
1579 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1580 construct to work around FreeBSD make/sh problem. From Rich Wales.
1582 1999-03-01 Tom Tromey <tromey@cygnus.com>
1584 Fixes from Pavel Roskin:
1585 * automake.in (variable_conditions_sub): Sort list passed to
1586 variable_conditions_permutations.
1587 (variable_conditions): Sort list before returning.
1589 1999-02-27 Tom Tromey <tromey@cygnus.com>
1591 * automake.in (lang_extensions): New sub.
1592 (handle_dependencies): Use it.
1593 (cxx_extensions): Removed.
1594 (lang_cxx_finish): Use lang_extensions.
1595 (f77_extensions): Removed.
1596 (lang_f77_finish): Use lang_extensions.
1597 (objc_extensions): Removed.
1598 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1599 Report from Dave Morrison.
1600 (lang_ratfor_finish): Likewise.
1602 1999-02-26 Tom Tromey <tromey@cygnus.com>
1604 * automake.in (finish_languages): Added AM_LDFLAGS.
1605 (lang_cxx_finish): Likewise.
1606 (lang_f77_finish): Likewise.
1607 (lang_ppf77_finish): Likewise.
1608 (lang_ratfor_finish): Likewise.
1609 (lang_objc_finish): Likewise.
1611 1999-02-11 Tom Tromey <tromey@cygnus.com>
1613 * aclocal.in (obsolete_macros): Copied from automake.in.
1614 (obsolete_rx): Use only keys of obsolete_macros.
1615 (scan_configure): Report replacement macro for an obsolete macro.
1616 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1618 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1619 entry. Fixes obsolete2.test.
1621 * automake.in (obsolete_macros): Use empty string to indicate no
1623 (scan_one_configure_file): Likewise.
1625 1999-02-07 Paul Eggert <eggert@twinsun.com>
1627 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1628 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1629 needed by some programs.
1631 1999-02-10 Tom Tromey <tromey@cygnus.com>
1633 * automake.in (handle_texinfo): Added `pgs' to list of
1634 extensions. From NISHIDA Keisuke.
1636 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1638 * automake.in (handle_texinfo): remove texinfo.tex from
1641 1999-02-02 Tom Tromey <tromey@cygnus.com>
1643 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1644 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1645 * header-vars.am (INSTALL_PROGRAM): Removed
1646 AM_INSTALL_PROGRAM_FLAGS.
1647 (INSTALL_STRIP_FLAG): New macro.
1649 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1651 (lang_yacc_finish): Likewise.
1652 (lang_lex_finish): Likewise.
1654 1999-02-01 Tom Tromey <tromey@cygnus.com>
1656 * automake.in (handle_dist_worker): Correctly find find in $$d,
1657 not $$. From Bill Davidson.
1659 * automake.in (finish_languages): Use "&", not "do". From Pavel
1661 (handle_single_transform_list): Likewise.
1663 1999-01-29 Tom Tromey <tromey@cygnus.com>
1665 * automake.in (handle_configure): Removed unused variable. From
1668 * ansi2knr.c: New version from L. Peter Deutsch.
1670 1999-01-22 Tom Tromey <tromey@cygnus.com>
1672 * automake.in (require_file_internal): Correctly examine return
1673 value of `system'. From Andris Pavenis. Fixes copy.test.
1675 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1677 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1678 Kuepper. Fixes ppf77.test.
1679 (lang_ratfor_rewrite): New function
1681 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1682 fix). From Erez Zadok.
1684 1999-01-15 Tom Tromey <tromey@cygnus.com>
1686 * configure.in: Version 1.4a (oops).
1688 * configure.in: Updated version to 1.5a.
1690 1999-01-14 Tom Tromey <tromey@cygnus.com>
1692 * automake.in (handle_configure): Compute $header_dir based on
1693 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1695 (handle_configure): Compute relative path to input header
1696 correctly in all cases.
1698 * automake.in (handle_tests): Avoid error messages from dejagnu
1699 test rules. From Karl Heuer.
1701 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1703 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1705 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1706 From Alexandre Oliva and Erez Zadok.
1708 * automake.in (create): Renamed from touch.
1709 (handle_configure): Use create, not touch.
1711 * config.sub, config.guess: New versions from autoconf.
1713 * mkinstalldirs: New version from autoconf.
1715 1999-01-12 Tom Tromey <tromey@cygnus.com>
1717 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1720 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1722 * automake.in (PATH_PATTERN): New variable:
1723 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1724 symbols besides $(top_srcdir) and $(srcdir).
1726 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1728 * automake.in (handle_dist_worker): avoid failure in `make dist'
1729 if last file is a builddir-only file
1731 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1733 * missing (autoheader): `s' was missing from sed script; grr
1735 1999-01-11 Tom Tromey <tromey@cygnus.com>
1737 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1738 ($(srcdir)/@STAMP@.in): Likewise.
1740 1999-01-10 Tom Tromey <tromey@cygnus.com>
1742 * Makefile.am (scriptdir): New macro.
1743 (script_DATA): Likewise.
1744 (install-data-hook): Use them.
1745 (EXTRA_DIST): Added script_DATA.
1746 (installcheck-local): Use script_DATA.
1748 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1750 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1752 * missing (autoheader): accept multiple header files
1753 (automake): simplify sed processing
1755 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1757 * automake.in (handle_configure, stamp_dir): create only one stamp
1758 file per header, instead of one in the top-level directory and one
1759 in the directory that contains the header.
1761 1999-01-10 Tom Tromey <tromey@cygnus.com>
1763 * automake.in (lang_objc_finish): Formatting fix.
1765 * automake.in (objc_extensions): New sub.
1766 (handle_dependencies): Only generate dependency-tracking code for
1767 ObjC when ObjC source seen.