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 04:26:21 +0000 (04:26 +0000)]
* tests/gcj.test: Updated for gcj dependency tracking.
* tests/gcj2.test: Likewise.
Tom Tromey [Sun, 13 May 2001 01:55:42 +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.
Tom Tromey [Sun, 13 May 2001 00:46:53 +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.
Akim Demaille [Sat, 12 May 2001 12:36:03 +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.
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.
Pavel Roskin [Wed, 9 May 2001 22:43:58 +0000 (22:43 +0000)]
* automake.in (define_compiler_variable): Escape $(LIBTOOL) in
double quotes.
Tom Tromey [Wed, 9 May 2001 19:11:45 +0000 (19:11 +0000)]
* tests/werror.test: Use `rm -f'.
Akim Demaille [Wed, 9 May 2001 18:29:37 +0000 (18:29 +0000)]
* automake.in (&am_line_warning): Invoke `am_line_error', not itself.
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.
Akim Demaille [Wed, 9 May 2001 18:24:12 +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.
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)'.
Tom Tromey [Wed, 9 May 2001 03:10:05 +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:32 +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.
Tom Tromey [Tue, 8 May 2001 23:50:53 +0000 (23:50 +0000)]
* automake.in (read_am_file): Removed debugging code.
Tom Tromey [Tue, 8 May 2001 23:34:19 +0000 (23:34 +0000)]
For PR automake/149:
* tests/Makefile.am (TESTS): Added werror.test.
(XFAIL_TESTS): Likewise.
* tests/werror.test: New file.
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'.
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.
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.
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 `%'.
Tom Tromey [Tue, 8 May 2001 17:58:03 +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.
Akim Demaille [Tue, 8 May 2001 16:17:29 +0000 (16:17 +0000)]
* automake.texi (Canonicalizing Automake macros): Document not
canonicalizing strudels (@) anymore.
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.
Akim Demaille [Tue, 8 May 2001 13:53:30 +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.
Akim Demaille [Tue, 8 May 2001 13:12:59 +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.
(¯o_define): Catch bad macro names.
(&cond_stack_endif): Better error message.
(&file_contents_internal): Don't remove backslashes in variable
values.
(¯o_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.
Akim Demaille [Tue, 8 May 2001 13:02:57 +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.
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.
Akim Demaille [Tue, 8 May 2001 12:33:12 +0000 (12:33 +0000)]
* automake.in (am_install_var): Use `next' instead of `if' on the
body of $X loop.
Akim Demaille [Tue, 8 May 2001 12:05:19 +0000 (12:05 +0000)]
* automake.in (Language): Add attributes `lder' and `ld'.
(®ister_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.
Akim Demaille [Tue, 8 May 2001 11:48:47 +0000 (11:48 +0000)]
* ext-compile.am: Remove.
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.
Akim Demaille [Tue, 8 May 2001 11:37:54 +0000 (11:37 +0000)]
* automake.in (Language): Add attribute `link'.
(®ister_language): Specify for cxx, objc, f77, gcj.
(&lang_cxx_finish, &lang_f77_finish, &lang_objc_finish)
(&lang_java_finish): Adjust.
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.
Akim Demaille [Tue, 8 May 2001 11:18:05 +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.
Akim Demaille [Tue, 8 May 2001 11:00:12 +0000 (11:00 +0000)]
* automake.in (&handle_tests_dejagnu): Don't define EXPECT and
RUNTEST.
* dejagnu.am: Do it.
(site.exp): Use `if'.
Akim Demaille [Tue, 8 May 2001 10:59:37 +0000 (10:59 +0000)]
* automake.in: Formatting changes.
(variable_dump, variables_dump): Rename as...
(macro_dump, macros_dump): these.
Akim Demaille [Tue, 8 May 2001 10:58:49 +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.
Akim Demaille [Tue, 8 May 2001 10:42:21 +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'.
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.
Akim Demaille [Tue, 8 May 2001 10:38:12 +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%'.
Akim Demaille [Tue, 8 May 2001 09:46:12 +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 $<.
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'.
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'.
Akim Demaille [Mon, 7 May 2001 17:40:48 +0000 (17:40 +0000)]
* automake.in (&handle_languages): Don't use $comp.
Akim Demaille [Mon, 7 May 2001 17:39:10 +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.
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.
Akim Demaille [Mon, 7 May 2001 17:17:56 +0000 (17:17 +0000)]
* automake.in (&depend2): Remove, merged in...
(&handle_languages): here.
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.
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.
Tom Tromey [Mon, 7 May 2001 16:29:39 +0000 (16:29 +0000)]
* tests/subobj6.test (wish_SOURCES): Use $MAKE.
* tests/subobj5.test (wish_SOURCES): Use $MAKE.
Tom Tromey [Mon, 7 May 2001 16:28:57 +0000 (16:28 +0000)]
* automake.in (GNITS_VERSION_PATTERN): Document. Added `fork
identifier'.
(handle_options): Handle fork identifier in version number.
Tom Tromey [Mon, 7 May 2001 05:41:49 +0000 (05:41 +0000)]
inexplicable omission
Tom Tromey [Mon, 7 May 2001 04:41:51 +0000 (04:41 +0000)]
* automake.texi (Dist): Document distcheck-hook.
Tom Tromey [Sun, 6 May 2001 23:16:05 +0000 (23:16 +0000)]
* tests/confh4.test: Updated to reflect DEFS change.
For PR automake/132.
Tom Tromey [Sun, 6 May 2001 23:01:34 +0000 (23:01 +0000)]
Fix for PR automake/132:
* automake.in (c, c++, objc, asm, ppf77): Add DEFAULT_INCLUDES to
compilation.
(java): Remove INCLUDES and DEFS from compilation.
(lang_c_finish): Add DEFAULT_INCLUDES to compilation.
* compile.am (DEFS): Don't include %DEFAULT_INCLUDES%.
(DEFAULT_INCLUDES): New macro.
Tom Tromey [Sun, 6 May 2001 22:51:47 +0000 (22:51 +0000)]
* automake.in (usage): Re-align explanatory text.
Fixes PR automake/148.
Tom Tromey [Sun, 6 May 2001 22:49:24 +0000 (22:49 +0000)]
* automake.texi (Uniform): Don't use @PROGRAMS@.
Fixes PR automake/154.
Tom Tromey [Sun, 6 May 2001 20:15:43 +0000 (20:15 +0000)]
For PR automake/160:
* tests/Makefile.am (TESTS): Added subobj5.test and subobj6.test.
(XFAIL_TESTS): Added subobj6.test.
* tests/subobj6.test: New file.
Tom Tromey [Sun, 6 May 2001 19:00:23 +0000 (19:00 +0000)]
* distdir.am (distdir): Make subdirectory for each file.
Fixes test subobj5.test.
Tom Tromey [Sun, 6 May 2001 18:03:46 +0000 (18:03 +0000)]
* tests/Makefile.am (TESTS): Added new file.
(XFAIL_TESTS): Likewise.
* tests/texinfo10.test: New file.
Pavel Roskin [Sun, 6 May 2001 06:53:52 +0000 (06:53 +0000)]
Regenerated
Pavel Roskin [Sun, 6 May 2001 06:17:03 +0000 (06:17 +0000)]
* automake.in (scan_texinfo_file): Treat @defindex and @synindex
in the same way as @defcodeindex and @syncodeindex respectively.
Tom Tromey [Sun, 6 May 2001 05:40:47 +0000 (05:40 +0000)]
* mans.am (install-man%SECTION%): Minor cleanup.
(uninstall-man%SECTION%): Likewise.
Tom Tromey [Sun, 6 May 2001 05:39:58 +0000 (05:39 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Removed man.test.
* mans.am (install-man%SECTION%): Handle dist_ and nodist_
prefixes.
(uninstall-man%SECTION%): Likewise.
* automake.in (handle_man_pages): Handle dist_ and nodist_
prefixes.
Tom Tromey [Sun, 6 May 2001 05:26:59 +0000 (05:26 +0000)]
* automake.texi (Future): Removed.
(Depth): Removed.
(Hello): Don't mention `deep'.
(Top level): Likewise.
Tom Tromey [Sun, 6 May 2001 05:25:59 +0000 (05:25 +0000)]
* automake.in (conditional_true_when): Use a hash, not index().
Also, a TRUE component always results in a true return.
Fixes test cond10.test. For PR automake/164.
* tests/Makefile.am (XFAIL_TESTS): Removed cond10.test.
Tom Tromey [Sat, 5 May 2001 22:43:31 +0000 (22:43 +0000)]
2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
For PR automake/164:
* tests/Makefile.am (TESTS): Added new file.
(XFAIL_TESTS): Likewise.
* tests/cond10.test: New file.
Tom Tromey [Sat, 5 May 2001 22:08:48 +0000 (22:08 +0000)]
* texinfos.am (uninstall-info-am): Debian install-info v1.8.3
prints to stderr.
(install-info-am): Likewise.
Tom Tromey [Sat, 5 May 2001 21:16:36 +0000 (21:16 +0000)]
2001-05-05 Pavel Roskin <proski@gnu.org>
* automake.in (scan_texinfo_file): Don't push undefined values
to @clean_suffixes.
Tom Tromey [Sat, 5 May 2001 21:06:46 +0000 (21:06 +0000)]
2001-05-05 Richard Boulton <richard@tartarus.org>
* automake.in (handle_dist): Check for existence of DIST_SUBDIRS
first.
Tom Tromey [Sat, 5 May 2001 20:53:36 +0000 (20:53 +0000)]
2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
* automake.in (required_targets): Added uninstall-am.
Tom Tromey [Sat, 5 May 2001 20:47:29 +0000 (20:47 +0000)]
Fix bug reported by Robert Boehne:
* automake.in (output_lex_build_rule): Don't let AMDEP_TRUE be
substituted.
(handle_dependencies): Likewise.
* Makefile.am (maintainer-check): Look for AMDEP_TRUE
substitution. Correct diff now has 30 lines. Look for space
after losing `undef'.
Akim Demaille [Fri, 4 May 2001 13:43:54 +0000 (13:43 +0000)]
Typo.
Akim Demaille [Fri, 4 May 2001 10:57:35 +0000 (10:57 +0000)]
* m4/sanity.m4: Remove the temp file before possible error exits.
Akim Demaille [Fri, 4 May 2001 09:31:45 +0000 (09:31 +0000)]
* configure.in: Set perllibdir.
From Dave Morrison.
Akim Demaille [Fri, 4 May 2001 08:39:53 +0000 (08:39 +0000)]
* automake.in ($pkgdata_dir): New.
(&require_file_internal): Use it.
Akim Demaille [Thu, 3 May 2001 08:32:37 +0000 (08:32 +0000)]
Add missing files.
Akim Demaille [Thu, 3 May 2001 08:21:05 +0000 (08:21 +0000)]
Case insensitive FS choke on Automake/ vs automake.
Reported by Tim Van Holder.
* Automake/: Move in...
* lib/: this new directory.
Akim Demaille [Thu, 3 May 2001 07:28:20 +0000 (07:28 +0000)]
* data.am (install-%DIR%%PRIMARY%): Execute the same command as
echoed.
Pavel Roskin [Tue, 1 May 2001 04:34:14 +0000 (04:34 +0000)]
* automake.in: Remove `/lib' from include directory.
Akim Demaille [Fri, 27 Apr 2001 14:49:47 +0000 (14:49 +0000)]
AM_INIT_AUTOMAKE is no longer optional.
* automake.in ($seen_make_set, $seen_prog_install)
($seen_arg_prog): Remove.
(&handle_programs, &handle_scripts, &scan_one_autoconf_file):
Remove related code.
Akim Demaille [Fri, 27 Apr 2001 14:03:26 +0000 (14:03 +0000)]
* tests/specflags4.test, tests/specflags5.test: Remove, merged
into...
* tests/specflags3.test: here.
Akim Demaille [Fri, 27 Apr 2001 13:57:39 +0000 (13:57 +0000)]
* automake.in ($seen_path_xtra): Remove.
(&handle_compile): Don't handle `AC_PATH_XTRA' AC_SUBST variables.
(&scan_one_autoconf_file): Do it, instead of setting $seen_path_xtra.
Akim Demaille [Fri, 27 Apr 2001 13:48:22 +0000 (13:48 +0000)]
* automake.in (&file_contents_internal): Declare it.
Akim Demaille [Fri, 27 Apr 2001 13:31:26 +0000 (13:31 +0000)]
* automake.in (&read_am_file, &file_contents_internal): Don't
define macros when `FALSE', to avoid errors on doubly defined
variables but under condition `FALSE'. In order to allow...
(&am_install_var): When reading the associated file for the first
time, enable `%?FIRST%'.
(&handle_libraries): Let libs.am define $(AR) and $(RANLIB).
* libs.am: Do it when `%?FIRST%'.
Akim Demaille [Fri, 27 Apr 2001 13:30:31 +0000 (13:30 +0000)]
* automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
* ansi2knr.am: Do it.
Prefer `if %?FOO%' to `if %!FOO%'.
Akim Demaille [Fri, 27 Apr 2001 13:28:03 +0000 (13:28 +0000)]
Automake/Makefile.in, Automake/.cvsignore: New.
Akim Demaille [Fri, 27 Apr 2001 13:20:35 +0000 (13:20 +0000)]
* automake.in (®ister_language, &finish_languages): Use `pure'
as a Boolean.
(®ister_language): Use %done properly with objects, not names.
(&finish_languages): Replace `$non_c' with `$needs_c'.
Akim Demaille [Fri, 27 Apr 2001 13:17:02 +0000 (13:17 +0000)]
Unify LISP, PYTHON and JAVA primaries.
* automake.in (&handle_emacs_lisp): Be like &handle_python, i.e.,
return if there are no files, hook elist-comp on the Autoconf
macro, rely on lisp.am to define variables.
(&handle_python, &handle_java): Likewise.
(&scan_one_autoconf_file): Pseudo AC_SUBST of `pythondir' and
`PYTHON' must be handled here, not in `&handle_python'.
* java.am: Define needed variables and rules.
Akim Demaille [Fri, 27 Apr 2001 13:02:16 +0000 (13:02 +0000)]
* automake.in (&am_install_var): Transform `ONE_PRIMARY'.
* data.am: Use it.
* header.am: Include data.am.
Akim Demaille [Fri, 27 Apr 2001 13:00:44 +0000 (13:00 +0000)]
* automake.in (&am_install_var): Transform `PRIMARY'.
* data.am: Equip with %PRIMARY%.
Akim Demaille [Fri, 27 Apr 2001 12:58:04 +0000 (12:58 +0000)]
* automake.in (@conditional_stack): Rename as...
(@cond_stack): this.
(&file_contents_internal): Support inclusion of files.
Akim Demaille [Fri, 27 Apr 2001 12:55:48 +0000 (12:55 +0000)]
* automake.in (&lang_extensions): Remove.
(&add_depend2, &saw_sources_p): Adjust.
* depend2.am: `%EXT%' no longer includes the dot.
Akim Demaille [Fri, 27 Apr 2001 12:48:46 +0000 (12:48 +0000)]
* automake.in (&finish_languages, &handle_single_transform_list)
(&add_depend2, &handle_dependencies): No longer use the language
name in `$lang'. Rename `$lang_obj' as `$lang'.
Akim Demaille [Fri, 27 Apr 2001 11:14:10 +0000 (11:14 +0000)]
* automake.in (®ister_language): Use `new Language' with a hash.
Akim Demaille [Fri, 27 Apr 2001 10:58:01 +0000 (10:58 +0000)]
* automake.in (®ister_language): Rename `output-arg' and
`derived-autodep' as `output_arg' and `derived_autodep' to match
the Language attribute.
Set the defaults in %option instead of $lang.
Akim Demaille [Fri, 27 Apr 2001 10:45:14 +0000 (10:45 +0000)]
* Automake/: New directory.
* Automake/Struct.pm: New file, based on Perl 5.6's Class::Struct.
* automake.in (Language): Use Automake::Struct.
* tests/defs: Adjust to find Struct.
Pavel Roskin [Tue, 24 Apr 2001 18:04:59 +0000 (18:04 +0000)]
Rebuilt.