]> sourceware.org Git - automake.git/log
automake.git
23 years ago2001-05-23 Alexandre Duret-Lutz <duret_g@epita.fr>
Tom Tromey [Thu, 24 May 2001 05:50:34 +0000 (05:50 +0000)]
2001-05-23  Alexandre Duret-Lutz  <duret_g@epita.fr>

* automake.in (read_am_file): Ignore trailing backslash on

23 years ago2001-05-22 Alexandre Duret-Lutz <duret_g@epita.fr>
Tom Tromey [Wed, 23 May 2001 01:05:47 +0000 (01:05 +0000)]
2001-05-22  Alexandre Duret-Lutz  <duret_g@epita.fr>

* automake.in (ASSIGNMENT_PATTERN): Forbid : and + in variable names.

23 years ago* automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
Akim Demaille [Mon, 21 May 2001 08:31:45 +0000 (08:31 +0000)]
* automake.texi (Macros): Explain the ``AC_PROG_LEX invoked
multiple times'' warning.

23 years ago * configure.in: Updated to 1.4g.
Tom Tromey [Sun, 20 May 2001 18:05:04 +0000 (18:05 +0000)]
* configure.in: Updated to 1.4g.

23 years ago * configure.in: Updated to 1.4f. Release-1-4f
Tom Tromey [Sun, 20 May 2001 17:17:44 +0000 (17:17 +0000)]
* configure.in: Updated to 1.4f.

23 years ago * Makefile.am (EXTRA_DIST): Added ChangeLog.2000.
Tom Tromey [Sun, 20 May 2001 17:10:11 +0000 (17:10 +0000)]
* Makefile.am (EXTRA_DIST): Added ChangeLog.2000.

23 years ago * lib/ansi2knr.c: New version.
Tom Tromey [Sun, 20 May 2001 05:59:43 +0000 (05:59 +0000)]
* lib/ansi2knr.c: New version.

* Makefile.am (FETCHFILES): Added ansi2knr.c.
(fetch): Likewise.

23 years ago * config.guess, config.sub: New versions from FSF.
Tom Tromey [Sun, 20 May 2001 05:03:31 +0000 (05:03 +0000)]
* config.guess, config.sub: New versions from FSF.

* Makefile.am (fetch): Compare against files in srcdir.

23 years ago For for ansi2knr report from Harlan Stenn:
Tom Tromey [Sun, 20 May 2001 04:40:51 +0000 (04:40 +0000)]
For for ansi2knr report from Harlan Stenn:
* automake.in (generate_makefile): Run handle_compile before
handle_languages.

23 years ago * automake.in: Reverted erroneous checkin.
Tom Tromey [Fri, 18 May 2001 17:43:45 +0000 (17:43 +0000)]
* automake.in: Reverted erroneous checkin.

23 years ago* lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
Akim Demaille [Fri, 18 May 2001 17:08:22 +0000 (17:08 +0000)]
* lib/am/texinfos.am (install-info-am, uninstall-info-am): Be robust
to missing `install-info'.

23 years agoRegen.
Akim Demaille [Fri, 18 May 2001 14:01:39 +0000 (14:01 +0000)]
Regen.

23 years ago * automake.in (lang_c_finish): Use `rm -f'.
Tom Tromey [Fri, 18 May 2001 02:20:39 +0000 (02:20 +0000)]
* automake.in (lang_c_finish): Use `rm -f'.

23 years ago * automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
Tom Tromey [Fri, 18 May 2001 02:19:44 +0000 (02:19 +0000)]
* automake.in (lang_c_finish): Remove _.c file if ansi2knr fails.
* tests/Makefile.am (TESTS): Added new file.
* tests/ansi5.test: New file.

23 years ago2001-05-17 Alexandre Duret-Lutz <duret_g@epita.fr>
Tom Tromey [Fri, 18 May 2001 01:14:52 +0000 (01:14 +0000)]
2001-05-17  Alexandre Duret-Lutz  <duret_g@epita.fr>

* lib/am/install.am (install-strip): Set INSTALL_PROGRAM_ENV if
STRIP is not empty.
* m4/strip.m4 (AM_PROG_INSTALL_STRIP): Set INSTALL_STRIP_PROGRAM
to install-sh unconditionally.  Don't set INSTALL_STRIP_PROGRAM_ENV.
* automake.texi (Requirements): Document the use of the STRIP
variable in cross-compilation environments.

23 years ago * m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
Tom Tromey [Fri, 18 May 2001 00:00:31 +0000 (00:00 +0000)]
* m4/depend.m4 (AM_DEPENDENCIES): If depcomp doesn't exist, revert
to no dependency tracking.
* tests/Makefile.am (TESTS): Added depcomp2.test.
* tests/depcomp2.test: New file.  From Pavel Roskin.

23 years ago * lib/depcomp (aix): Bug fix and simplification from Larry Jones.
Tom Tromey [Thu, 17 May 2001 18:29:07 +0000 (18:29 +0000)]
* lib/depcomp (aix): Bug fix and simplification from Larry Jones.

23 years ago * lib/depcomp (tru64): New dependency tracking mode.
Tom Tromey [Thu, 17 May 2001 07:20:33 +0000 (07:20 +0000)]
* lib/depcomp (tru64): New dependency tracking mode.

23 years ago Fix for PR automake/159:
Tom Tromey [Thu, 17 May 2001 06:56:20 +0000 (06:56 +0000)]
Fix for PR automake/159:
* lib/depcomp (aix): Rewrote.
(sgi): Likewise.

23 years ago Fix for PR automake/174:
Tom Tromey [Thu, 17 May 2001 06:32:14 +0000 (06:32 +0000)]
Fix for PR automake/174:
* tests/Makefile.am (XFAIL_TESTS): Removed comment3.test.
* automake.in (read_am_file): Warn if `#' is at start of rule.

23 years ago For PR automake/174:
Tom Tromey [Thu, 17 May 2001 05:31:03 +0000 (05:31 +0000)]
For PR automake/174:
* tests/Makefile.am (TESTS): Added comment3.test.
(XFAIL_TESTS): Likewise.
* tests/comment3.test: New file.

23 years ago Fix for PR automake/175:
Tom Tromey [Thu, 17 May 2001 04:50:50 +0000 (04:50 +0000)]
Fix for PR automake/175:
* tests/Makefile.am (XFAIL_TESTS): Removed make.test.
* m4/make.m4 (AM_MAKE_INCLUDE): Omit `Entering directory' and
`Leaving directory' messages.

23 years ago For PR automake/175:
Tom Tromey [Thu, 17 May 2001 03:14:23 +0000 (03:14 +0000)]
For PR automake/175:
* tests/Makefile.am (XFAIL_TESTS): Added make.test.
* tests/make.test: Run test with `make -w'.

23 years ago * tests/Makefile.am (TESTS): Removed maintclean.test.
Tom Tromey [Thu, 17 May 2001 03:02:36 +0000 (03:02 +0000)]
* tests/Makefile.am (TESTS): Removed maintclean.test.
* lib/am/clean.am (maintainer-clean-generic): Don't remove
Makefile.in.
* lib/am/configure.am (maintainer-clean-am): Removed.
(maintainer-clean-conf): Removed.
* tests/maintclean.test: Removed.

23 years ago Fix for PR automake/177:
Tom Tromey [Wed, 16 May 2001 05:17:03 +0000 (05:17 +0000)]
Fix for PR automake/177:
* Makefile.am (maintainer-clean): Set perllibdir before invoking
automake or aclocal.

23 years ago Fix for maintclean.test:
Tom Tromey [Wed, 16 May 2001 04:32:07 +0000 (04:32 +0000)]
Fix for maintclean.test:
* tests/Makefile.am (XFAIL_TESTS): Removed maintclean.test.
* lib/am/clean.am (distclean-generic): Don't remove config.cache
or config.log.
(distclean, maintainer-clean): Moved to...
* lib/am/configure.am: ... here.
(distclean): Remove config.cache and config.log.
(maintainer-clean): Removed.
(maintainer-clean-conf): New target.
(maintainer-clean-am): New target.

23 years ago * tests/Makefile.am (TESTS): Added maintclean.test.
Tom Tromey [Wed, 16 May 2001 04:09:49 +0000 (04:09 +0000)]
* tests/Makefile.am (TESTS): Added maintclean.test.
(XFAIL_TESTS): Likewise.
* tests/maintclean.test: New file.

23 years ago Fixes PR automake/175:
Tom Tromey [Tue, 15 May 2001 18:04:56 +0000 (18:04 +0000)]
Fixes PR automake/175:
* tests/target-cflags.test: Use $needs_gnu_make.
* tests/exsource.test: Use $needs_gnu_make.
* tests/make.test: Require GNU make.
* tests/defs (needs_gnu_make): Compute.

23 years ago * lib/ylwrap: Fixed quoting on regular expression. Fixes
Tom Tromey [Tue, 15 May 2001 03:33:19 +0000 (03:33 +0000)]
* lib/ylwrap: Fixed quoting on regular expression.  Fixes
yacc4.test.

23 years ago Fix for texinfo10.test.
Tom Tromey [Tue, 15 May 2001 02:49:51 +0000 (02:49 +0000)]
Fix for texinfo10.test.
* tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test.
* lib/am/texinfos.am: Use LOCAL-TEXIS liberally.
* automake.in (handle_texinfo_helper): New sub.
(handle_texinfo): Rewrote.  Now defines LOCAL-TEXIS.
* tests/texinfo10.test: Added more cases.

23 years ago Fix for yaccvpath.test:
Tom Tromey [Tue, 15 May 2001 02:21:52 +0000 (02:21 +0000)]
Fix for yaccvpath.test:
* tests/Makefile.am (XFAIL_TESTS): Removed yaccvpath.test.
* lib/am/distdir.am (distdir): Always look for file in build
directory first.
* lib/ylwrap: Quote the `#line' regular expression.
* lib/am/yacc.am (%YACC_SUFFIX%%C_SUFFIX%): Reverted earlier
change; don't run sed on the generated file.
* tests/yaccvpath.test: Create new parser in srcdir.  Added test
to make sure parser will be rebuilt at dist time.

23 years ago* automake.in ($IGNORE_PATTERN): Allow spaces before comments
Pavel Roskin [Mon, 14 May 2001 16:14:58 +0000 (16:14 +0000)]
* automake.in ($IGNORE_PATTERN): Allow spaces before comments
beginning with `##'.
* automake.texi (General Operation): Document it.

23 years agoNew.
Akim Demaille [Mon, 14 May 2001 12:25:11 +0000 (12:25 +0000)]
New.

23 years agoTypo.
Akim Demaille [Mon, 14 May 2001 12:14:37 +0000 (12:14 +0000)]
Typo.

23 years agoTypo.
Akim Demaille [Mon, 14 May 2001 09:39:24 +0000 (09:39 +0000)]
Typo.

23 years ago Reported by Rainer Orth:
Tom Tromey [Mon, 14 May 2001 05:09:30 +0000 (05:09 +0000)]
Reported by Rainer Orth:
* lib/am/distdir.am (?DISTDIR?distdir): Define conditional on
TOPDIR_P.
* tests/Makefile.am (TESTS): Added distname.test.
* tests/distname.test: New file.

23 years ago * Makefile.am (dist_pkgdata_DATA): Removed.
Tom Tromey [Mon, 14 May 2001 04:52:43 +0000 (04:52 +0000)]
* Makefile.am (dist_pkgdata_DATA): Removed.

23 years ago2001-05-13 Tom Tromey <tromey@redhat.com>
Tom Tromey [Mon, 14 May 2001 04:48:42 +0000 (04:48 +0000)]
2001-05-13  Tom Tromey  <tromey@redhat.com>

* tests/defs: Find files to copy in lib/.
* automake.in (perllibdir): Set to Automake directory.
* ansi2knr.c, ansi2knr.1: Removed.
* Makefile.am (dist_am_DATA): Removed.
(amdir): Removed.
(maintainer-check): Look for lib/am/*.am.  Expect 28 lines of
diffs.
(scriptdir): Removed.
(dist_script_DATA): Likewise.
(install-data-hook): Likewise.
(installcheck-local): Likewise.
(TAGS_FILES): Removed amfiles.
(dist_pkgdata_DATA): Removed ansi2knr.c and ansi2knr.1.
* tests/installsh.test (AUTOMAKE): Use --libdir, not --amdir, and
point it to the right directory.
* ansi2knr.am, check.am, clean-hdr.am, clean.am, comp-vars.am,
compile.am, configure.am, data.am, dejagnu.am, depend.am,
depend2.am, distdir.am, footer.am, header-vars.am, header.am,
install.am, java.am, lang-compile.am, lex.am, library.am, libs.am,
libtool.am, lisp.am, ltlib.am, ltlibrary.am, mans-vars.am,
mans.am, multilib.am, program.am, progs.am, python.am,
remake-hdr.am, scripts.am, subdirs.am, tags.am, texi-vers.am,
texibuild.am, texinfos.am, yacc.am: Moved to lib/am/.
* configure.in (AC_OUTPUT): Added lib/am/Makefile.
(AUTOMAKE): Use --libdir, not --amdir.
Ues AC_CONFIG_AUX_DIR.
* lib/Makefile.am (SUBDIRS): Added `am'.
(scriptdir): New macro.
(dist_script_DATA): Likewise.
(dist_pkgdata_DATA): Likewise.
(install-data-hook): New target.
(installcheck-local): Likewise.
* lib/am/Makefile.in: New file.
* lib/am/Makefile.am: Removed everything except amdir and
dist_am_DATA.

2001-05-13  Akim Demaille  <akim@epita.fr>

* automake.in ($pkgdata_dir): Rename as...
($libdir): this.
($am_dir): Remove, replace it's uses with $libdir.
(&parse_arguments): Replace --amdir with --libdir.
* automake.texi (Invoking Automake): Document --libdir, not
--amdir.
* tests/defs (AUTOMAKE): Use --libdir, not --amdir.

23 years ago * m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
Tom Tromey [Mon, 14 May 2001 00:01:08 +0000 (00:01 +0000)]
* m4/depout.m4 (AM_OUTPUT_DEPENDENCY_COMMANDS): Use AMDEP_TRUE,
not AMDEP.
* m4/depend.m4 (AM_DEPENDENCIES): Require AM_DEP_TRACK.
Correctly look at AMDEP_TRUE, not AMDEP.

23 years ago Report from Robert Boehne:
Tom Tromey [Sun, 13 May 2001 23:45:32 +0000 (23:45 +0000)]
Report from Robert Boehne:
* tests/Makefile.am (TESTS): Added depend2.test.
* tests/depend2.test: New file.

23 years ago2001-05-13 James Henstridge <james@daa.com.au>
Tom Tromey [Sun, 13 May 2001 23:31:05 +0000 (23:31 +0000)]
2001-05-13  James Henstridge  <james@daa.com.au>

* m4/python.m4 (AM_PATH_PYTHON): Added more names for python.
Point pythondir at site-packages directory.  Rename
PYTHON_SITE_PACKAGE to pkgpythondir.  Rename PYTHON_SITE_EXEC to
pyexecdir.  Removed package/module argument.  Removed
PYTHON_SITE_INSTALL.  Added version checking.

23 years ago2001-05-14 Jim Meyering <meyering@lucent.com>
Tom Tromey [Sun, 13 May 2001 23:06:35 +0000 (23:06 +0000)]
2001-05-14  Jim Meyering  <meyering@lucent.com>

* automake.in (macro_define): Change one remaining use of
`variable_dump' to `macro_dump'.

23 years ago * m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
Tom Tromey [Sun, 13 May 2001 23:02:40 +0000 (23:02 +0000)]
* m4/depend.m4 (AM_DEPENDENCIES): Prefer gcc3 over gcc for objc
and gcj.

23 years agoRemove wrong entry.
Akim Demaille [Sun, 13 May 2001 17:51:16 +0000 (17:51 +0000)]
Remove wrong entry.

23 years ago* automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
Akim Demaille [Sun, 13 May 2001 17:41:19 +0000 (17:41 +0000)]
* automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
(&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
(&am_primary_prefixes): Use `map' rather than `grep'.

23 years ago* automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
Akim Demaille [Sun, 13 May 2001 17:38:05 +0000 (17:38 +0000)]
* automake.in (&scan_texinfo_file, &handle_dist, &handle_gettext)
(&handle_footer, &handle_factored_dependencies, &handle_emacs_lisp)
(&am_primary_prefixes): Use `map' rather than `grep'.

23 years ago* automake.in (Language): Set config_vars for yacc, yaccxx, lex,
Akim Demaille [Sun, 13 May 2001 17:20:10 +0000 (17:20 +0000)]
* automake.in (Language): Set config_vars for yacc, yaccxx, lex,
lexxx, asm.
(&lang_c_finish, &lang_yacc_finish, &lang_lex_finish): Simplify.
(&lang_asm_finish): Remove, set asm's finisher to C's one.

23 years ago* lang-compile.am: New file, loaded once per language.
Akim Demaille [Sun, 13 May 2001 17:19:18 +0000 (17:19 +0000)]
* lang-compile.am: New file, loaded once per language.
* depend2.am: Move definitions loaded once per language in the
aforementioned file.
* automake.in (&handle_languages): Load it.
(&lang_ppf77_finish, &lang_ratfor_finish): Remove as it's now
handled by lang-compile.am.

23 years ago2001-05-13 Tom Tromey <tromey@redhat.com>
Tom Tromey [Sun, 13 May 2001 16:40:28 +0000 (16:40 +0000)]
2001-05-13  Tom Tromey  <tromey@redhat.com>

* tests/Makefile.am (TESTS): Added python.test.
* tests/python.test: New file.
* automake.in (handle_languages): Use
config_aux_dir_set_in_configure_in.
(handle_python): Correctly mention AM_PATH_PYTHON.  Use
py-compile, not py_comp.  Define py_compile macro.

2001-05-13  Derek Price  <dprice@openavenue.com>

* automake.in (require_file_with_conf_line,
require_file_with_line, require_file): Pass a @require_file_path
of $relative_dir instead of '.' to require_file_internal so that
all the special casing of '.' can be removed elsewhere.
(require_config_file, require_conf_file_with_line,
require_conf_file_with_conf_line): Remove special casing for '.'
and make sure $config_aux_dir is maintained properly.
(require_file_internal): Remove special casing of '.' and set
@require_file_path when missing files are added.
(maybe_push_required_file): Remove special casing of '.'
(handle_dependencies): Remove a workaround for a bug now fixed
and remove $config_aux_dir special casing.
(handle_configure): Remove special casing for $config_aux_dir
(handle_python): Ditto.
(yacc_lex_finish_helper): Change $config_aux_dir switch to
switch on the value of $config_aux_dir_set_in_configure_in.
(handle_texinfo): Ditto.
(scan_one_configure_file): Set $config_aux_dir and
$config_aux_dir_set_in_configure_in properly so special casing
on the value of $config_aux_dir can be removed elsewhere.
* tests/depcomp.test: New file.
* tests/confsub.test: Look for depcomp in $(top_srcdir) instead of the
first subdir containing a C file.
* tests/libobj2.test: Ditto.
* tests/Makefile.am (TESTS): Added 'depcomp.test'.

23 years ago * tests/gcj.test: Updated for gcj dependency tracking.
Tom Tromey [Sun, 13 May 2001 04:26:21 +0000 (04:26 +0000)]
* tests/gcj.test: Updated for gcj dependency tracking.
* tests/gcj2.test: Likewise.

23 years ago Fixes PR automake/169.
Tom Tromey [Sun, 13 May 2001 01:55:40 +0000 (01:55 +0000)]
Fixes PR automake/169.
* m4/depend.m4 (AM_DEPENDENCIES): Handle GCJ.  Don't assume gcc
style for OBJC.
* automake.in (java): Added autodep entry.
* tests/Makefile.am (TESTS): Added gcj3.test.
* tests/gcj3.test: New file.

23 years ago2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sun, 13 May 2001 00:46:52 +0000 (00:46 +0000)]
2001-05-12  Raja R Harinath  <harinath@cs.umn.edu>

* automake.in (ASSIGNMENT_PATTERN): Make variable-name pattern
stop at the first '='.
* tests/Makefile.am (TESTS): Added vars.test.
* tests/vars.test: New file.

23 years ago* automake.in (&handle_single_transform_list): Simplify
Akim Demaille [Sat, 12 May 2001 12:36:02 +0000 (12:36 +0000)]
* automake.in (&handle_single_transform_list): Simplify
computation of $object and $this_obj_ext.
* tests/lex3.test: Merge into...
* tests/lex.test: here.
* tests/pr19.test: Improve and rename as...
* tests/lex3.test: this.

23 years ago * automake.in (read_am_file): Correctly compute $saw_bk.
Tom Tromey [Thu, 10 May 2001 05:39:13 +0000 (05:39 +0000)]
* automake.in (read_am_file): Correctly compute $saw_bk.
(scan_autoconf_files): Ensure configure_dist_common is always
set.
* tests/defs (AUTOMAKE): Added --Werror.

23 years ago* automake.in (define_compiler_variable): Escape $(LIBTOOL) in
Pavel Roskin [Wed, 9 May 2001 22:43:57 +0000 (22:43 +0000)]
* automake.in (define_compiler_variable): Escape $(LIBTOOL) in
double quotes.

23 years ago * tests/werror.test: Use `rm -f'.
Tom Tromey [Wed, 9 May 2001 19:11:44 +0000 (19:11 +0000)]
* tests/werror.test: Use `rm -f'.

23 years ago* automake.in (&am_line_warning): Invoke `am_line_error', not itself.
Akim Demaille [Wed, 9 May 2001 18:29:37 +0000 (18:29 +0000)]
* automake.in (&am_line_warning): Invoke `am_line_error', not itself.

23 years ago* automake.in: Remove some code left from bad patches.
Akim Demaille [Wed, 9 May 2001 18:27:26 +0000 (18:27 +0000)]
* automake.in: Remove some code left from bad patches.
(&handle_dependency): Remove, for the same reason.

23 years ago* automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
Akim Demaille [Wed, 9 May 2001 18:24:11 +0000 (18:24 +0000)]
* automake.in (&make_paragraphs): Transform BUILD, HOST and TARGET.
(&handle_tests_dejagnu, &define_standard_variables): Don't.
(&define_standard_variables): Don't transform %top_builddir% since...
* header-vars.am: Use %TOPDIR% instead.

23 years ago* automake.in (@objects): Remove, unused.
Akim Demaille [Wed, 9 May 2001 06:31:20 +0000 (06:31 +0000)]
* automake.in (@objects): Remove, unused.
Remove all the code related to it, and to former `$(OBJECTS)'.

23 years ago For PR automake/29:
Tom Tromey [Wed, 9 May 2001 03:10:04 +0000 (03:10 +0000)]
For PR automake/29:
* ylwrap: Handle arguments to program.  Remove old code that tried
to avoid absolute paths and add new code to do it in all cases.
Removed ancient logic that tried to deal with relative path.
* tests/Makefile.am (TESTS): Added yacc4.test.
* tests/yacc4.test: New file.

23 years ago Fix for PR automake/149 and werror.test:
Tom Tromey [Wed, 9 May 2001 00:23:57 +0000 (00:23 +0000)]
Fix for PR automake/149 and werror.test:
* automake.in (require_file_internal): Use am_line_warning or
am_conf_line_warning when suppressing error.
(am_line_warning): New sub.
(am_conf_line_warning): Save and restore warning signal.
* tests/Makefile.am (XFAIL_TESTS): Removed werror.test.

23 years ago Fix for PR automake/36:
Tom Tromey [Wed, 9 May 2001 00:03:31 +0000 (00:03 +0000)]
Fix for PR automake/36:
* tests/Makefile.am (TESTS): Added asm.test.
* tests/asm.test: New file.
* automake.in (asm): Use ASFLAGS and AS.
(lang_asm_finish): New sub.

23 years ago * automake.in (read_am_file): Removed debugging code.
Tom Tromey [Tue, 8 May 2001 23:50:53 +0000 (23:50 +0000)]
* automake.in (read_am_file): Removed debugging code.

23 years ago For PR automake/149:
Tom Tromey [Tue, 8 May 2001 23:34:18 +0000 (23:34 +0000)]
For PR automake/149:
* tests/Makefile.am (TESTS): Added werror.test.
(XFAIL_TESTS): Likewise.
* tests/werror.test: New file.

23 years ago * automake.in (conditional_true_when): Don't return if we see
Tom Tromey [Tue, 8 May 2001 20:34:26 +0000 (20:34 +0000)]
* automake.in (conditional_true_when): Don't return if we see
`TRUE'.

23 years ago * tests/objc.test: Removed.
Tom Tromey [Tue, 8 May 2001 19:29:35 +0000 (19:29 +0000)]
* tests/objc.test: Removed.
* tests/Makefile.am (XFAIL_TESTS): Removed objc.test.
(TESTS): Likewise.

23 years ago * automake.in (subst): New sub.
Tom Tromey [Tue, 8 May 2001 19:12:54 +0000 (19:12 +0000)]
* automake.in (subst): New sub.
(handle_languages): Use it.
(output_lex_build_rule): Likewise; also use _am_quote.
(check_libobjs_sources): Likewise.
(make_paragraphs): Use subst.

23 years ago * automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
Tom Tromey [Tue, 8 May 2001 18:30:45 +0000 (18:30 +0000)]
* automake.in (check_libobjs_sources): Re-fixed AMDEP_TRUE
problem.

* automake.in (file_contents_internal): Prototype now `$$%'.
(register_language): Prototype now `%'.

23 years ago Fixes test subobj6.test and PR automake/160:
Tom Tromey [Tue, 8 May 2001 17:58:02 +0000 (17:58 +0000)]
Fixes test subobj6.test and PR automake/160:
* tests/Makefile.am (XFAIL_TESTS): Removed subobj6.test.
* compile.am (mostlyclean-compile): Added MOSTLYRMS.
(distclean-compile): Added DISTRMS.
* tests/subobj6.test (wish_SOURCES): Updated to reflect
`mostlyclean' use; added test for non-subdir case.
* automake.in (compile_clean_files): New global.
(MOSTLY_CLEAN, DIST_CLEAN): New constants.
(initialize_per_input): Initialize compile_clean_files.
(handle_single_transform_list): Set compile_clean_files entries.
(handle_compile): Handle compilation cleanups.

23 years ago* automake.texi (Canonicalizing Automake macros): Document not
Akim Demaille [Tue, 8 May 2001 16:17:28 +0000 (16:17 +0000)]
* automake.texi (Canonicalizing Automake macros): Document not
canonicalizing strudels (@) anymore.

23 years ago* distdir.am (dist-all): Build all the flavors using a single
Akim Demaille [Tue, 8 May 2001 14:06:36 +0000 (14:06 +0000)]
* distdir.am (dist-all): Build all the flavors using a single
distdir.

23 years ago* automake.in (&file_contents_internal): Apply the @cond_stack to
Akim Demaille [Tue, 8 May 2001 13:53:29 +0000 (13:53 +0000)]
* automake.in (&file_contents_internal): Apply the @cond_stack to
the rules and assignments.
Don't rely on `$.' as it's biased by &make_paragraphs.
Don't remove backslashes in variable values.

23 years ago* automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
Akim Demaille [Tue, 8 May 2001 13:12:58 +0000 (13:12 +0000)]
* automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
($RULE_PATTERN): Use that from `&make_paragraphs'.
($MACRO_PATTERN): Just catch the name of a macro.
($BOGUS_MACRO_PATTERN): Remove.
($ASSIGNMENT_PATTERN): New.
(&file_contents_internal, &make_paragraphs): Adjust.
(&macro_define): Catch bad macro names.
(&cond_stack_endif): Better error message.
(&file_contents_internal): Don't remove backslashes in variable
values.
(&macro_define): Do it for `+=' user variables.
(&define_standard_variables): Use `undef' instead of a dummy
variable.
(&make_paragraph): Be sure not to chop the trail of hash only
lines: adjust the `##' regexp.
(&rule_define): Fix a bug: don't read $1 but $target.
* tests/condincl.test: Strengthen.

23 years ago* automake.in (Language): Add attributes `Name' and `config_vars'.
Akim Demaille [Tue, 8 May 2001 13:02:54 +0000 (13:02 +0000)]
* automake.in (Language): Add attributes `Name' and `config_vars'.
(&finish): Work properly if there is no _finish.
(Automake): Register language Names and AC_SUBST dependencies.
Register Fortran 77 variables upon which ratfor and ppf77 depend.
(&handle_languages): Once per language, invoke
`define_linker_variables', and check its config_vars.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Remove.
(&lang_ppf77_finish, &lang_ratfor_finish): Adjust.

23 years ago* automake.in (&file_contents_internal): Accept $IS_AM.
Akim Demaille [Tue, 8 May 2001 12:36:33 +0000 (12:36 +0000)]
* automake.in (&file_contents_internal): Accept $IS_AM.
(&handle_compile, &define_standard_variables, &file_contents): Adjust.

23 years ago* automake.in (am_install_var): Use `next' instead of `if' on the
Akim Demaille [Tue, 8 May 2001 12:33:11 +0000 (12:33 +0000)]
* automake.in (am_install_var): Use `next' instead of `if' on the
body of $X loop.

23 years ago* automake.in (Language): Add attributes `lder' and `ld'.
Akim Demaille [Tue, 8 May 2001 12:05:18 +0000 (12:05 +0000)]
* automake.in (Language): Add attributes `lder' and `ld'.
(&register_language): Specify for cxx, objc, f77, gcj.
(&define_linker_variable): New.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Adjust.
(&libtool_compiler): Remove.

23 years ago* ext-compile.am: Remove.
Akim Demaille [Tue, 8 May 2001 11:48:47 +0000 (11:48 +0000)]
* ext-compile.am: Remove.

23 years ago* automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
Akim Demaille [Tue, 8 May 2001 11:38:47 +0000 (11:38 +0000)]
* automake.in (&handle_lib_objects_cond): Don't take $LEX_SEEN as
argument, as you don't use it.
Hence...
(&handle_lib_objects): Don't take $LEX_SEEN as argument, as you
don't use it.
Hence...
(&handle_programs): Don't mess with %lex_sources, as you don't use
it.

23 years ago* automake.in (Language): Add attribute `link'.
Akim Demaille [Tue, 8 May 2001 11:37:53 +0000 (11:37 +0000)]
* automake.in (Language): Add attribute `link'.
(&register_language): Specify for cxx, objc, f77, gcj.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Adjust.

23 years ago* automake.in (&define_compiler_variables): Use only $LANG as
Akim Demaille [Tue, 8 May 2001 11:27:22 +0000 (11:27 +0000)]
* automake.in (&define_compiler_variables): Use only $LANG as
argument.
(&handle_languages): Adjust.

23 years ago* automake.in (&define_program_variable): Remove.
Akim Demaille [Tue, 8 May 2001 11:18:04 +0000 (11:18 +0000)]
* automake.in (&define_program_variable): Remove.
(&scan_one_autoconf_file): Skip MAKEINFO when found in an
AM_MISSING_PROG.
(&handle_texinfo): Don't define MAKEINFO and TEXI2DVI.
* texinfos.am: Do it.

23 years ago* automake.in (&handle_tests_dejagnu): Don't define EXPECT and
Akim Demaille [Tue, 8 May 2001 11:00:11 +0000 (11:00 +0000)]
* automake.in (&handle_tests_dejagnu): Don't define EXPECT and
RUNTEST.
* dejagnu.am: Do it.
(site.exp): Use `if'.

23 years ago* automake.in: Formatting changes.
Akim Demaille [Tue, 8 May 2001 10:59:36 +0000 (10:59 +0000)]
* automake.in: Formatting changes.
(variable_dump, variables_dump): Rename as...
(macro_dump, macros_dump): these.

23 years agoSupport `if !COND', `else COND', `end COND'.
Akim Demaille [Tue, 8 May 2001 10:58:48 +0000 (10:58 +0000)]
Support `if !COND', `else COND', `end COND'.
* automake.texi (Conditionals): Document it.
* automake.in ($WHITE_PATTERN, $MACRO_PATTERN, $BOGUS_MACRO_PATTERN)
($GNITS_VERSION_PATTERN, $INCLUDE_PATTERN): Use `d' and `s'.
($IF_PATTERN, $ELSE_PATTERN, $ENDIF_PATTERN): Likewise, and accept
a leading `!' before the condition.
(&handle_options): Use `d'.
(&cond_stack_if, &cond_stack_else, &&cond_stack_endif): New.
(&read_am_file, &file_contents_internal): Use them.
(&transform): No longer substitute `%!COND%', forcing the use of
`! %?COND%'.
* ansi2knr.am, lex.am, tags.am, texinfos.am, yacc.am: Adjust.

23 years agoUniform handling of per-object compilation rules.
Akim Demaille [Tue, 8 May 2001 10:42:20 +0000 (10:42 +0000)]
Uniform handling of per-object compilation rules.
Note: Automake is repaired.
* automake.in (&handle_languages): Output per object rules for all
the objects, not only for those which language supports dependency
tracking.
Fix Automake: when outputting per-object rules, use `-o' if the
language has no `output_flag', as it's really needed.
(&handle_single_transform_list): Instead of special casing files
which need per object rules but which language don't support
dependency tracking, keep them in the queue for processing by
`&handle_languages'.

23 years ago* automake.in (&handle_languages): `ext-compile.am' and
Akim Demaille [Tue, 8 May 2001 10:39:49 +0000 (10:39 +0000)]
* automake.in (&handle_languages): `ext-compile.am' and
`depend2.am' are now equivalent for generic rules: output only the
latter.
* ext-compile.am: Remove.

23 years agoNote: This patch breaks Automake. Repaired within two patches.
Akim Demaille [Tue, 8 May 2001 10:38:11 +0000 (10:38 +0000)]
Note: This patch breaks Automake.  Repaired within two patches.
* automake.in (Language): Replace the attribute `output_arg' with
`compile_flag' and `output_flag'.
(Automake): Adjust language registrations.
(&handle_languages): Transform `-c' and `-o' for both suffix and
per object rules, instead of `OUTARG' and `LTOUTARG' only for
generic rules.
(&handle_single_transform_list): Adjust to `compile_flag' and
`output_flag'.
* depend2.am, ext-compile.am: Use `%-c%' and `%-o%'.

23 years ago* automake.in (&handle_languages): Don't transform %COMPILER%.
Akim Demaille [Tue, 8 May 2001 09:46:11 +0000 (09:46 +0000)]
* automake.in (&handle_languages): Don't transform %COMPILER%.
Use `$lang->compiler' instead of `$pfx' to transform generic
%COMPILE% and %LTCOMPILE%.
* ext-compile.am: Use %COMPILE%, %LTCOMPILE% and %SOURCE% instead
of %COMPILER% and $<.

23 years ago* automake.in (&handle_languages): Use the same `%transform' for
Akim Demaille [Mon, 7 May 2001 21:41:18 +0000 (21:41 +0000)]
* automake.in (&handle_languages): Use the same `%transform' for
both `depend2.am' and `ext-compile.am'.
Move the definition of `$flag' where it is used, and rename as
`$flags'.

23 years ago* automake.in (&handle_languages): Compute `$ltoutarg' and
Akim Demaille [Mon, 7 May 2001 17:51:54 +0000 (17:51 +0000)]
* automake.in (&handle_languages): Compute `$ltoutarg' and
`$outarg' independently from dependency code.
There is no use looping on a language's possible extensions since
we loop over used extensions.
Therefore, there is no use for a local `%transform'.

23 years ago* automake.in (&handle_languages): Don't use $comp.
Akim Demaille [Mon, 7 May 2001 17:40:47 +0000 (17:40 +0000)]
* automake.in (&handle_languages): Don't use $comp.

23 years ago* automake.in (&handle_languages): Merge the two loops over
Akim Demaille [Mon, 7 May 2001 17:39:09 +0000 (17:39 +0000)]
* automake.in (&handle_languages): Merge the two loops over
%extension_seen/%languages into one and group code to be run once
per language together.

23 years ago* automake.in (&handle_languages): Move the `if
Akim Demaille [Mon, 7 May 2001 17:22:08 +0000 (17:22 +0000)]
* automake.in (&handle_languages): Move the `if
($use_dependencies)' block so that loops over extensions and
languages are next to each other.

23 years ago* automake.in (&depend2): Remove, merged in...
Akim Demaille [Mon, 7 May 2001 17:17:56 +0000 (17:17 +0000)]
* automake.in (&depend2): Remove, merged in...
(&handle_languages): here.

23 years ago* automake.in (&finish_languages): Rename as...
Akim Demaille [Mon, 7 May 2001 17:03:34 +0000 (17:03 +0000)]
* automake.in (&finish_languages): Rename as...
(&handle_languages): this.
Include the body of...
(&handle_dependency): this.
Remove.

23 years ago For PR automake/46: handle-languages
Tom Tromey [Mon, 7 May 2001 16:31:01 +0000 (16:31 +0000)]
For PR automake/46:
* tests/Makefile.am (TESTS): Added subdir5.test.
(XFAIL_TESTS): Likewise.
* tests/subdir5.test: New file.

23 years ago * tests/subobj6.test (wish_SOURCES): Use $MAKE.
Tom Tromey [Mon, 7 May 2001 16:29:38 +0000 (16:29 +0000)]
* tests/subobj6.test (wish_SOURCES): Use $MAKE.
* tests/subobj5.test (wish_SOURCES): Use $MAKE.

23 years ago * automake.in (GNITS_VERSION_PATTERN): Document. Added `fork
Tom Tromey [Mon, 7 May 2001 16:28:56 +0000 (16:28 +0000)]
* automake.in (GNITS_VERSION_PATTERN): Document.  Added `fork
identifier'.
(handle_options): Handle fork identifier in version number.

This page took 0.068777 seconds and 5 git commands to generate.