platform/upstream/automake.git
23 years ago * lib/ylwrap: Fixed quoting on regular expression. Fixes
Tom Tromey [Tue, 15 May 2001 03:33:20 +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:54 +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:15:03 +0000 (16:15 +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:31 +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:44 +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:45 +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:09 +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:33 +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:41 +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 (Language): Set config_vars for yacc, yaccxx, lex,
Akim Demaille [Sun, 13 May 2001 17:20:11 +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: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.

23 years ago2001-05-12 Raja R Harinath <harinath@cs.umn.edu>
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.

23 years ago* automake.in (&handle_single_transform_list): Simplify
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.

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:58 +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:45 +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: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.

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: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.

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: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.

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:19 +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: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.

23 years ago* automake.texi (Canonicalizing Automake macros): Document not
Akim Demaille [Tue, 8 May 2001 16:17:29 +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: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.

23 years ago* automake.in ($IGNORE_PATTERN): Improve for multi-line matches.
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.
(&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: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.

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:12 +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:19 +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:54 +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: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.

23 years ago* automake.in (&handle_tests_dejagnu): Don't define EXPECT and
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'.

23 years ago* automake.in: Formatting changes.
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.

23 years agoSupport `if !COND', `else COND', `end COND'.
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.

23 years agoUniform handling of per-object compilation rules.
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'.

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: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%'.

23 years ago* automake.in (&handle_languages): Don't transform %COMPILER%.
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 $<.

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:48 +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: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.

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:
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:39 +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:57 +0000 (16:28 +0000)]
* automake.in (GNITS_VERSION_PATTERN): Document.  Added `fork
identifier'.
(handle_options): Handle fork identifier in version number.

23 years agoinexplicable omission
Tom Tromey [Mon, 7 May 2001 05:41:49 +0000 (05:41 +0000)]
inexplicable omission

23 years ago * automake.texi (Dist): Document distcheck-hook.
Tom Tromey [Mon, 7 May 2001 04:41:51 +0000 (04:41 +0000)]
* automake.texi (Dist): Document distcheck-hook.

23 years ago * tests/confh4.test: Updated to reflect DEFS change.
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.

23 years ago Fix 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.

23 years ago * automake.in (usage): Re-align explanatory text.
Tom Tromey [Sun, 6 May 2001 22:51:47 +0000 (22:51 +0000)]
* automake.in (usage): Re-align explanatory text.
Fixes PR automake/148.

23 years ago * automake.texi (Uniform): Don't use @PROGRAMS@.
Tom Tromey [Sun, 6 May 2001 22:49:24 +0000 (22:49 +0000)]
* automake.texi (Uniform): Don't use @PROGRAMS@.
Fixes PR automake/154.

23 years ago For PR automake/160:
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.

23 years ago * distdir.am (distdir): Make subdirectory for each 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.

23 years ago * tests/Makefile.am (TESTS): Added new file.
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.

23 years agoRegenerated
Pavel Roskin [Sun, 6 May 2001 06:53:52 +0000 (06:53 +0000)]
Regenerated

23 years ago* automake.in (scan_texinfo_file): Treat @defindex and @synindex
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.

23 years ago * mans.am (install-man%SECTION%): Minor cleanup.
Tom Tromey [Sun, 6 May 2001 05:40:47 +0000 (05:40 +0000)]
* mans.am (install-man%SECTION%): Minor cleanup.
(uninstall-man%SECTION%): Likewise.

23 years ago * tests/Makefile.am (XFAIL_TESTS): Removed man.test.
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.

23 years ago * automake.texi (Future): Removed.
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.

23 years ago * automake.in (conditional_true_when): Use a hash, not index().
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.

23 years ago2001-05-05 Raja R Harinath <harinath@cs.umn.edu>
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.

23 years ago * texinfos.am (uninstall-info-am): Debian install-info v1.8.3
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.

23 years ago2001-05-05 Pavel Roskin <proski@gnu.org>
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.

23 years ago2001-05-05 Richard Boulton <richard@tartarus.org>
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.

23 years ago2001-05-05 Robert Collins <robert.collins@itdomain.com.au>
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.

23 years ago Fix bug reported by Robert Boehne:
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'.

23 years agoTypo.
Akim Demaille [Fri, 4 May 2001 13:43:54 +0000 (13:43 +0000)]
Typo.

23 years ago* m4/sanity.m4: Remove the temp file before possible error exits.
Akim Demaille [Fri, 4 May 2001 10:57:35 +0000 (10:57 +0000)]
* m4/sanity.m4: Remove the temp file before possible error exits.

23 years ago* configure.in: Set perllibdir.
Akim Demaille [Fri, 4 May 2001 09:31:45 +0000 (09:31 +0000)]
* configure.in: Set perllibdir.
From Dave Morrison.

23 years ago* automake.in ($pkgdata_dir): New.
Akim Demaille [Fri, 4 May 2001 08:39:53 +0000 (08:39 +0000)]
* automake.in ($pkgdata_dir): New.
(&require_file_internal): Use it.

23 years agoAdd missing files.
Akim Demaille [Thu, 3 May 2001 08:32:37 +0000 (08:32 +0000)]
Add missing files.

23 years agoCase insensitive FS choke on Automake/ vs automake.
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.

23 years ago* data.am (install-%DIR%%PRIMARY%): Execute the same command as
Akim Demaille [Thu, 3 May 2001 07:28:20 +0000 (07:28 +0000)]
* data.am (install-%DIR%%PRIMARY%): Execute the same command as
echoed.

23 years ago* automake.in: Remove `/lib' from include directory.
Pavel Roskin [Tue, 1 May 2001 04:34:14 +0000 (04:34 +0000)]
* automake.in: Remove `/lib' from include directory.