1 2001-01-24 Tom Tromey <tromey@redhat.com>
3 * automake.in (handle_libraries): Use $configure_ac; typo fix.
5 * automake.in (transform): Quote substitution.
7 2001-01-21 Alexandre Duret-Lutz <duret_g@epita.fr>
8 Tom Tromey <tromey@redhat.com>
10 * automake.in (obsolete_rx): Match whole macro names, not
12 * aclocal.in (obsolete_rx): Likewise.
14 2001-01-21 Tom Tromey <tromey@redhat.com>
16 * automake.texi: Changed dir category.
18 2001-01-18 Akim Demaille <akim@epita.fr>
20 * automake.in (handle_texinfo): Use &transform, and transform
22 Reported by Lars Hecking, and diagnosed by Raja R Harinath.
24 2001-01-16 Akim Demaille <akim@epita.fr>
26 Let Automake support `configure.ac'.
28 * automake.in: In the comments, prefer `configure.ac' to
30 When using &am_conf_error, don't repeat `in configure.in', since
31 the function already reports it.
32 When referring to `configure.in' use `$configure_ac' instead.
33 (configure_ac): New global variable.
34 (scan_configure, scan_one_configure_file): Rename as...
35 (scan_autoconf_files, scan_one_autoconf_file): this.
36 (scan_autoconf_files): Compute $configure_ac.
37 (transform): New function.
38 (handle_configure): Use it to transform CONFIGURE_AC in
39 `remake.am' and in `remake-hdr.am'.
40 (common_files): Also consider `configure.ac'.
41 Use consistently single quotes.
42 * aclocal.in (configure_ac): New variable.
44 * texi-vers.am: Depend on CONFIGURE_AC not configure.in.
45 * remake.am: Likewise.
46 * remake-hdr.am: Likewise.
48 2001-01-16 Akim Demaille <akim@epita.fr>
50 * m4/multi.m4: Remove the hairy useless quotation of `$'.
51 Simplify `ifelse([$2],,,[$2])' into... `$2'!
52 * m4/minuso.m4: Don't use changequote!
53 * m4/cond.m4: Fix quotation.
54 * m4/sanity.m4: Follow the Autoconf coding style.
55 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Use a for loop.
56 * m4/depend.m4 (AM_DEPENDENCIES): Fix quotation issues.
59 2001-01-15 Tom Tromey <tromey@redhat.com>
61 * automake.in (handle_single_transform_list): Don't print rule
62 here when source is in subdir and object is not. Fixes
65 * automake.in (handle_single_transform_list): Correctly compute
66 $nonansi_obj. Fixes cxxansi.test.
68 * automake.texi (Man pages): Updated to account for man1_MANS,
71 2001-01-13 Steve Robbins <smr@debian.org>
72 Tom Tromey <tromey@redhat.com>
74 * aclocal.in (scan_configure): Don't recognize macro assignments
78 2001-01-13 Kevin Ryde <user42@zip.com.au>
80 * automake.in (handle_ltlibraries): Omit -rpath from
81 check_LTLIBRARIES, as per noinst_LTLIBRARIES.
83 2001-01-11 Tom Tromey <tromey@redhat.com>
85 * depcomp (case gcc3): Use -MD, not -M.
87 2001-01-10 Tom Tromey <tromey@redhat.com>
89 * depcomp: Handle gcc 3.
91 2000-12-23 Tom Tromey <tromey@redhat.com>
93 * configure.in: Updated to 1.4c for cvs.
95 * configure.in: Updated to 1.4b and released.
97 * config.guess, config.sub, texinfo.tex: New versions.
99 * automake.in (handle_dist_worker): Always define DIST_SUBDIRS.
102 * subdirs.am (maintainer-clean-recursive): Use DIST_SUBDIRS for
103 distclean and maintainer-clean.
104 * automake.texi (Top level): Document use of DIST_SUBDIRS.
106 From Rusty Ballinger:
107 * automake.in (handle_java): Don't skip `noinst' prefix.
109 * automake.texi (Invoking aclocal): Mention ## comments.
111 2000-12-22 Tom Tromey <tromey@redhat.com>
113 From Raja R Harinath:
114 * automake.in (libtoolize_sometimes): New global.
115 (initialize_global_constants): Added libtoolize_sometimes to
118 * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
120 * m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
122 2000-12-21 Tom Tromey <tromey@redhat.com>
124 * automake.texi (Tags): Document GTAGS target.
125 * tags.am (GTAGS): New target.
127 * automake.in (libtoolize_files): Removed ltconfig.
128 (initialize_global_constants): Added ltconfig to common_files.
130 2000-12-21 Kevin Ryde <user42@zip.com.au>
132 * automake.in (handle_footer): Generate .SUFFIXES target when user
133 defines suffixes but automake does not.
135 2000-12-20 Marc Espie <espie@openbsd.org>
137 * automake.in (handle_texinfo): Make path of $vtexi explicit in
139 * texi-vers.am: Likewise.
141 2000-12-20 Tom Tromey <tromey@redhat.com>
144 * automake.in (handle_footer): Always push user suffixes at the
146 * automake.texi (Suffixes): Updated to reflect new suffix
149 2000-12-18 Tom Tromey <tromey@redhat.com>
151 * automake.in (handle_built_sources): Removed.
152 (handle_merge_targets): Handle BUILT_SOURCES.
153 * automake.texi (Sources): Updated documentation of
156 2000-12-17 Tom Tromey <tromey@redhat.com>
158 * m4/protos.m4: Always do header checks.
160 * automake.in (handle_ltlibraries): Check for LDFLAGS variables
163 * automake.in (handle_ltlibraries): Allow _LDFLAGS to be
164 conditionally defined. Fixes PR automake/77 and ldflags.test.
166 2000-11-25 Tom Tromey <tromey@cygnus.com>
168 * automake.in (file_contents_with_transform): Added file name and
169 line number to error report.
170 (MACRO_PATTERN, BOGUS_MACRO_PATTERN): Leading spaces are ok.
172 2000-11-23 Pavel Roskin <proski@gnu.org>
174 * m4/regex.m4 (AM_WITH_REGEX): This macro was broken because
176 * m4/ccstdc.m4 (AC_PROG_CC_STDC): Added some M4 quotes.
177 * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise.
178 * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise.
179 * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise.
180 * m4/multi.m4 (AM_WITH_DMALLOC): Likewise.
181 * m4/python.m4 (AM_PATH_PYTHON): Likewise.
182 * m4/strtod.m4 (AM_FUNC_STRTOD): Likewise.
184 2000-11-23 Tom Tromey <tromey@cygnus.com>
186 * automake.in (require_file_internal): Pass $file as second
187 argument to maybe_push_required_file. Fixes PR automake/87.
189 2000-11-18 Tom Tromey <tromey@cygnus.com>
191 * m4/depend.m4 (AM_DEPENDENCIES): Redirect `$am_depcomp' stdout to
192 /dev/null. From Paul Martinolich.
194 2000-11-16 Morten Eriksen <mortene@sim.no>
196 * aclocal.in (write_aclocal): Set ``binmode'' after file has been
197 opened, otherwise it has no effect.
199 2000-10-23 Morten Eriksen <mortene@sim.no>
201 * aclocal.in (write_aclocal): Don't write aclocal.m4 with
202 CRLFs. This circumvents a bug in Cygwin bash.
204 * automake.in (generate_makefile): Don't write Makefile.in
205 files with CRLFs, as it causes problems for the dependency-file
206 extraction in AM_OUTPUT_DEPENDENCY_COMMANDS.
208 2000-10-19 Alex Hornby <alex@anvil.co.uk>
210 * automake.in (handle_merge_targets): Allow parallel install
213 2000-10-19 Akim Demaille <akim@epita.fr>
215 * subdir4.test (depcomp): Don't create it, defs does.
217 2000-10-17 Pavel Roskin <proski@gnu.org>
219 * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
220 acinclude.m4 from the dependencies of aclocal.m4 to avoid
221 circular and duplicated dependencies. Strip "./" from the
224 2000-10-17 Lars J. Aas <larsa@sim.no>
226 * aclocal.in (write_aclocal): Set up aclocal.m4 header with
227 normal comments (#) instead of m4 dnl-type comments.
229 2000-10-17 Alex Hornby <alex@anvil.com>
231 * depcomp: Altered sed clause to strip of inclusion depth
232 numbers generated by cpp. Also output in gcc style.
234 2000-10-16 Morten Eriksen <mortene@sim.no>
236 * depcomp (msvisualcpp): New dependency tracking mode, for
237 Microsoft Visual C++.
239 2000-10-16 Morten Eriksen <mortene@sim.no>
241 * depcomp: Fix a bug in SGI dependency tracking mode with source
242 files which do not dependend on any other source files.
244 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
246 * aclocal.in, aclocal.m4: Standardize FSF Copyright statements.
247 * automake.in, automake.texi: Likewise.
248 * clean-kr.am, clean.am: Likewise.
249 * comp-vars.am: Likewise.
250 * compile, compile.am: Likewise.
251 * data-clean.am: Likewise.
253 * dejagnu.am: Likewise.
255 * depend.am, depend2.am: Likewise.
256 * dist-vars.am, dist.am: Likewise.
257 * elisp-comp: Likewise.
258 * footer.am: Likewise.
259 * header-vars.am, header.am: Likewise.
260 * java-clean.am java.am: Likewise.
261 * kr-extra.am: Likewise.
262 * library.am: Likewise.
263 * libs-clean.am, libs.am: Likewise.
264 * libtool.am: Likewise.
265 * lisp-clean.am lisp.am: Likewise.
266 * ltlib-clean.am ltlib.am: Likewise.
267 * ltlibrary.am: Likewise.
268 * m4/Makefile.in: Likewise.
269 * m4/strtod.m4: Likewise.
270 * mans-vars.am, mans.am: Likewise.
271 * mdate-sh: Likewise.
273 * multilib.am: Likewise.
274 * program.am: Likewise.
275 * progs-clean.am, progs.am: Likewise.
276 * python-clean.am, python.am: Likewise.
277 * remake-hdr.am, remake.am: Likewise.
278 * scripts.am: Likewise.
279 * subdirs.am: Likewise.
280 * tags-clean.am, tags.am: Likewise.
281 * texi-vers.am: Likewise.
282 * texinfos.am: Likewise.
285 2000-10-09 Pavel Roskin <proski@gnu.org>
287 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't rely on variable
288 assignments changing $? - it's broken in ash-0.2.
289 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
291 * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
292 defined use it as the list of M4 files aclocal.m4 depends on.
294 2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
296 * aclocal.in (add_file): Strip comments while scanning for
299 2000-09-15 Alexandre Duret-Lutz <duret_g@epita.fr>
301 * automake.in (initialize_global_constants): End the
302 result of dist-bzip2 with tar.bz2, not bz2.
304 2000-08-30 Tom Tromey <tromey@cygnus.com>
306 Fix for PR automake/72:
307 * automake.in (initialize_per_input): Define `need_link'.
308 (finish_languages): Use need_link.
309 (handle_source_transform): Set need_link if required.
311 2000-08-28 Tom Tromey <tromey@cygnus.com>
313 * automake.in (yacc, yaccxx, lex, lexxx): Set `derived-autodep'
315 (register_language): Default the `derived-autodep' option.
316 (handle_single_transform_list): Add to %dep_files if language has
317 `derived-autodep' set. Re-fixes lex4.test.
319 2000-08-27 Tom Tromey <tromey@cygnus.com>
321 * automake.in (handle_single_transform_list): Only add to
322 %dep_files if language is found and supports automatic dependency
323 tracking. Fixes PR automake/75.
325 * automake.in (am_primary_prefixes): Don't set `valid' for
326 configure variables that don't satisfy the other constraints.
327 Fixes PR automake/68.
329 2000-04-14 Victor V. Vengerov <vvv@oktet.ru>
331 Fix for PR automake/67.
332 * automake.in (handle_multilib): remove .am suffix in fragment
333 name passed to file_contents.
334 * m4/multi.m4: Add missing ')' in AC_ARG_ENABLE invocation.
335 Remove external quotes in first arg of AC_OUTPUT_COMMANDS.
336 Remove unnecessary "rel-to-top-srcdir" before config-ml.in.
338 2000-08-26 Tom Tromey <tromey@cygnus.com>
340 * subdirs.am (maintainer-clean-recursive): Always run clean rules
341 in `.' after all subdirs. Fixes PR automake/3 and PR automake/24.
343 * automake.in (handle_man_pages): Generate install targets for man
344 even if man_MANS not defined. From `danpb'. Fixes PR automake/73.
346 * m4/depend.m4 (depcpp): Use `-o conftest.o'.
347 Fix for PR automake/74. From js pendry.
349 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
351 * depcomp (gcc): Support DOS-style absolute file names with drive
354 2000-08-06 Jim Meyering <meyering@lucent.com>
356 * automake.in (handle_dependencies): Set $require_file_found{'depcomp'}
357 if the depcomp file exists, before calling require_config_file on
358 `depcomp'. This makes require_file_internal skip its buggy existence
359 test that would make automake fail (with `required file `lib/depcomp'
360 not found') when AC_CONFIG_AUX_DIR is not set.
362 This change change does not fix the existing bug where, if `depcomp'
363 is not present in the build directory (at the top level), automake
364 still gives the inaccurate diagnostic about *lib*/depcomp rather
367 2000-08-05 Jim Meyering <meyering@lucent.com>
369 * m4/header.m4 (AM_CONFIG_HEADER): Fix typo in last change:
370 add missing closing bracket and closing parenthesis.
371 Don't quote the first argument to AC_OUTPUT_COMMANDS.
372 Backslash-escape the backquotes and `$' in `am_indx'-incrementing stmt.
374 2000-08-04 Tom Tromey <tromey@cygnus.com>
376 Idea from Nicolas Thiery:
377 * automake.texi (Tests): Document DEJATOOL as a list.
378 * dejagnu.am (RUNTESTDEFAULTFLAGS): Use $$tool, not $(DEJATOOL).
379 (check-DEJAGNU): Run runtest in a loop.
381 2000-08-02 Akim Demaille <akim@epita.fr>
383 * m4: Quote properly the name of the macros being defined.
384 Use `#' instead of `dnl' where appropriate.
385 * m4/header.m4 (AM_CONFIG_HEADER): Get rid of changequote, just
387 Don't quote passive characters.
388 Pull the AC_PREREQ outside the macro.
389 * m4/init.m4: Pull the AC_PREREQ outside the macro.
391 2000-07-28 Tom Tromey <tromey@cygnus.com>
393 * lisp.am (uninstall-@DIR@LISP): Prefix file with $(DESTDIR).
396 2000-07-13 Kevin Ryde <user42@zip.com.au>
398 * automake.in (am_install_var): Apply the $(EXEEXT) hack to
399 EXTRA_PROGRAMS as well as other _PROGRAMS.
401 2000-07-02 Jim Meyering <meyering@lucent.com>
403 * automake.in (scan_one_configure_file): Recognize AC_LIBOBJ.
405 2000-06-19 Paolo Bonzini <bonzini@gnu.org>
407 * texi-vers.am: define UPDATED-MONTH variable (for an example, see
410 2000-06-02 Morten Eriksen <mortene@sim.no>
412 * depcomp: workaround for problem with SGI IRIX sed (it can only
413 handle lines of up to 8192 characters, the rest of the line will
416 2000-05-31 Morten Eriksen <mortene@sim.no>
418 * depcomp: tell SGI MIPSpro compilers to generate dependencies
419 through the pre-processor (only CVS libtool has the -Wc option
422 2000-05-15 Brendan O'Dea <bod@compusol.com.au>
424 * missing: Add support for `help2man'.
426 2000-05-11 Tom Tromey <tromey@cygnus.com>
428 * automake.in (handle_tests): Work correctly if TESTS is empty;
429 print nothing if it is. From Kevin Ryde.
431 2000-05-08 Tom Tromey <tromey@cygnus.com>
433 * automake.texi (Texinfo): Mention vers*.texi.
435 2000-05-04 Akim Demaille <akim@epita.fr>
437 AM_INIT_AUTOMAKE is no longer optional, so don't look for
438 `VERSION=' and `PACKAGE='.
439 * automake.in (seen_package, seen_version): Remove initializations of
440 unnecessary variables.
441 (scan_one_configure_file): Don't set them.
442 (scan_configure): Don't use them.
444 2000-05-01 Akim Demaille <akim@epita.fr>
446 * m4/init.m4 (AC_PROVIDE_IFELSE): If it is not defined, do it.
447 (AM_INIT_AUTOMAKE): Update the writing conventions.
448 Quote the arguments properly.
449 Add a few missing `dnl'.
450 Use AC_PROVIDE_IFELSE.
452 2000-04-26 Jim Meyering <meyering@lucent.com>
454 * automake.in (scan_one_configure_file): Handle the AC_CONFIG_FILES
455 macro. Based on a patch from Harlan Stenn.
457 2000-04-13 Akim Demaille <akim@epita.fr>
459 * compile: Remove unnecessary double quotes in assignments.
461 2000-04-13 Akim Demaille <demaille@epita.fr>
463 * automake.in (scan_one_configure_file): Also recognize
465 Remove trailing blanks.
467 2000-04-05 Tom Tromey <tromey@cygnus.com>
469 * header-vars.am (DESTDIR): Commented out definition.
471 * automake.in (require_file_internal): Pass --copy to libtoolize
472 if automake was run with `--copy'.
474 2000-03-22 Tom Tromey <tromey@cygnus.com>
476 * automake.texi (Uniform): Fix definition of pkglibdir.
477 From thi <ttn@revel.glug.org>.
479 2000-03-19 Tom Tromey <tromey@cygnus.com>
481 * aclocal.in (parse_arguments): Copyright 2000.
482 (write_aclocal): Likewise.
483 * automake.in (parse_arguments): Copyright 2000.
484 (initialize_global_constants): Likewise.
486 * automake.in (generate_makefile): Call handle_dist after
487 handle_dependencies and handle_tests. Fixes subobj3.test and
488 pr19.test regressions.
490 2000-03-19 Gordon Matzigkeit <gord@fig.org>
492 * depend2.am (@EXT@.o): Look for the source file in srcdir as well
493 as the current directory.
494 (@EXT@.lo): Likewise.
496 2000-03-19 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
498 * automake.in (handle_data): Pass -candist instead of
499 -defaultdist, for the compatibility.
501 2000-03-19 Tom Tromey <tromey@cygnus.com>
503 Fix for test nodepcomp.test:
504 * automake.in (require_file_internal): Use readlink on symlinks.
505 Only unlink file if we are going to try to add it again.
506 (handle_dependencies): Require `depcomp' here.
507 (scan_configure): Don't require `depcomp'.
509 2000-03-16 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
511 * automake.in (handle_configure): Remove $(BUILT_SOURCES) from
512 the rule to remake Makefile, whether $use_dependencies is true
513 or not. This was a historical one and doesn't make sense any
516 2000-03-19 Tom Tromey <tromey@cygnus.com>
518 More for PR automake/38:
519 * automake.texi (Invoking Automake): Document --force-missing.
520 * automake.in (force_missing): New global.
521 (parse_arguments): Recognize --force-missing.
522 (initialize_global_constants): Document --force-missing.
523 (require_file_internal): Handle --force-missing.
525 Fix for PR automake/38:
526 * automake.in (require_file_internal): Check for and handle
527 dangling symlinks. Fixes symlink2.test.
529 Fix for PR automake/45:
530 * automake.texi (configure): Mention requirement to run
532 (Requirements): Removed most text.
533 * automake.in (seen_init_automake): New global.
534 (scan_configure): Error if AM_INIT_AUTOMAKE not seen.
535 (scan_one_configure_file): Don't support AM_INIT_GUILE_MODULE.
536 Set seen_init_automake if needed.
538 Fix for PR automake/41:
539 * automake.in (require_file_found): New global.
540 (require_file_internal): Set require_file_found entry.
541 (handle_texinfo): Require file any number of times.
543 * automake.in (handle_dist_worker): Exit if `cp' fails. Fixes
546 * tags.am: Don't reference $$here. Report from Sven Verdoolaege.
548 2000-03-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
550 * m4/missing.m4: Print the backtick in a way that won't cause
551 autoconf CVS to emit any warnings.
553 2000-03-01 Jim Meyering <meyering@lucent.com>
555 * automake.in (handle_dist_worker) [generating rules for distdir]:
556 Don't use `ln' (which was just a space optimization anyway) to
557 populate $(distdir). Otherwise, the dist rules that change
558 permissions would end up affecting the master sources.
559 * texinfos.am (dist-info): Likewise.
561 2000-02-13 Jim Meyering <meyering@lucent.com>
563 * automake.in (generate_makefile): Detect write/close failure.
565 2000-02-02 Assar Westerlund <assar@sics.se>
567 * automake.in (handle_single_transform_list): do not use $< which
568 is not handled by all non-GNU makes. Instead do explicit sh code
569 testing for the file in this directory and srcdir. Based on a
570 suggestion by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
572 2000-01-12 Tom Tromey <tromey@cygnus.com>
574 * m4/lispdir.m4: Added --with-lispdir argument processing.
577 2000-01-06 Tom Tromey <tromey@cygnus.com>
579 * automake.in (handle_configure): Don't check for
581 (scan_configure): Check for AC_PROG_MAKE_SET.
583 * header-vars.am (@SET_MAKE@): Added.
584 * subdirs.am (@SET_MAKE@): Removed. Report from Motoyuki
587 1999-12-19 Tom Tromey <tromey@cygnus.com>
589 * automake.in (handle_dist_worker): Expand DIST_COMMON under all
591 (require_file_internal): Corrected arguments to second invocation
592 of maybe_push_required_file.
594 Fix for PR automake/9:
595 * automake.in (make_dirs, make_dirs_set): New globals.
596 (is_make_dir): New function.
597 (handle_configure): Use it.
598 (require_file_internal): Push file if there is no Makefile in its
600 (initialize_per_input): Initialize handle_dist_run.
601 (push_dist_common): Inspect handle_dist_run.
602 (handle_dist): Set handle_dist_run. Push items from
603 configure_dist_common onto dist_common if appropriate.
604 (configure_dist_common): New global.
605 (scan_configure): Set it.
606 (maybe_push_required_file): New function.
607 (require_file_internal): Use it.
609 * automake.in (handle_dist_worker): Scan DIST_COMMON to see if
610 more subdirs are defined. From Axel Belinfante. Fixes
613 1999-12-18 Tom Tromey <tromey@cygnus.com>
615 Partial fix for PR automake/40:
616 * lisp.am (install-@DIR@LISP): Handle nobase_ case.
617 (uninstall-@DIR@LISP): Likewise.
618 * header.am (install-@DIR@HEADERS): Handle nobase_ case.
619 (uninstall-@DIR@HEADERS): Likewise.
620 * data.am (install-@DIR@DATA): Handle nobase_ case.
621 (uninstall-@DIR@DATA): Likewise.
622 * automake.in (am_primary_prefixes): Recognize `nobase_' prefix.
623 (am_install_var): Recognize and handle `nobase_' prefix.
625 1999-12-17 Tom Tromey <tromey@cygnus.com>
627 * automake.in (get_object_extension): Added space before `-I.'.
628 Report from Ralf Corsepius.
630 1999-12-15 Tom Tromey <tromey@cygnus.com>
632 * aclocal.in: Don't pass $acdir to scan_m4_files.
633 (parse_arguments): Push $acdir on end of dirlist.
634 (scan_file): Don't warn if duplicate macro seen.
636 1999-12-13 Tom Tromey <tromey@cygnus.com>
638 Fix for PR automake/30 and PR automake/23. Fixes test
640 * automake.in (initialize_per_input): Initialize
641 source_suffix_pattern.
642 (derive_suffix): New function.
643 (handle_single_transform_list): Call it.
645 * automake.in (add_depend2): Handle the no-dependency-tracking
646 case. Fixes test suffix2.test.
648 * depcomp (tmpdepfile): [case sgi] Added missing `fi'.
650 * automake.in (get_object_extension): Fixed quoting on
653 * depend2.am: Removed erroneous comment.
655 * automake.texi (Program variables): Document nostdinc.
657 * automake.in (get_object_extension): Respect nostdinc option.
658 (handle_options): Recognize nostdinc.
659 * comp-vars.am (DEFS): Use @DEFAULT_INCLUDES@ as sole
662 * automake.in (read_am_file): Allow conditional includes. Fixes
665 * depcomp: Handle case on SGI when libtool is `yes'.
666 * depend2.am (@EXT@.o): Set libtool.
667 (@EXT@.lo): Likewise.
668 (@EXT@.obj): Likewise.
670 * depcomp: Unify dashmstdout and dashXmstdout cases. Move hp case
673 1999-12-13 Pavel Roskin <pavel_roskin@geocities.com>
675 * automake.in (add_depend2): substitute $rule in the rules
676 for individual files. Fixes test specflags5.test.
678 1999-12-12 Tom Tromey <tromey@cygnus.com>
680 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run mkinstalldirs
681 to create directories. Fixes test subobj3.test.
683 1999-12-10 Tom Tromey <tromey@cygnus.com>
685 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Don't print
686 message when creating .deps files.
688 * automake.in (initialize_global_constants): If unreadable by
689 owner, make it readable by owner regardless of number of links.
690 Fixes more of install2.test.
692 * missing: Try to see if gnutar or gtar exist before invoking
695 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Remove ${SHELL} from
696 install_sh value. Look for install-sh and install.sh in a
697 somewhat more sensible way. Fixes test install2.test. Partially
700 1999-12-09 Pavel Roskin <pavel_roskin@geocities.com>
702 * m4/missing.m4: remove redundant backquote
704 1999-11-23 Tom Tromey <tromey@cygnus.com>
706 * automake.in (initialize_global_constants): Use `bzip2 -9', not
707 `bzip --best' Report from Jim Meyering.
709 1999-11-22 Tom Tromey <tromey@cygnus.com>
711 * m4/missing.m4 (AM_MISSING_INSTALL_SH): Don't take argument.
712 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't pass argument to
713 AM_MISSING_INSTALL_SH.
714 * automake.in (scan_one_configure_file): Reverted previous
717 * automake.in (scan_one_configure_file): Define `install_sh'
718 configure variable when AM_INIT_AUTOMAKE seen. Report from Jim
721 * automake.in (handle_single_transform_list): Generate explicit
722 rule for subdir objects. Fixes new addition to subobj.test.
724 * automake.in (handle_lib_objects_cond): Allow LIBOBJS to be
725 defined by AC_SUBST. Fixes ltlibobjs.test.
727 Fix for sourcesub.test:
728 * automake.in (handle_single_transform_list): Added `var'
729 argument. If config sub found, give error.
730 (handle_source_transform): Updated for new
731 handle_source_transform.
733 * py-compile: New file.
734 * m4/Makefile.am (m4data_DATA): Added python.m4.
735 * m4/python.m4: New file.
736 * automake.texi (Uniform): Mention PYTHON.
738 * Makefile.am (amfiles): Added python.am, python-clean.am.
739 (dist_script_DATA): Added py-compile.
740 * python.am: New file.
741 * python-clean.am: New file.
742 * automake.in (seen_pythondir): New global.
743 (generate_makefile): Call handle_python.
744 (handle_python): New function.
745 (scan_one_configure_file): Set seen_pythondir if AM_PATH_PYTHON
747 (am_install_var): Special-case PYTHON like JAVA.
748 (scan_configure): Check for py-compile.
749 (initialize_global_constants): Added py-compile to @common_files.
751 * ltlib.am (install-@DIR@LTLIBRARIES): Added missing space.
753 1999-11-21 Tom Tromey <tromey@cygnus.com>
755 * automake.in (finish_languages): Only generate suffix rule when
756 not doing dependency tracking.
758 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AM_MISSING_INSTALL_SH.
759 * m4/missing.m4 (AM_MISSING_INSTALL_SH): New macro.
761 * depend2.am: Use @SOURCE@, @OBJ@, @LTOBJ@, @OBJOBJ@, and @BASE@.
764 1999-11-19 Tom Tromey <tromey@cygnus.com>
766 * dist.am: Set `CDPATH=:' to avoid problems. Merged from
767 Alexandre's change on branch.
769 1999-10-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
771 * Makefile.am (maintainer-check): Look for occurrences of ``cd'
773 * dejagnu.am: Set CDPATH before cd.
774 * Makefile.in: Rebuilt.
776 * automake.in (handle_single_transform_list): Change `\1' for `$1'
777 in `s///' replacement.
779 * automake.in (handle_dist): Set CDPATH before cd.
780 * dejagnu.am (check-DEJAGNU): Likewise.
781 * texinfos.am (install-info-am, dist-info): Likewise.
782 * m4/init.m4 (AM_INIT_AUTOMAKE): Likewise.
783 * m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
784 * aclocal.m4, configure, Makefile.in: Rebuilt.
786 * AUTHORS: Added myself.
788 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
790 * m4/missing.m4: Support relative srcdir and ac_aux_dir.
791 Reported by Tim Wilkinson <tim@transvirtual.com>
792 * aclocal.m4, configure: Rebuilt.
794 1999-08-17 Alexandre Oliva <oliva@dcc.unicamp.br>
796 * m4/lex.m4 (AM_PROG_LEX): Require AM_MISSING_HAS_RUN and, if no
797 LEX program is found, use `${am_missing_run}flex'.
799 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
801 * automake.in (handle_single_transform_list): Replace `$(OBJEXT)'
804 * automake.in (handle_lib_objects_cond): Remove second dot from
805 dependency file names.
807 * depend2.am (OBJEXT@EXT@.obj): Dependency file should be .Po,
808 regardless of OBJEXT.
810 * automake.in (handle_dependencies): Add blank line after depend2.
811 (handle_dependencies): Start DEP_FILES with `@AMDEP@'. Output
812 blank line before `include's, not after them.
813 (scan_one_configure_file): Do not special-case `DEP_' any more.
815 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Run for loop only
817 * aclocal.m4, configure: Rebuilt.
819 * m4/depend.m4 (AMDEPBACKSLASH): Define.
820 * depend2.am (@EXT@.o, @EXT@.lo, @EXT@.obj): Use AMDEPBACKSLASH.
822 * automake.in (handle_dependencies): Generate `include's for
823 dependency files after `@AMDEP@'.
825 * m4/missing.m4: Use eval, instead of a sub-shell, to test for
826 --run support in the missing script, since SHELL is not exported.
827 Reported by job bogan <job@piquin.uchicago.edu>
828 * aclocal.m4, configure: Rebuilt.
830 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
832 * aclocal.m4, configure: Rebuilt with itself.
833 * Makefile.in, m4/Makefile.in, tests/Makefile.in: Likewise.
835 * m4/missing.m4 (AM_MISSING_PROG): Remove DIRECTORY argument.
836 Require AM_MISSING_HAS_RUN. Use am_missing_run, defined by...
837 (AM_MISSING_HAS_RUN): New macro.
838 * m4/init.m4: Remove missing_dir from calls to AM_MISSING_PROG.
839 * automake.texi (Requirements): Likewise.
840 * version.texi, stamp-vti: Rebuilt.
842 1999-07-28 Tom Tromey <tromey@cygnus.com>
844 * depcomp: Handle the `hp' mode.
846 1999-07-06 Tom Tromey <tromey@cygnus.com>
848 * depcomp: Work around HP-UX 10.20 sed bug.
850 1999-07-05 Tom Tromey <tromey@cygnus.com>
852 * automake.in (handle_dependencies): Generate a separate include
853 for each dep file. Report from Alexandre Oliva.
854 * depend.am: Don't include DEP_FILES.
856 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
858 * depend.am: Add @AMDEP@ before `include', so that dependency
859 tracking can be disabled.
860 * depend2.am: Ditto, before all lines related with dependency
862 * m4/depend.m4 (AM_DEP_TRACK): New macro, that documents
863 --enable/disable-dependency-tracking and sets AMDEP accordingly.
864 It is implicitly disabled if depcomp is missing.
865 (AM_DEPENDENCIES): Disable dependency tracking unless it can be
866 generated by side-effect.
867 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_DEP_TRACK.
868 * automake.in (handle_dependencies): Add @AMDEP@ before the value
870 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Handle DEP_FILES
873 * depcomp: Support -xM for dependency generation, for Sun CC.
874 Reported by Alex Hornby <alex@anvil.co.uk>
875 * m4/depend.m4: Extract the list of supported dependency-tracking
876 mechanisms from the depcomp script and use it to test each one.
877 * THANKS: Added Alex Hornby.
879 * depend2.am: Move $(depcomp) to the line of $(...DEPMODE), so as
880 to leave $(...COMPILE) in a line by itself.
882 * THANKS: Added Miles Bader.
884 1999-06-01 Miles Bader <miles@ccs.mt.nec.co.jp>
886 * m4/depend.m4 (AM_DEPENDENCIES): Add check for `makedepend'.
887 Fix `dashmstdout' to ignore non-dependency-generating uses of the
889 * depcomp (makedepend): New dependency-generating method.
891 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
893 * missing: If given `--run' as first argument, try to run the
894 given program before falling back to the ``emulated'' behavior.
895 Add support for `tar'.
896 * automake.in: Use new `tar' support for `dist'.
897 * m4/missing.m4 (AM_MISSING_PROG): Instead of checking for the
898 program, prepend `missing --run' to the given program name.
899 * m4/init.m4: Remove AMTAR-related stuff.
902 * m4/depout.m4: Instead of `find'ing Makefiles, just iterate on
903 CONFIG_FILES. Do not use temporary variable for list of
904 dependency files, it breaks Cygwin.
906 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
908 * depcomp (gcc): Imported comments removed from depend2.am, so
909 that we don't lose them.
911 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Avoid sed s/$U//
912 when not using ansi2knr.
914 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
916 * m4/depend.m4 (AM_DEPENDENCIES): Test for depcc -E support.
917 * depcomp (cpp): Extract dependencies from `# nnn "..."' lines.
919 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
921 * m4/depend.m4 (AM_DEPENDENCIES): Add a definition to conftest.h,
922 so as not to compile an empty source; some compilers fail on this.
923 Redirect stderr of depcc to /dev/null. Test for -M with -o,
924 because some compilers will output the rules to the output file.
925 * depcomp (dashmstdout): Add --silent before --mode=compile, so
926 that we don't get libtool output mixed up with make rules.
928 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AM_SET_DEPDIR.
929 * depend2.am: Set tmpdepfile too, to speed up depcomp. Always use
930 -o for libtool, otherwise it may try to deduce the object name
931 from the dependency-generation flag.
932 * depcomp: Assume depdir exists. Preserve depfile on unsuccessful
935 * libtool.am: Do not emit .c.lo here...
936 * depend2.am: ... emit .*.lo here, only when using libtool.
937 * automake.in (get_object_extension): No more @MINUSO@ here.
938 (handle_single_transform_list): Set $depfile from $object.
939 (handle_dependencies): Emit depend2.am for all used languages,
940 regardless of $use_dependencies; the setting of depcomp makes the
942 (lang_cxx_finish): Do not emit compilation rules.
943 (lang_objc_finish): Likewise.
944 (lang_java_finish): Likewise.
946 1999-04-21 Tom Tromey <tromey@cygnus.com>
948 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Correctly
949 interpolate DEPDIR in DEP_FILES expansion.
951 1999-04-20 Lee Iverson <leei@Canada.AI.SRI.COM>
953 * m4/depend.m4 (AM_DEPENDENCIES): Fix up test for SGI-style
955 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Fix sed script to
956 handle multi-line dependency lists.
958 1999-11-12 Tom Tromey <tromey@cygnus.com>
960 Fix for PR automake/14:
961 * aclocal.in: Added `ud_GNU_GETTEXT'. Updated to mention
963 * automake.in: Mention AC_CYGWIN, not AC_CYGWIN32.
965 * m4/multi.m4: Added missing `]'. From Akim Demaille.
967 * Makefile.am (path-check): Make sure distdir is writeable before
969 * automake.in (handle_texinfo): Added `cm' and `ov' extensions.
970 (handle_dist_worker): Make sure distdir is writeable before
972 (initialize_global_constants [$dist_trailer]): Make sure distdir
973 is writeable before removing it.
974 * dist.am (distcheck): Make the new source tree read-only before
975 compiling. Idea from Karl Berry.
977 * automake.texi (Gnits): Allow COPYING.LIB again.
978 * automake.in (check_gnits_standards): Allow COPYING.LIB again.
980 1999-11-11 Jim Meyering <meyering@ascend.com>
982 * dist.am (distcheck): Remove $(distdir).tar.gz before counting
985 1999-11-09 Tom Tromey <tromey@cygnus.com>
987 * automake.in (handle_dist): Typo fix. From Jim Meyering.
989 1999-11-09 Jim Meyering <meyering@ascend.com>
991 * automake.in (handle_dist): Remove the DISTHOOK and GETTEXT
992 markers, no matter what.
994 1999-11-08 Tom Tromey <tromey@cygnus.com>
996 * dist.am (distcheck): Put `&&' at the start of the distcheck-hook
999 * automake.in (handle_dist_worker): Use `cp -R', not `cp -r'.
1000 From Jim Meyering. Also, don't mention file name in `cp'
1001 destination. From Olly Betts.
1003 1999-10-27 Miodrag Vallat <miodrag@ifrance.com>
1005 * texinfos.am (uninstall-info): Use installed info file, not one
1006 from srcdir or builddir.
1008 1999-11-07 Tom Tromey <tromey@cygnus.com>
1010 * clean.am (maintainer-clean-generic): Remove Makefile.in. From
1013 Fix for PR automake/18:
1014 * automake.in (handle_dist): Add contents of dist.am to the output
1016 * Makefile.am (amfiles): Added dist.am.
1017 * dist.am: New file.
1018 (distcheck): Added uninstall and distclean checks.
1020 * automake.in (PATH_PATTERN): Added `-' as allowable character.
1021 Fixes PR automake/20. From Matthew D. Langston.
1023 * automake.in (SUFFIX_RULE_PATTERN): Add `0-9' as characters
1024 allowed in suffixes. Fixes PR 22. From Matthias Clasen.
1026 1999-10-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1028 * m4/lispdir.m4: -batch must come before -q.
1029 * elisp-comp: Likewise.
1030 Reported by Lars Hecking <lhecking@nmrc.ucc.ie>
1031 * THANKS: Added Lars.
1033 1999-08-15 Tom Tromey <tromey@cygnus.com>
1035 * automake.in (get_object_extension): Fixed quoting bug. Fixes
1038 1999-07-27 Tom Tromey <tromey@cygnus.com>
1040 * config.guess, config.sub: New versions from autoconf.
1042 1999-07-13 Tom Tromey <tromey@cygnus.com>
1044 Work around losing `awk'. Report from Harlan Stenn.
1045 * m4/init.m4 (AM_INIT_AUTOMAKE): Require AC_PROG_AWK.
1046 * tags.am (ID, TAGS): Use $(AWK), not `awk'.
1048 * automake.in (handle_source_transform): Mark prefix as seen if
1049 corresponding _SOURCES variable exists. Fixes empty2.test.
1051 1999-06-25 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
1053 * configure.in (ACLOCAL): Do not prepend the variable SRCDIR to
1055 (AUTOMAKE): Set --amdir to current directory.
1057 1999-06-20 Tom Tromey <tromey@cygnus.com>
1059 * Makefile.am (TAGS_FILES): New macro.
1060 (ETAGS_ARGS): Moved files into TAGS_FILES.
1061 (TAGS_DEPENDENCIES): Likewise.
1062 (ETAGS_ARGS): Removed.
1063 (TAGS_DEPENDENCIES): Removed duplicate definition.
1065 * tags.am (ID): Handle VPATH correctly. Use TAGS_FILES. Report
1066 from Ganesan Rajagopal.
1069 1999-06-18 Thomas Tanner <tanner@ffii.org>
1071 * automake.in (handle_ltlibraries): Check for -module in LDFLAGS,
1074 1999-06-20 Mark Elbrecht <snowball3@bigfoot.com>
1076 * ylwrap: Handle filenames output by the DOS version of Bison.
1078 1999-06-20 Tom Tromey <tromey@cygnus.com>
1080 * ylwrap: Be less strict when recognizing DOS paths. From Mark
1083 1999-06-19 Tom Tromey <tromey@cygnus.com>
1085 * automake.in (handle_dist_worker): Remove redundant entries from
1088 * automake.in (handle_lib_objects_cond): Better error message when
1089 unrecognized option passed in LDADD.
1091 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
1093 * configure.in (ACLOCAL, AUTOMAKE): Use our own scripts, with
1094 appropriate --acdir and --amdir arguments.
1096 1999-06-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1098 * automake.in (dist_header): Avoid changing permissions of files
1099 in the source tree, trying a complex `find/chmod' command before
1100 falling back to plain chmod.
1101 (handle_dist_worker): Do not create directories with mode 777, the
1102 find above will take care of that.
1103 * m4/init.m4: Set install_sh for find/chmod above.
1105 * THANKS: Added Shuhei Amakawa.
1107 1999-06-07 Shuhei Amakawa <sa264@cam.ac.uk>
1109 * mans.am: Strip dirname from given filename.
1111 1999-06-07 Jim Meyering <meyering@ascend.com>
1113 * automake.in (handle_dist): Change emitted rules so that a failure
1114 in `$(MAKE) distcheck-hook' propagates to the outer make.
1116 1999-05-27 Tom Tromey <tromey@cygnus.com>
1118 * automake.in (handle_single_transform_list): Replace AM_FLAG and
1119 not FLAG in compilation rule.
1120 (add_depend2): Likewise.
1122 * ltlib.am (install-@DIR@LTLIBRARIES): Pass INSTALL_STRIP_FLAG to
1125 * m4/dmalloc.m4: Updated dmalloc site information.
1127 1999-05-19 Tom Tromey <tromey@cygnus.com>
1129 * automake.in (handle_single_transform_list): Push object name
1130 without extension onto lang_specific_files. Fixes
1133 * automake.in (handle_single_transform_list): Added missing
1134 space. Fixes specflags.test.
1136 1999-05-05 Tom Tromey <tromey@cygnus.com>
1138 * automake.in: Disabled dependency tracking for Java.
1140 1999-05-04 Tom Tromey <tromey@cygnus.com>
1142 * library.am (@LIBRARY@): Use $(@XLIBRARY@_AR).
1143 * automake.in (handle_libraries): Recognize _AR variable.
1145 1999-04-30 Tom Tromey <tromey@cygnus.com>
1147 * automake.in (finish_languages): Always use `-o $@' with
1148 libtool. Define ltcompile and ltlink at outermost scope in
1150 * libtool.am (.c.lo): Removed.
1152 * automake.in (finish_languages): Put `.' before extension in
1153 suffix list, `.obj' rule, and `.lo' rule. Look at `-flags', not
1154 `-flag'. From Pavel Roskin.
1156 1999-04-28 Tom Tromey <tromey@cygnus.com>
1158 * automake.in (finish_languages): Fixed scoping of ltcompile and
1159 ltlink. From Pavel Roskin.
1161 1999-04-27 Tom Tromey <tromey@cygnus.com>
1163 * automake.in (read_main_am_file): Don't start macro definition
1164 with backslash-newline. Instead, append newline at the end if
1167 * automake.in (read_am_file): Insert a backslash before a trailing
1168 newline. Fixes pluseq8.test.
1170 * automake.in (MACRO_PATTERN): Allow digits and `_' to start a
1172 (check_canonical_spelling): Don't insert `AM' before macro name
1173 (reverts Alexandre's 1999-04-27 patch).
1174 * automake.texi: Reverted documentation change for `AM' patch.
1176 * automake.in (handle_lib_objects_cond): Prefer `$1' over `\1'.
1177 Minor rewrite for clarity.
1178 (check_canonical_spelling): Prefer `$1' over `\1'.
1180 * depend2.am (@OBJ@): Renamed. Use @SOURCE@, @COMPILE@. Always
1182 (@LTOBJ@): Likewise.
1183 * automake.in (handle_single_transform_list): Don't print rule if
1184 doing dependency tracking and the file's language supports it.
1185 (initialize_per_input): Initialize lang_specific_files.
1186 (add_depend2): New function.
1187 (handle_dependencies): Use it.
1189 * automake.in (lang_ppf77_finish): Use lang_f77_finish.
1190 ratfor compiler name is `RCOMPILE'. ppf77 compiler name changed
1191 to `PPF77COMPILE' to allow use of f77 and ppf77 in the same
1193 (lang_ratfor_finish): Use lang_f77_finish.
1195 * compile.am (NOTDEPEND.c.o): Removed.
1196 (OBJEXT.c.obj): Likewise.
1197 * automake.in: Added `flags' attribute to all relevant languages.
1198 (handle_single_transform_list): Handle per-derived-object flags.
1199 Changed interface and all callers.
1200 (handle_built_sources): Don't call handle_single_transform_list.
1201 Added `compile' and `compiler-name' attribute to all relevant
1203 (finish_languages): Define compiler variables here.
1204 (lang_cxx_finish): Don't call define_compiler_variable. Don't
1205 define flag variable or .o rules. Don't add to @suffixes.
1206 (lang_f77_finish): Likewise.
1207 (lang_ppf77_finish): Likewise.
1208 (lang_objc_finish): Likewise.
1209 (lang_java_finish): Likewise.
1210 (finish_languages): Define flag variable here.
1211 Added `output-arg' attribute to all relevant languages.
1212 (finish_languages): Define `.o' rules here.
1213 (finish_languages): Put extension on @suffixes.
1214 (get_object_extension): Don't transform NOTDEPEND or MINUSO.
1216 1999-04-27 Alexandre Oliva <oliva@dcc.unicamp.br>
1218 * automake.in (initialize_global_constants): Invoke gzip for
1219 dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
1221 * automake.in (initialize_global_constants): Remove zip file
1222 before re-creating it.
1223 Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1225 * texinfos.am (uninstall-info): Look for info file in srcdir, just
1226 like in install-info-am.
1227 Reported by Tudor Hulubei <tudor@cs.unh.edu>
1229 * automake.in (handle_lib_objects_cond): \Q doesn't work either.
1230 Let's use the good ol' substitution, then.
1231 Reported by Russ Allbery <rra@stanford.edu>
1233 * automake.in (check_canonical_spelling): Insert AM before names
1234 starting with non-letters.
1236 * automake.texi: Document it.
1238 1999-04-26 Alexandre Oliva <oliva@dcc.unicamp.br>
1240 * automake.in (handle_lib_objects_cond): Do not use quotemeta, it
1241 doesn't work on perl4. Maybe \Q and \E do.
1243 1999-04-24 Tom Tromey <tromey@cygnus.com>
1245 * automake.in: Treat `.zip' and `.jar' files as Java.
1247 * automake.in (generate_makefile): Define `subdir' after reading
1249 (read_main_am_file): Give programming error if variable defined
1252 1999-04-22 Tom Tromey <tromey@cygnus.com>
1254 * automake.in (generate_makefile): Define `subdir' variable.
1255 (handle_dist): Don't define `subdir'.
1257 * automake.in (handle_texinfo): Change numbering scheme for
1258 stamp-vti files, to avoid problems with DOS.
1259 From Michel de Ruiter.
1261 * automake.texi: Don't mention AM_FUNC_MKTIME.
1262 * aclocal.in (obsolete_macros): Mention AM_FUNC_MKTIME.
1263 * automake.in (scan_one_configure_file): Recognize
1264 AC_FUNC_MKTIME, not AM_FUNC_MKTIME.
1265 (obsolete_macros): Mention AM_FUNC_MKTIME.
1266 * m4/Makefile.am (m4data_DATA): Removed mktime.m4.
1267 * m4/mktime.m4: Removed.
1269 1999-04-20 Tom Tromey <tromey@cygnus.com>
1271 * automake.texi (Top level): Don't recommend substing SUBDIRS.
1273 1999-04-20 Brian Ford <ford@vss.fsi.com>
1275 * scripts.am: Change else if's to elif.
1277 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
1279 * automake.in (handle_lib_objects_cond): Only require the source
1280 of a LIBOBJ if it's not in BUILT_SOURCES.
1281 Reported by Erez Zadok.
1283 1999-04-19 Tom Tromey <tromey@cygnus.com>
1285 * automake.in: Treat `.class' files as Java source.
1286 (lang_java_finish): Handle `.class' files.
1288 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
1290 * m4/lispdir.m4: Match only `/(share|lib)/x?emacs/site-lisp/*$'.
1292 * m4/lispdir.m4: Do not override lispdir if it's already defined.
1293 Run some emacs-lisp to find out the site-lisp directory, but
1294 relocate it into prefix.
1296 1999-04-17 Paul Eggert <eggert@twinsun.com>
1298 * m4/mktime.m4 (bigtime_test, main): Move alarm from
1299 bigtime_test to main, since Solaris 7 (64-bit) mktime loops
1300 even outside of bigtime_test. Use a time limit of 60 seconds
1301 for the whole test, not 10 seconds per iteration.
1303 1999-04-17 Erez Zadok <ezk@cs.columbia.edu>
1305 * automake.in: Create stamps for headers in appropriate
1306 directories, even if the input file lives in a different place.
1307 * remake-hdr.am: Likewise.
1309 1999-04-16 Tom Tromey <tromey@cygnus.com>
1312 * progs.am (install-@DIR@PROGRAMS, uninstall-@DIR@PROGRAMS):
1313 Invoke `sed' only once per program.
1314 * scripts.am (install-@DIR@SCRIPTS, uninstall-@DIR@SCRIPTS):
1315 Invoke `sed' only once per program.
1317 1999-04-13 Tom Tromey <tromey@cygnus.com>
1319 * automake.in (handle_subdirs): Make `install-recursive' phony.
1320 From Michel de Ruiter.
1322 * automake.in (handle_ltlibraries): Added missing `check'.
1324 1999-04-12 Tom Tromey <tromey@cygnus.com>
1326 * ansi2knr.c: New version from Pavel Roskin (via ansi2knr.c
1329 1999-04-11 Tom Tromey <tromey@cygnus.com>
1331 * automake.in (handle_dist): Use AMTAR.
1332 (initialize_global_constants): Likewise.
1333 * m4/init.m4 (AM_INIT_AUTOMAKE): Use AMTAR, not TAR.
1335 * automake.in (lang_sub_obj): New function.
1336 (lang_cxx_rewrite): Use it.
1337 (lang_asm_rewrite): Likewise.
1338 (lang_objc_rewrite): Likewise.
1339 (lang_cxx_finish): Add `-o $@' to all C++ rules.
1340 (lang_asm_finish): Add `-o' to suffix rules when appropriate.
1341 (lang_objc_finish): Add `-o $@' to all ObjC rules.
1342 (lang_java_finish): Likewise.
1344 * automake.in: Only register `asm' once.
1345 (lang_asm_finish): Put assembly suffixes on @suffixes.
1347 * libtool.am (.s.lo): Removed.
1349 * automake.in (lang_asm_finish): Handle libtool.
1351 * libtool.am (.c.o): Always pass -c to libtool.
1353 * automake.in (lang_yacc_rewrite): Handle sources in subdirs.
1354 (lang_yaccxx_rewrite): Likewise.
1355 (lang_lex_rewrite): Likewise.
1356 (lang_lexxx_rewrite): Likewise.
1358 Assembly code no longer included by default:
1359 * compile.am (.s.o): Removed.
1361 * automake.in: Register `asm' language.
1362 (lang_asm_finish): Generate suffix rules for assembly.
1363 (get_object_extension): Don't add `.s' or `.S' to suffix list.
1365 * automake.in (get_object_extension): Substitute @MINUSO@ when
1366 including compile.am.
1367 * compile.am (.c.o): Added @MINUSO@.
1370 First cut at allowing objects in subdirectories:
1371 * m4/Makefile.am (m4data_DATA): Added minuso.m4.
1372 * Makefile.am (dist_script_DATA): Added compile.
1373 * m4/minuso.m4: New file.
1374 * automake.in (initialize_global_constants): Added compile to
1376 (seen_cc_c_o): New global.
1377 (scan_one_configure_file): Set it when AM_PROG_CC_C_O seen.
1378 (handle_options): Recognize `subdir-objects' option.
1379 (lang_c_rewrite): Added directory argument.
1380 (lang_yacc_rewrite): Likewise.
1381 (lang_yaccxx_rewrite): Likewise.
1382 (lang_lex_rewrite): Likewise.
1383 (lang_lexxx_rewrite): Likewise.
1384 (handle_single_transform_list): Pass directory to _rewrite
1385 function. Generate dependencies for dirstamp files for each .o;
1386 it is just the rules we want to create once.
1387 (lang_c_rewrite): Handle `subdir-objects' option.
1388 (lang_c_rewrite): Require `compile' program.
1389 * compile: New file.
1391 * automake.in (initialize_per_input): Initialize %directory_map.
1392 (handle_single_transform_list): Only create .dirstamp rules once
1395 * m4/gcj.m4 (AM_PROG_GCJ): Use AC_CHECK_PROGS, not AC_CHECK_PROG.
1398 * automake.in (configure_input_files): New global.
1399 (scan_configure): Set it.
1400 (handle_configure): Use configure_input_files when determining
1401 which subdirs have a Makefile.am. Fixes confh.test.
1402 (handle_configure): Only recognize acconfig.h in top srcdir.
1404 1999-04-10 Tom Tromey <tromey@cygnus.com>
1406 * depend2.am (%.o): Use `$(*D)/$(*F)', not just `$(*F)'.
1409 * automake.in (am_install_var): Remove redundancies from the
1410 result. Fixes test cond8.test.
1412 * automake.in (handle_single_transform_list): Handle dependency
1413 tracking when files are created in subdirs. Error if object in
1414 subdir has `..' component.
1416 * automake.in (initialize_global_constants): Use $(TAR), not tar.
1418 * automake.in (handle_ltlibraries): Allow check_LTLIBRARIES.
1420 * automake.in (lang_yacc_finish): Added missing `&'.
1422 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1424 * automake.in (handle_configure): Replace multiple occurrences of
1425 @STAMP@ in the same line; completes the patch for remake-hdr.am
1428 * automake.in (handle_dependencies): Fix test for `autodep'
1431 * automake.in (handle_source_transform): Add a pfx to used_pfx
1432 only if it's conditional or non-empty, to reduce the number of
1433 empty variables. Emit _OBJECS variable based on program name if
1434 no SOURCES were explicitly specified.
1436 * remake-hdr.am: Create the stamp file before the header file,
1437 and just rename it after, so that the timestamps will be correct.
1438 Reported by Marc Horowitz <marc@mit.edu>
1440 * automake.in (lang_yacc_finish): Generate and dist a `.h' for a
1441 `.y' iff YFLAGS or AM_YFLAGS contain `-d'.
1442 Reported by Jim Meyering <meyering@ascend.com>
1444 * automake.in (lang_yacc_finish): $hname must not contain a `.'.
1446 1999-04-10 Tom Tromey <tromey@cygnus.com>
1448 * Makefile.am (EXTRA_DIST): New macro.
1449 * ChangeLog.1996, ChangeLog.1998: New files.
1451 1999-04-09 Tom Tromey <tromey@cygnus.com>
1453 * automake.in (handle_source_transform): Handle dist and nodist
1455 (initialize_per_input): Initialize dist_sources.
1456 (check_libobjs_sources): Handle dist and nodist prefixes.
1457 (generate_makefile): Define DIST_SOURCES.
1458 * dist-vars.am (DISTFILES): Reference DIST_SOURCES, not SOURCES.
1460 * automake.texi (Macros): Mention AM_PROG_GCJ.
1461 (Java Support): New node.
1462 (Dist): Documented dist_ and nodist_ prefixes.
1464 * m4/gcj.m4 (AM_PROG_GCJ): Renamed from AC_PROG_GCJ.
1466 * automake.in (lang_java_finish): Generate .lo rule for `.java'
1467 files, not `.gcj' files.
1469 * m4/gcj.m4: New file.
1470 * m4/Makefile.am (m4data_DATA): Added gcj.m4.
1472 * automake.in: Register the `java' language.
1473 (resolve_linker): Handle GCJLINK.
1474 (lang_java_rewrite): New function.
1475 (LANG_IGNORE, LANG_PROCESS, LANG_SUBDIR): New constants.
1476 (lang_c_rewrite): Use new constants.
1477 (lang_cxx_rewrite): Likewise.
1478 (lang_header_rewrite): Likewise.
1479 (lang_yacc_rewrite): Likewise.
1480 (lang_yaccxx_rewrite): Likewise.
1481 (lang_lex_rewrite): Likewise.
1482 (lang_lexxx_rewrite): Likewise.
1483 (lang_asm_rewrite): Likewise.
1484 (lang_f77_rewrite): Likewise.
1485 (lang_ppf77_rewrite): Likewise.
1486 (lang_ratfor_rewrite): Likewise.
1487 (lang_objc_rewrite): Likewise.
1488 (handle_single_transform_list): Likewise. Handle LANG_SUBDIR
1489 return from rewrite function.
1490 (lang_java_finish): New function.
1491 (register_language): Changed interface and all calls. Added
1492 `autodep' settings to various languages.
1493 (handle_dependencies): Use `autodep' property of language when
1494 including dependency-tracking code.
1496 1999-04-07 Tom Tromey <tromey@cygnus.com>
1498 * automake.in (handle_texinfo): Indentation fixes.
1500 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1502 * automake.in (value_to_list): Skip *only* trailing backslashes.
1504 1999-04-07 Pavel Roskin <pavel_roskin@geocities.com>
1506 * automake.in (value_to_list): Skip trailing backslashes.
1508 1999-04-07 Alexandre Oliva <oliva@dcc.unicamp.br>
1510 * automake.in (handle_texinfo): Add texinfo.tex to config_aux_dir
1512 Reported by Per Cederqvist <ceder@lysator.liu.se>
1513 (handle_texinfo): Do not define texinfo_tex='.', use
1514 '$(srcdir)/texinfo.tex' instead; the directory name will be
1516 (require_conf_file_with_line): Fixed typo.
1518 1999-04-03 Raja R Harinath <harinath@cs.umn.edu>
1520 * automake.in (handle_tests): Test `dir=./' before `dir=', so that
1521 we do not depend on PATH starting with `.'.
1523 1999-03-31 Tom Tromey <tromey@cygnus.com>
1525 * automake.in (quote_cond_val): Quote \n.
1526 (unquote_cond_val): Unquote \n.
1527 (read_am_file): If line ends with `\', preserve it and add a
1529 (read_main_am_file): In conditional case, put conditional text at
1530 beginning of each generated line.
1532 1999-03-31 Alexandre Oliva <oliva@dcc.unicamp.br>
1534 * automake.in (handle_tests): support XFAIL_TEST
1535 * automake.texi: document it
1537 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1539 * End of merge from trunk.
1541 1999-04-12 Alexandre Oliva <oliva@dcc.unicamp.br>
1543 * automake.in (cmdline_use_dependencies): Reintroduce it.
1544 (--ignore-deps): Set cmdline_use_dependencies again.
1545 (handle_dependencies): If use_dependencies is not set, define
1547 (handle_configure): Pass --ignore-deps to generated Makefile.ins.
1548 (scan_configure): Do not require depcomp when ignoring
1550 (initialize_global_constants): Reintroduce --ignore-deps.
1552 1999-04-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1554 * depcomp: New file.
1555 * Makefile.am (dist_script_DATA): Added depcomp.
1556 * automake.in (cmdline_use_dependencies, omit_dependencies,
1557 dependency_macros): Removed.
1558 (--ignore-deps): Just ignore.
1559 (handle_single_transform_list, dep_files): Named dependency files
1560 as \$(DEPDIR)/$base.P$obj
1561 (handle_lib_objects_cond): Likewise.
1562 (generate_dependency_code): Do not check for AM_*_DEPENDENCIES.
1563 (scan_one_configure_file): Likewise.
1564 (handle_dependencies): Always enable auto-dep. Define `depcomp'.
1565 Ignore OMIT_DEPENDENCIES.
1566 (handle_configure): Do not pass --ignore-deps.
1567 (scan_configure): Require `depcomp'.
1568 (initialize_global_constants): Make `depcomp' common. Remove
1569 `--ignore-deps' from usage.
1570 (get_object_extension): No more NOTDEPEND in compile nor libtool.
1571 * compile.am: Remove rules for .c.o and .c.obj
1572 * depend.am (distclean-depend): Wipe out $(DEPDIR)
1573 * depend2.am (@FPFX@DEPMODE): Define from config.status.
1574 Use it and depcomp in suffix rules.
1575 * libtool.m4: Likewise.
1576 * m4/ccdepend.m4, m4/cxxdepend.m4: Removed.
1577 * m4/depvars.m4, m4/objcdepend.m4: Likewise.
1578 * m4/Makefile.am (dist_m4data_DATA): Likewise.
1579 * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Extract DEPDIR
1580 from the Makefile and subst it in deps. Report creation of deps
1581 files (for now). Replace $U with `_' and the empty string. Write
1582 a comment to each created file.
1583 * m4/depend.m4 (AM_SET_DEPDIR): Select a valid deps dir name.
1584 (AM_DEPENDENCIES): Accept CC, CXX and OBJC. Just determine the
1585 dependency mode and AC_SUBST [$1]DEPMODE.
1586 * m4/init.m4 (AM_INIT_AUTOMAKE): Automatically call
1587 AM_DEPENDENCIES for CC and CXX, if the corresponding AC_PROG
1588 appears in configure.in, before or after AM_INIT_AUTOMAKE.
1590 1999-04-02 Raja R Harinath <harinath@cs.umn.edu>
1592 * depout.m4: Fix sed expression for extracting `dirpart'.
1594 1999-03-29 Tom Tromey <tromey@cygnus.com>
1596 * depend2.am (DEP_@FPFX@COMPILE): Use `!=' and not `-ne'.
1598 * compile.am (.c.obj): Also disabled when dependency tracking
1600 * depend2.am (@EXT@.obj): New target.
1601 * automake.in (get_object_extension): Added explanatory comment.
1602 (generate_dependency_code): Handle $seen_objext.
1604 * depend.am: Removed obsolete comment.
1605 * depend2.am: Minor formatting fix.
1607 1999-03-28 Tom Tromey <tromey@cygnus.com>
1609 * m4/Makefile.am (dist_m4data_DATA): Renamed, and added new
1611 (EXTRA_DIST): Removed.
1612 * automake.in (dependency_macros): New global.
1613 (scan_one_configure_file): Recognize new dependency tracking
1614 macros, and define new resulting configure variables.
1615 (generate_dependency_code): New sub.
1616 (handle_dependencies): Use it.
1617 * depend2.am (DEP_@FPFX@COMPILE): New macro.
1619 (@EXT@.lo): Likewise.
1620 * m4/depvars.m4: New file.
1621 * m4/objcdepend.m4: New file.
1622 * m4/cxxdepend.m4: New file.
1623 * m4/init.m4: Moved dependency handling code into depout.m4.
1624 * m4/depout.m4: New file.
1625 * m4/ccdepend.m4: New file.
1626 * m4/depend.m4: New file.
1628 * depend2.am (@EXT@.o): Renamed to be old-style suffix pattern.
1629 (@EXT@.lo): Likewise.
1630 * m4/init.m4 (AM_INIT_AUTOMAKE): Don't create `.deps/.P'; it is no
1633 * m4/init.m4 (AM_INIT_AUTOMAKE): Add code to config.status which
1634 will create the required .P files for dependency tracking.
1635 * automake.in (scan_dependency_file): Removed.
1636 (handle_dependencies): Never call scan_dependency_file.
1637 (generate_deps): Removed.
1638 (parse_arguments): Don't recognize --generate-deps, --build-dir,
1639 --srcdir-name, or --include-deps. Do recognize --ignore-deps.
1640 (srcdir_name): Removed.
1641 (build_directory): Removed.
1642 (initialize_global_constants): Changed $USAGE to reflect argument
1644 (handle_dist_worker): Never run automake in `dist' rule.
1645 (handle_configure): Use --ignore-deps, not --include-deps.
1646 * depend.am (DEPS_MAGIC): Removed.
1647 (DEP_FILES): Unconditionally include.
1649 1999-03-27 Tom Tromey <tromey@cygnus.com>
1651 * automake.in (saw_sources_p): Correctly count header extensions
1653 (handle_headers): Fixed order of arguments to am_install_var.
1655 * automake.in (am_install_var): Don't error if EXTRA_foo is
1658 * scripts.am (install-@DIR@SCRIPTS): Use NDIR when appropriate.
1659 (uninstall-@DIR@SCRIPTS): Likewise.
1660 * progs.am (install-@DIR@PROGRAMS): Use NDIR when appropriate.
1661 (uninstall-@DIR@PROGRAMS): Likewise.
1662 * ltlib.am (install-@DIR@LTLIBRARIES): Use NDIR when appropriate.
1663 (uninstall-@DIR@LTLIBRARIES): Likewise.
1664 * lisp.am (install-@DIR@LISP): Use NDIR when appropriate.
1665 (uninstall-@DIR@LISP): Likewise.
1666 * libs.am (install-@DIR@LIBRARIES): Use NDIR when appropriate.
1667 (uninstall-@DIR@LIBRARIES): Likewise.
1668 * java.am (install-@DIR@JAVA): Use NDIR when appropriate.
1669 (uninstall-@DIR@JAVA): Likewise.
1670 * header.am (install-@DIR@HEADERS): Use NDIR when appropriate.
1671 (uninstall-@DIR@HEADERS): Likewise.
1672 * data.am (install-@DIR@DATA): Use NDIR when appropriate.
1673 (uninstall-@DIR@DATA): Likewise.
1674 * Makefile.in: Rebuilt.
1675 * Makefile.am (dist_pkgdata_DATA): Renamed.
1676 (EXTRA_DIST): Removed.
1677 (install-data-hook): Added POST_INSTALL; print commands as they
1678 are run; respect DESTDIR.
1679 * dist-vars.am (DISTFILES): Removed $(HEADERS).
1680 * automake.in (am_install_var): Accept `-candist' and
1681 `-defaultdist' options. Handle `dist_' and `nodist_' prefixes.
1682 (am_primary_prefixes): Added can_dist argument. Recognize `dist_'
1683 and `nodist_' prefixes.
1684 (handle_scripts): Pass -candist to am_install_var.
1685 (handle_data): Pass -defaultdist to am_install_var.
1686 (handle_headers): Likewise.
1687 (handle_emacs_lisp): Pass -candist to am_install_var.
1688 (handle_java): Pass -candist to am_install_var.
1690 1999-03-26 Tom Tromey <tromey@cygnus.com>
1692 * m4/init.m4: Fixed typo when invoking SHELL.
1694 * automake.in (lang_yacc_finish): Always use `.h' as suffix for
1695 yacc header file. From Ralf Corsepius.
1697 * Makefile.in: Rebuilt.
1698 * Makefile.am: Updated to reflect removal of TAR subst.
1699 * automake.texi (Options): Document dist-bzip2.
1700 * automake.in (TAR): Removed global.
1701 (initialize_global_constants): Changed `dist' to use pipe with
1702 gzip; work with non-GNU tar.
1703 (handle_dist): Handle non-GNU tar. Don't define TAR.
1704 (initialize_global_constants): Added `dist-bzip2' entry.
1705 (handle_options): Recognize dist-bzip2 option.
1706 (handle_dist): Likewise.
1707 * configure: Rebuilt.
1708 * configure.in: Don't check for tar.
1709 * m4/init.m4 (AM_INIT_AUTOMAKE): Check for `tar'. Substitute
1712 * automake.in (am_install_var): Removed obsolete comment.
1714 * texinfos.am (uninstall-info): Don't print loop but instead print
1715 commands. Simplified pre-uninstall loop.
1716 * scripts.am (uninstall-@DIR@SCRIPTS): Don't print loop but
1717 instead print commands.
1718 * progs.am (uninstall-@DIR@PROGRAMS): Don't print loop but instead
1720 * ltlib.am (uninstall-@DIR@LTLIBRARIES): Don't print loop but
1721 instead print commands.
1722 * lisp.am (install-@DIR@LISP): Strip subdir from file name.
1723 (uninstall-@DIR@LISP): Likewise. Also, don't print loop but
1724 instead print commands.
1725 * libs.am (uninstall-@DIR@LIBRARIES): Don't print loop but instead
1727 * java.am (uninstall-@DIR@JAVA): Don't print loop but instead
1729 * header.am (install-@DIR@HEADERS): Strip subdir from file name.
1730 (uninstall-@DIR@HEADERS): Likewise. Also, don't print loop but
1731 instead print commands.
1732 * data.am (install-@DIR@DATA): Strip subdir from file name.
1733 (uninstall-@DIR@DATA): Likewise. Also, don't print loop but
1734 instead print commands.
1736 * automake.in (handle_merge_targets): `install-strip' is a phony
1737 target. From Michel de Ruiter.
1739 1999-03-25 Tom Tromey <tromey@cygnus.com>
1741 * automake.in (define_compiler_variable): Don't define variable
1744 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1746 * automake.in (LDADD): accept -dlopen and -dlpreopen here
1747 * automake.texi: ditto
1749 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>
1751 * automake.in (TESTS): make from Solaris 7/x86 loses if srcdir
1752 is absolute and != objdir. dir="" or "$(srcdir)/" fixes it
1754 1999-03-24 Tom Tromey <tromey@cygnus.com>
1756 * automake.in (define_compiler_variable): New sub.
1757 (finish_languages): Use it.
1758 (lang_cxx_finish): Likewise.
1759 (lang_f77_finish): Likewise.
1760 (lang_ppf77_finish): Likewise.
1761 (lang_ratfor_finish): Likewise.
1762 (lang_objc_finish): Likewise.
1764 1999-03-23 Tom Tromey <tromey@cygnus.com>
1766 * progs.am (install-@DIR@PROGRAMS): Use `-e' instead of multiple
1767 sed invocations. From Elrond.
1768 (uninstall-@DIR@PROGRAMS): Likewise.
1770 * automake.in (lang_lex_finish): Rewrite `l', not `y', to `c'.
1771 From Ralf Corsepius.
1773 1999-02-01 Thomas Tanner <tanner@gmx.de>
1775 * automake.in: accept both A(C|M)_PROG_LIBTOOL, print a
1776 warning when AM_PROG_LIBTOOL was found
1777 * automake.texi: renamed AM_PROG_LIBTOOL to AC_PROG_LIBTOOL
1779 1999-03-22 Tom Tromey <tromey@cygnus.com>
1781 Made `+=' more robust. Fixes pluseq6.test and pluseq7.test.
1782 * automake.in (define_standard_variables): New sub.
1783 (read_main_am_file): Use two passes to scan standard variables.
1784 (read_am_file): Don't special-case configure variables with `+='.
1785 (initialize_per_input): Initialize %var_was_plus_eq.
1786 (read_am_file): Set var_was_plus_eq element correctly.
1787 (define_variable): Give error if variable assigned with `+=' is
1789 (initialize_per_input): Initialize %am_var_defs.
1790 (file_contents_with_transform): Set element in %am_var_defs.
1791 (read_am_file): Use %am_var_defs.
1793 1999-03-21 Tom Tromey <tromey@cygnus.com>
1795 * automake.in (initialize_per_input): Initialize %object_map.
1796 (handle_single_transform_list): Allow source files in
1799 1999-03-21 Jim Meyering <meyering@na-net.ornl.gov>
1801 * automake.in (handle_dist): Add missing newline after the first
1804 1999-03-11 Tom Tromey <tromey@cygnus.com>
1806 * m4/error.m4, m4/mktime.m4, m4/obstack.m4, m4/regex.m4,
1807 m4/strtod.m4: Use $ac_objext, not `.o'. From Jim Meyering.
1810 * automake.in (handle_dist): Add `;\' to end of distcheck-hook
1812 (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
1813 legitimate ending. Fixes libobj9.test.
1815 From Ralf Corsepius. Fixes lex3.test.
1816 * automake.in (lang_yacc_finish): Include `.' in name pushed onto
1817 maintainer-clean list.
1818 (lang_lex_finish): Likewise.
1820 1999-03-02 Tom Tromey <tromey@cygnus.com>
1822 * subdirs.am (maintainer-clean-recursive): Changed "&&" into "if"
1823 construct to work around FreeBSD make/sh problem. From Rich Wales.
1825 1999-03-01 Tom Tromey <tromey@cygnus.com>
1827 Fixes from Pavel Roskin:
1828 * automake.in (variable_conditions_sub): Sort list passed to
1829 variable_conditions_permutations.
1830 (variable_conditions): Sort list before returning.
1832 1999-02-27 Tom Tromey <tromey@cygnus.com>
1834 * automake.in (lang_extensions): New sub.
1835 (handle_dependencies): Use it.
1836 (cxx_extensions): Removed.
1837 (lang_cxx_finish): Use lang_extensions.
1838 (f77_extensions): Removed.
1839 (lang_f77_finish): Use lang_extensions.
1840 (objc_extensions): Removed.
1841 (lang_ppf77_finish): Put `.' before extension. Fixes ext.test.
1842 Report from Dave Morrison.
1843 (lang_ratfor_finish): Likewise.
1845 1999-02-26 Tom Tromey <tromey@cygnus.com>
1847 * automake.in (finish_languages): Added AM_LDFLAGS.
1848 (lang_cxx_finish): Likewise.
1849 (lang_f77_finish): Likewise.
1850 (lang_ppf77_finish): Likewise.
1851 (lang_ratfor_finish): Likewise.
1852 (lang_objc_finish): Likewise.
1854 1999-02-11 Tom Tromey <tromey@cygnus.com>
1856 * aclocal.in (obsolete_macros): Copied from automake.in.
1857 (obsolete_rx): Use only keys of obsolete_macros.
1858 (scan_configure): Report replacement macro for an obsolete macro.
1859 * automake.in (obsolete_macros): Added ud_GNU_GETTEXT.
1861 * automake.in (obsolete_macros): Corrected typo in AM_EXEEXT
1862 entry. Fixes obsolete2.test.
1864 * automake.in (obsolete_macros): Use empty string to indicate no
1866 (scan_one_configure_file): Likewise.
1868 1999-02-07 Paul Eggert <eggert@twinsun.com>
1870 * m4/ccstdc.m4 (AM_PROG_CC_STDC): Prefer -Ae to -Aa
1871 -D_HPUX_SOURCE, since -Ae allows `long long' and this is
1872 needed by some programs.
1874 1999-02-10 Tom Tromey <tromey@cygnus.com>
1876 * automake.in (handle_texinfo): Added `pgs' to list of
1877 extensions. From NISHIDA Keisuke.
1879 1999-02-04 Akim Demaille <demaille@inf.enst.fr>
1881 * automake.in (handle_texinfo): remove texinfo.tex from
1884 1999-02-02 Tom Tromey <tromey@cygnus.com>
1886 * automake.in (handle_merge_targets): Use INSTALL_STRIP_FLAG.
1887 * progs.am (install-@DIR@PROGRAMS): Added INSTALL_STRIP_FLAG.
1888 * header-vars.am (INSTALL_PROGRAM): Removed
1889 AM_INSTALL_PROGRAM_FLAGS.
1890 (INSTALL_STRIP_FLAG): New macro.
1892 * automake.in: Handle `ypp' as C++ yacc source and `lpp' as C++
1894 (lang_yacc_finish): Likewise.
1895 (lang_lex_finish): Likewise.
1897 1999-02-01 Tom Tromey <tromey@cygnus.com>
1899 * automake.in (handle_dist_worker): Correctly find find in $$d,
1900 not $$. From Bill Davidson.
1902 * automake.in (finish_languages): Use "&", not "do". From Pavel
1904 (handle_single_transform_list): Likewise.
1906 1999-01-29 Tom Tromey <tromey@cygnus.com>
1908 * automake.in (handle_configure): Removed unused variable. From
1911 * ansi2knr.c: New version from L. Peter Deutsch.
1913 1999-01-22 Tom Tromey <tromey@cygnus.com>
1915 * automake.in (require_file_internal): Correctly examine return
1916 value of `system'. From Andris Pavenis. Fixes copy.test.
1918 * m4/init.m4 (AM_INIT_AUTOMAKE): Require autoconf 2.13.
1920 * automake.in (lang_ppf77_rewrite): New function. From Jochen
1921 Kuepper. Fixes ppf77.test.
1922 (lang_ratfor_rewrite): New function
1924 * automake.in (handle_configure): Use `&' before sub calls (Perl 4
1925 fix). From Erez Zadok.
1927 1999-01-15 Tom Tromey <tromey@cygnus.com>
1929 * configure.in: Version 1.4a (oops).
1931 * configure.in: Updated version to 1.5a.
1933 1999-01-14 Tom Tromey <tromey@cygnus.com>
1935 * automake.in (handle_configure): Compute $header_dir based on
1936 $one_name, not $one_hdr. Reported by Erez Zadok. Fixes
1938 (handle_configure): Compute relative path to input header
1939 correctly in all cases.
1941 * automake.in (handle_tests): Avoid error messages from dejagnu
1942 test rules. From Karl Heuer.
1944 * automake.in (handle_texinfo): Add `/' to end of $conf_dir.
1946 * Makefile.am (AUTOMAKE_OPTIONS): Added `1.4'.
1948 * texi-vers.am ($(srcdir)/stamp-@VTI@): Find @TEXI@ in srcdir.
1949 From Alexandre Oliva and Erez Zadok.
1951 * automake.in (create): Renamed from touch.
1952 (handle_configure): Use create, not touch.
1954 * config.sub, config.guess: New versions from autoconf.
1956 * mkinstalldirs: New version from autoconf.
1958 1999-01-12 Tom Tromey <tromey@cygnus.com>
1960 * config.sub, config.guess, COPYING, texinfo.tex: New versions
1963 1999-01-11 Marcus G. Daniels <mgd@chama.santafe.edu>
1965 * automake.in (PATH_PATTERN): New variable:
1966 (INCLUDE_PATTERN): Use it. Ignore all include commands using
1967 symbols besides $(top_srcdir) and $(srcdir).
1969 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1971 * automake.in (handle_dist_worker): avoid failure in `make dist'
1972 if last file is a builddir-only file
1974 1999-01-11 Alexandre Oliva <oliva@dcc.unicamp.br>
1976 * missing (autoheader): `s' was missing from sed script; grr
1978 1999-01-11 Tom Tromey <tromey@cygnus.com>
1980 * remake-hdr.am (@STAMP@): Reverted timestamp change.
1981 ($(srcdir)/@STAMP@.in): Likewise.
1983 1999-01-10 Tom Tromey <tromey@cygnus.com>
1985 * Makefile.am (scriptdir): New macro.
1986 (script_DATA): Likewise.
1987 (install-data-hook): Use them.
1988 (EXTRA_DIST): Added script_DATA.
1989 (installcheck-local): Use script_DATA.
1991 * Makefile.am (pkgdata_DATA): Removed duplicate definition.
1993 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
1995 * missing (autoheader): accept multiple header files
1996 (automake): simplify sed processing
1998 1999-01-10 Alexandre Oliva <oliva@dcc.unicamp.br>
2000 * automake.in (handle_configure, stamp_dir): create only one stamp
2001 file per header, instead of one in the top-level directory and one
2002 in the directory that contains the header.
2004 1999-01-10 Tom Tromey <tromey@cygnus.com>
2006 * automake.in (lang_objc_finish): Formatting fix.
2008 * automake.in (objc_extensions): New sub.
2009 (handle_dependencies): Only generate dependency-tracking code for
2010 ObjC when ObjC source seen.