Tom Tromey [Fri, 15 Jun 2001 01:37:37 +0000 (01:37 +0000)]
Fix some lisp bugs reported by Bruno Haible:
* lib/am/lisp.am (uninstall-%DIR%LISP): Added DESTDIR to the
echo.
(install-%DIR%LISP): Handle case where lispdir is not defined.
(uninstall-%DIR%LISP): Likewise.
(.el.elc): Added `else' clause.
Tom Tromey [Fri, 15 Jun 2001 01:25:11 +0000 (01:25 +0000)]
Fix for bug reported by Steve M. Robbins:
* automake.in (handle_single_transform_list): When building a file
from a subdirectory, continue to use `AM_' prefix.
* tests/Makefile.am (TESTS): Added subobj7.test.
* tests/subobj7.test: New file.
Tom Tromey [Fri, 15 Jun 2001 01:14:01 +0000 (01:14 +0000)]
* lib/am/configure.am ($(top_builddir)/config.status): Added
$(top_builddir) prefix to work around problems with some vendor
makes. From Nicholas Joly.
Tom Tromey [Fri, 15 Jun 2001 01:10:24 +0000 (01:10 +0000)]
* automake.in (yacc_lex_finish_helper): Find ylwrap in
top_srcdir. From Tim Van Holder.
* tests/Makefile.am (TESTS): Added yacc6.test.
* tests/yacc6.test: New file.
* aclocal.in (scan_m4_files): Tweak the building of &search so
that multiple macro names can be found on the same line. Ensure
we match whole macro name, not only substrings.
Tom Tromey [Tue, 12 Jun 2001 03:47:27 +0000 (03:47 +0000)]
* automake.texi (Program variables): Document AM_CPPFLAGS.
Deprecate INCLUDES.
(Java Support): Document AM_GCJFLAGS.
(Support for Other Languages): Removed `fixme'; added link to
suffix rule handling.
Tom Tromey [Sun, 3 Jun 2001 17:16:39 +0000 (17:16 +0000)]
* automake.in (variable_conditions_sub): Move parent-only code
from here...
(variable_conditions): ... to here.
(variable_conditions_sub): Include this variable's conditions in
the resulting condition list.
* tests/Makefile.am (XFAIL_TESTS): Removed ltdeps.test.
Tom Tromey [Fri, 1 Jun 2001 05:19:01 +0000 (05:19 +0000)]
* automake.texi (Alternative): New node.
(Macros): Use new name for gcc.
(Java Support): Likewise.
(Dependencies): Rewrote.
(Invoking Automake): (Re-)document -i, --ignore-deps, and
--include-deps.
Tom Tromey [Sun, 27 May 2001 17:06:30 +0000 (17:06 +0000)]
* automake.in (handle_multilib): Only add multilib support code at
top level.
* lib/am/multilib.am: Handle invocation of *-multi targets
differently for SUBDIRS and non-SUBDIRS Makefiles.
* m4/multi.m4 (AM_ENABLE_MULTILIB): Removed erroneous comment.
Only add multilib code when the Makefile in question is actually
rebuilt.
* automake.in (handle_languages, handle_single_transform_list): Use
language '' for unknown extensions.
(derive_suffix): Check whether $extension_map{$source_ext}
is undefined, not empty.
* 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.
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.
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.
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.
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.
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'.
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'.
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.
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'.
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.
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.
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.
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.