platform/upstream/automake.git
23 years ago* automake.in (&make_condition): Return '#' when FALSE.
Akim Demaille [Mon, 9 Apr 2001 09:49:22 +0000 (09:49 +0000)]
* automake.in (&make_condition): Return '#' when FALSE.
(&conditional_string): Return FALSE, not '#' in the corresponding
cases.
(&file_contents_internal): Adjust.
(&check_variable_defined_unconditional): Dump the guilty variable.

23 years ago* distdir.am: Use and abuse of if/endif.
Akim Demaille [Mon, 9 Apr 2001 09:47:18 +0000 (09:47 +0000)]
* distdir.am: Use and abuse of if/endif.
* scripts.am: Using if/endif with variables is fine.

23 years ago* automake.in (&make_paragraphs): Extract from &file_contents.
Akim Demaille [Mon, 9 Apr 2001 09:46:54 +0000 (09:46 +0000)]
* automake.in (&make_paragraphs):  Extract from &file_contents.
Make it more robust than the previous RE based scheme.
(&file_contents): Use it.

23 years ago* tests/yacc2.test: Don't define several times a variable, as
Akim Demaille [Mon, 9 Apr 2001 09:45:02 +0000 (09:45 +0000)]
* tests/yacc2.test: Don't define several times a variable, as
automake complains.

23 years ago* automake.in (&handle_source_transform): Fix pr72: don't define
Akim Demaille [Mon, 9 Apr 2001 09:43:56 +0000 (09:43 +0000)]
* automake.in (&handle_source_transform): Fix pr72: don't define
$linker if there are no @files.

23 years agoAvoid reading twice header-vars.am as now macro_define
Akim Demaille [Mon, 9 Apr 2001 09:42:02 +0000 (09:42 +0000)]
Avoid reading twice header-vars.am as now macro_define
complains.
* automake.in (&define_standard_variables): Don't output the
variables.
(&read_main_am_file): Output first user variables, then Automake
variables.
Don't call twice &define_standard_variables.
Save variable comments in $am_vars.
(&variable_output): New.
(&file_contents_internal): New.
Save variable comments in $am_vars.
(&file_contents): Use it.

23 years ago* automake.in (&macro_define): The user is allowed to override
Akim Demaille [Mon, 9 Apr 2001 09:36:49 +0000 (09:36 +0000)]
* automake.in (&macro_define): The user is allowed to override
a value if it was set by Automake, or if it was found in AC_SUBST.

23 years ago* automake.in (&handle_source_transform): Better locality of the
Akim Demaille [Mon, 9 Apr 2001 09:34:16 +0000 (09:34 +0000)]
* automake.in (&handle_source_transform): Better locality of the
variables.
Use `next' to skip nonexistent variables.

23 years ago* automake.in (&variable_dump): If a variable is undefined, say
Akim Demaille [Mon, 9 Apr 2001 09:33:49 +0000 (09:33 +0000)]
* automake.in (&variable_dump): If a variable is undefined, say
it.
(&check_ambiguous_conditional): Give finer error messages.
(&macro_define): Check that a `+=' variable is not set with `='.
Check for ambiguous definitions each time you _set_ (even with `+=')
a variable.
(&read_main_am_file): Perform a deep copy of %conditional.

23 years ago(&variable_conditions): Don't include `FALSE' in the result.
Akim Demaille [Mon, 9 Apr 2001 09:08:46 +0000 (09:08 +0000)]
(&variable_conditions): Don't include `FALSE' in the result.

23 years ago* tests/defs, tests/depend3.test: Remove useless code.
Akim Demaille [Mon, 9 Apr 2001 09:07:47 +0000 (09:07 +0000)]
* tests/defs, tests/depend3.test: Remove useless code.

23 years ago* automake.in (&handle_source_transform): Use
Akim Demaille [Mon, 9 Apr 2001 09:06:14 +0000 (09:06 +0000)]
* automake.in (&handle_source_transform):  Use
&variable_conditions, don't read $conditional{$var}.
(&variable_conditions_sub): When the call is the top level call,
generate all the permutations of the conditions.

23 years ago* depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
Akim Demaille [Mon, 9 Apr 2001 09:03:11 +0000 (09:03 +0000)]
* depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so
that it does not get noticed twice by automake, which now
complains for multiple definitions.
* tests/vartar.test: s/INSTALL/install/g, automake now complains
because we defined INSTALL.

23 years ago* automake.in (&generate_makefile) Use macro_define to define
Akim Demaille [Mon, 9 Apr 2001 09:02:37 +0000 (09:02 +0000)]
* automake.in (&generate_makefile) Use macro_define to define
SOURCES and OBJECTS.
(&variable_defined): Don't check for $conditional{VAR}{COND} as
this would make perl create $condition{VAR}, which we don't want.

23 years ago* automake.in (&variable_defined, &define_pretty_variable):
Akim Demaille [Mon, 9 Apr 2001 09:00:58 +0000 (09:00 +0000)]
* automake.in (&variable_defined, &define_pretty_variable):
Simplify code which used to handle the cases where not all
variables were in %conditional.
(&define_variable): Use &define_pretty_variable.
(&variable_conditions_sub, &variable_value_as_list_worker)
(&variable_value_as_list, &rule_define): Simplify syntax.
(&read_main_am_file): Dump the guilty predefined variables.

23 years ago* automake.in (&variable_conditions_sub)
Akim Demaille [Mon, 9 Apr 2001 08:59:50 +0000 (08:59 +0000)]
* automake.in (&variable_conditions_sub)
(&variable_value_as_list_worker): Remove dead code which used to
handle the cases where not all variables were in %conditional.

23 years ago* automake.in (&handle_source_transform, &read_main_am_file):
Akim Demaille [Mon, 9 Apr 2001 08:52:06 +0000 (08:52 +0000)]
* automake.in (&handle_source_transform, &read_main_am_file):
Simplify loops which were split in two parts, conditional vs
unconditional variables.

23 years agoHandle unconditional values of variables as conditioned by
Akim Demaille [Mon, 9 Apr 2001 08:50:40 +0000 (08:50 +0000)]
Handle unconditional values of variables as conditioned by
`TRUE'.
* automake.in (%contents): Remove.
(&generate_makefile, &handle_ltlibraries, &macro_define)
(&read_am_file, &variable_defined, &variable_conditions_sub)
(&variable_value, &variable_value_as_list_worker)
(&variable_value_as_list, &define_pretty_variable)
(&read_main_am_file): Use
$conditional, not %contents.
(&variable_conditions_permutations): Don't return TRUE and FALSE.
(&variable_conditionally_defined): New.
(&handle_dist): Use it.
(&check_ambiguous_conditional): When multiply defined, specify
under which condition.
(&macro_define): Use it.
(&variable_delete): New.
(&read_am_file): Use it.
(&am_install_var): Simplify, as all the variables are in
%conditional now.

23 years ago * tests/Makefile.am (XFAIL_TESTS): Added man.test.
Tom Tromey [Sun, 8 Apr 2001 00:27:35 +0000 (00:27 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Added man.test.
(TESTS): Likewise.
* tests/man.test: New file.

23 years ago2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sat, 7 Apr 2001 23:13:42 +0000 (23:13 +0000)]
2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>

* depcomp (gcc3): Invert test condition.

23 years ago * depcomp (gcc3, gcc): Don't assume $? will be set in `if'
Tom Tromey [Sat, 7 Apr 2001 20:22:07 +0000 (20:22 +0000)]
* depcomp (gcc3, gcc): Don't assume $? will be set in `if'
statement.  Report from Larry Jones.

23 years ago2001-04-07 Raja R Harinath <harinath@cs.umn.edu>
Tom Tromey [Sat, 7 Apr 2001 20:15:47 +0000 (20:15 +0000)]
2001-04-07  Raja R Harinath  <harinath@cs.umn.edu>

* depcomp (sgi): Fix sed expression.  Report from Robert Boehne.

23 years ago * java.am (.PHONY clean-am): Removed trailing ":".
Tom Tromey [Sun, 1 Apr 2001 23:45:49 +0000 (23:45 +0000)]
* java.am (.PHONY clean-am): Removed trailing ":".
From Per Bothner.  Fixes PR automake/139.

23 years ago* program.am: Fix a stupid typo: now *all* (not none) the programs
Akim Demaille [Wed, 28 Mar 2001 07:31:05 +0000 (07:31 +0000)]
* program.am: Fix a stupid typo: now *all* (not none) the programs
use `$(EXEEXT)'.
Reported by Robert Boehne.

23 years ago* automake.in (&read_am_file, &file_contents): Avoid name clashes
Akim Demaille [Fri, 23 Mar 2001 17:58:33 +0000 (17:58 +0000)]
* automake.in (&read_am_file, &file_contents): Avoid name clashes
on $cond.

23 years ago* automake.in (&variable_conditionally_defined): Rename as...
Akim Demaille [Fri, 23 Mar 2001 17:54:05 +0000 (17:54 +0000)]
* automake.in (&variable_conditionally_defined): Rename as...
(&check_variable_unconditionally_defined): this.
(&variable_dump): Fix the output.
(&variable_defined, &macro_define): Since conditions are
canonicalized, don't use a loop to look for a condition: read the
hash.
(&macro_define, &rule_define, &read_am_file, &file_contents):
Rename $cond_string as $cond.
* distdir.am (PACKAGE, VERSION): Remove; since they are already
discovered via AC_SUBST, they now trigger a `defined twice' error.

23 years ago* automake.in (&handle_footer, &handle_installdirs)
Akim Demaille [Fri, 23 Mar 2001 17:16:02 +0000 (17:16 +0000)]
* automake.in (&handle_footer, &handle_installdirs)
(&read_main_am_file): Don't read %contents directly, use
&variable_value.

23 years ago* automake.in (&read_am_file): Define the variables in a single
Akim Demaille [Fri, 23 Mar 2001 17:12:44 +0000 (17:12 +0000)]
* automake.in (&read_am_file): Define the variables in a single
shot.
Factor the $saw_bk code.

23 years ago* automake.in (&read_am_file): Keep $cond_string up to date.
Akim Demaille [Fri, 23 Mar 2001 17:09:59 +0000 (17:09 +0000)]
* automake.in (&read_am_file): Keep $cond_string up to date.

23 years ago* automake.in (&define_variable): Use &macro_define.
Akim Demaille [Fri, 23 Mar 2001 17:09:02 +0000 (17:09 +0000)]
* automake.in (&define_variable): Use &macro_define.

23 years ago* automake.in (&macro_define): Don't lose the location if we
Akim Demaille [Fri, 23 Mar 2001 17:06:39 +0000 (17:06 +0000)]
* automake.in (&macro_define): Don't lose the location if we
redefine a variable.
Don't push all the variables in @var_list, let...
(&read_am_file, &file_contents): ... do it.
(&define_pretty_variable): Use macro_define.
(&am_install_var): Delete the value of variables being redefined
to pacify &macro_define which checks that variables are not
doubly defined.

23 years ago* automake.in (&conditional_dump): Rename as...
Akim Demaille [Fri, 23 Mar 2001 17:03:19 +0000 (17:03 +0000)]
* automake.in (&conditional_dump): Rename as...
(&variables_dump): this.  Use...
(&variable_dump): this new sub.

23 years ago* automake.in (&file_contents): Maintain $cond_string sync with
Akim Demaille [Fri, 23 Mar 2001 16:58:44 +0000 (16:58 +0000)]
* automake.in (&file_contents): Maintain $cond_string sync with
@cond_stack.
Output rules only if not under `FALSE'.
Define variables under $cond_string.
* scripts.am: For the time being if/endif does not work properly
with macros.

23 years ago* automake.in (IF_PATTERN): Unobfuscate the parens.
Akim Demaille [Fri, 23 Mar 2001 16:54:42 +0000 (16:54 +0000)]
* automake.in (IF_PATTERN): Unobfuscate the parens.
(ENDIF_PATTERN): Allow a condition to be specified.
(&file_contents): Use a @cond_stack.
(&transform): At least for an easy transition, also transform
%?FOO% and %!FOO%, as suggested by Lars.
* scripts.am: First test bed for static if/endif use.

23 years ago* automake.in (&file_contents): Use rule_define.
Akim Demaille [Fri, 23 Mar 2001 16:50:30 +0000 (16:50 +0000)]
* automake.in (&file_contents): Use rule_define.

23 years ago* automake.in (&macro_define): Don't rely on $1.
Akim Demaille [Fri, 23 Mar 2001 16:45:53 +0000 (16:45 +0000)]
* automake.in (&macro_define): Don't rely on $1.
Initialize the variable.
Set its Automakism only if not defined or if given to the user.
When concatenating values, insert a separator only if the value
was not empty.
(&read_am_file): When dumping the @var_list, skip Automake
variables.
(&file_contents): Use macro_define.

23 years ago* automake.in (&rule_define): Extract from...
Akim Demaille [Fri, 23 Mar 2001 16:40:13 +0000 (16:40 +0000)]
* automake.in (&rule_define): Extract from...
(&read_am_file): here.

23 years ago* automake.in (&macro_define, &read_am_file): More work for the
Akim Demaille [Fri, 23 Mar 2001 16:37:47 +0000 (16:37 +0000)]
* automake.in (&macro_define, &read_am_file): More work for the
former from the latter.  Reorganize the latter.

23 years ago* automake.in (&macro_define): Extract from...
Akim Demaille [Fri, 23 Mar 2001 16:34:32 +0000 (16:34 +0000)]
* automake.in (&macro_define): Extract from...
(&read_am_file): here.

23 years ago* automake.in (%am_var_defs): Replace with...
Akim Demaille [Fri, 23 Mar 2001 16:27:19 +0000 (16:27 +0000)]
* automake.in (%am_var_defs): Replace with...
(%var_is_am): this.
(&handle_installdirs, &variable_value_as_list_worker, &read_am_file)
(&file_contents, am_primary_&prefixes): Adjust.
(&variable_defined, &define_variable): The actual semantics is
`user defined'.
(&read_main_am_file): Assert the var is user defined when
outputting @var_list.

23 years ago* automake.in (read_am_file): TRUE and FALSE are predefined
Akim Demaille [Fri, 23 Mar 2001 16:23:53 +0000 (16:23 +0000)]
* automake.in (read_am_file): TRUE and FALSE are predefined
conditionals.
(&by_condition): Adjust.
(&conditional_string): Recognize `TRUE' and `FALSE'.
(&make_condition): Use it.
* m4/cond.m4: Reject TRUE and FALSE as conditionals.
* automake.texi (Conditionals): Adjust.
* tests/cond9.test: s/FALSE/WRONG/.

23 years ago* tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
Pavel Roskin [Mon, 12 Mar 2001 15:42:36 +0000 (15:42 +0000)]
* tests/Makefile.am (XFAIL_TESTS): Remove cond3.test, it passes
now.

23 years ago* automake.in (&variable_conditions_permutations): Separate the
Akim Demaille [Mon, 12 Mar 2001 11:15:13 +0000 (11:15 +0000)]
* automake.in (&variable_conditions_permutations): Separate the
conditions.
* tests/cond3.test: Improve the sed expression.

23 years ago* Makefile.am (maintainer-check): Scan all *.am files and tests
Pavel Roskin [Fri, 9 Mar 2001 22:24:20 +0000 (22:24 +0000)]
* Makefile.am (maintainer-check): Scan all *.am files and tests
for invocations of `rm' without `-f'.
* tests/mclean.test: Adjusted to prevent triggering the above
test.

23 years ago* Makefile.am (maintainer-check): Scan all *.am files and tests
Pavel Roskin [Fri, 9 Mar 2001 22:08:46 +0000 (22:08 +0000)]
* Makefile.am (maintainer-check): Scan all *.am files and tests
for invocations of `rm' without `-f'.
* tests/mclean.test: Strengthen to prevent triggering the above
test.

23 years ago * automake.in (scan_one_autoconf_file): Fixed comment to avoid
Tom Tromey [Fri, 9 Mar 2001 22:02:32 +0000 (22:02 +0000)]
* automake.in (scan_one_autoconf_file): Fixed comment to avoid
maintainer-check failure.

23 years ago* tests/cond3.test: Strengthen.
Akim Demaille [Fri, 9 Mar 2001 19:17:40 +0000 (19:17 +0000)]
* tests/cond3.test: Strengthen.

23 years ago* automake.in (&conditional_string): Produce a unique string
Akim Demaille [Fri, 9 Mar 2001 16:17:05 +0000 (16:17 +0000)]
* automake.in (&conditional_string): Produce a unique string
characterizing a condition stack.
(&conditional_same): Remove, comparing two strings is now enough.
(&variable_defined): Adjust.
(&read_am_file): Use conditional_string.

23 years ago* automake.in: Use -w.
Akim Demaille [Thu, 8 Mar 2001 13:23:18 +0000 (13:23 +0000)]
* automake.in: Use -w.
Normalize all use of `$lang . '-foo'' into `"$lang-foo"'.
(&parse_arguments): Support --Werror and --Wno-error as a
temporary hack until --warning/-W is properly implemented.
(&handle_single_transform_list): Prototype.
Be sure to define $directory.
Use `exists' instead of testing the value of a maybe undefined
hash value.
(&add_depend2, &handle_configure, &handle_footer, &file_contents)
(&handle_factored_dependencies): Use defined values.
(&scan_one_autoconf_file): Save $_.
* tests/lex2.test, tests/sinclude.test, tests/suffix3.test:
Run automake with --Wno-error.

23 years ago* automake.in (&handle_all): Use an array instead of a scalar for
Akim Demaille [Wed, 7 Mar 2001 19:09:44 +0000 (19:09 +0000)]
* automake.in (&handle_all): Use an array instead of a scalar for
local_headers.
Get rid of all-redirect: let `all' be that target.

23 years ago* automake.in (&handle_merge_targets): Ventilate its non `all'
Akim Demaille [Wed, 7 Mar 2001 18:39:10 +0000 (18:39 +0000)]
* automake.in (&handle_merge_targets): Ventilate its non `all'
related content into...
(&generate_makefile): here.
(&handle_merge_targets): Rename as...
(&handle_all): this.
Remove a useless `if': `@all' is obviously not empty, since it
contains at least the `basename ($makefile)' which has just been
unshifted.

23 years ago* automake.in, aclocal.in: Backquote is inert in double quotes.
Akim Demaille [Wed, 7 Mar 2001 18:37:06 +0000 (18:37 +0000)]
* automake.in, aclocal.in: Backquote is inert in double quotes.

23 years ago* Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
Akim Demaille [Tue, 6 Mar 2001 18:24:59 +0000 (18:24 +0000)]
* Makefile.am (maintainer-check): Simplify `grep -v ... | grep .'
into `grep -v ...'.

23 years ago* java.am: Use `rm -f' instead of `rm'.
Pavel Roskin [Tue, 6 Mar 2001 18:12:33 +0000 (18:12 +0000)]
* java.am: Use `rm -f' instead of `rm'.

23 years ago* automake.in (&push_dist_common): Simplify.
Akim Demaille [Tue, 6 Mar 2001 17:56:55 +0000 (17:56 +0000)]
* automake.in (&push_dist_common): Simplify.

23 years ago2001-03-06 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
Tom Tromey [Tue, 6 Mar 2001 17:25:36 +0000 (17:25 +0000)]
2001-03-06  Jens Krüger <jens_krueger@physik.tu-muenchen.de>

* ltlib.am: Replaced spaces with tab.

23 years agoUpdate.
Akim Demaille [Tue, 6 Mar 2001 15:05:37 +0000 (15:05 +0000)]
Update.

23 years ago* tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
Pavel Roskin [Tue, 6 Mar 2001 14:56:11 +0000 (14:56 +0000)]
* tests/Makefile.am (XFAIL_TESTS): noinstdir.test removed, it's
fixed now.

23 years ago* header.am, scripts.am: Use ?INSTALL? in the install and
Akim Demaille [Tue, 6 Mar 2001 14:44:44 +0000 (14:44 +0000)]
* header.am, scripts.am: Use ?INSTALL? in the install and
uninstall rules.

23 years ago* tests/copy.test: Never use `rm' without `-f' - it may ask
Pavel Roskin [Tue, 6 Mar 2001 00:48:20 +0000 (00:48 +0000)]
* tests/copy.test: Never use `rm' without `-f' - it may ask
questions, notably for read-only files during `make distcheck'.
* tests/insh.test: Likewise.
* tests/installsh.test: Likewise.
* tests/symlink.test: Likewise.
* tests/symlink2.test: Likewise.
* tests/symlink3.test: Likewise.

23 years agoRebuild.
Pavel Roskin [Mon, 5 Mar 2001 22:14:08 +0000 (22:14 +0000)]
Rebuild.

23 years ago* noinstdir.test: New test.
Pavel Roskin [Mon, 5 Mar 2001 22:11:05 +0000 (22:11 +0000)]
* noinstdir.test: New test.
* tests/Makefile.am (TESTS): Add noinstdir.test.
(XFAIL_TESTS): Likewise.

23 years ago* automake.in (&handle_options): Change the RE so that the third
Akim Demaille [Mon, 5 Mar 2001 19:29:16 +0000 (19:29 +0000)]
* automake.in (&handle_options): Change the RE so that the third
part of the versions always exist.
(&file_contents): Don't pass uninitialized values to &transform.

23 years ago* automake.in (&file_contents): Require a hash as second argument.
Akim Demaille [Mon, 5 Mar 2001 19:11:31 +0000 (19:11 +0000)]
* automake.in (&file_contents): Require a hash as second argument.
Adjust callers.

23 years agoAlways use hashes with &file_contents.
Akim Demaille [Mon, 5 Mar 2001 18:56:45 +0000 (18:56 +0000)]
Always use hashes with &file_contents.
* automake.in (&handle_texinfo): texibuild.am does not need
TEXINFODIR.
texinfos.am wants only TEXICLEANS.
(&handle_dist, &add_depend2, &handle_clean): Replace $xform with
%transform.
* texinfos.am: Adjust.

23 years ago* automake.in (&handle_programs, &handle_libraries, &handle_tags)
Akim Demaille [Mon, 5 Mar 2001 18:47:49 +0000 (18:47 +0000)]
* automake.in (&handle_programs, &handle_libraries, &handle_tags)
(&handle_ltlibraries, &handle_emacs_lisp, &handle_python): Adjust.
(&am_install_var): Forget about `-clean'.
Transform ?INSTALL?.
Always output the *.am file.
* data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
* ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
Remove, merged into the corresponding *.am file.
* data.am, libs.am, ltlib.am, progs.am, python.am: Equip with
?INSTALL?.

23 years agoRebuild.
Pavel Roskin [Mon, 5 Mar 2001 17:05:26 +0000 (17:05 +0000)]
Rebuild.

23 years ago* Makefile.am (amfiles): Add configure.am. Sort alphabetically.
Pavel Roskin [Mon, 5 Mar 2001 16:57:52 +0000 (16:57 +0000)]
* Makefile.am (amfiles): Add configure.am. Sort alphabetically.

23 years agoComment changes.
Akim Demaille [Mon, 5 Mar 2001 15:13:55 +0000 (15:13 +0000)]
Comment changes.

23 years agoIf OBJEXT and EXEEXT are not set, provide a default value, and use
Akim Demaille [Mon, 5 Mar 2001 15:03:00 +0000 (15:03 +0000)]
If OBJEXT and EXEEXT are not set, provide a default value, and use
them unconditionally.
* automake.in (&generate_makefile): Provide default values for
EXEEXT and OBJEXT.
(&get_object_extension, &finish_languages)
(&handle_single_transform_list, &handle_programs, &add_depend2)
(&check_cygnus, &lang_c_finish, am_install_var): Don't bother with
them, they are defined.
* compile.am, depend2.am, program.am, progs.am: Likewise.
* remake-hdr.am: Fix a typo.
* tests/cxxo.test, tests/fo.test, tests/implicit.test,
* tests/interp.test, tests/subobj.test, tests/subobj2.test,
* tests/suffix2.test: Adjust.

23 years ago* automake.in (&file_contents): Map MAINTAINER-MODE to
Akim Demaille [Mon, 5 Mar 2001 14:52:13 +0000 (14:52 +0000)]
* automake.in (&file_contents): Map MAINTAINER-MODE to
@MAINTAINER_MODE_TRUE@ or nothing.
* configure.am, remake-hdr.am, remake.am, texi-vers.am: Adjust.
Suggested by Tom.

23 years ago* automake.in (&do_one_merge_target): Remove, was only called from...
Akim Demaille [Mon, 5 Mar 2001 14:49:43 +0000 (14:49 +0000)]
* automake.in (&do_one_merge_target): Remove, was only called from...
(&handle_merge_targets): here for `all'.
Adjust.

23 years ago* automake.in (&do_one_merge_target): Remove, was only called from...
Akim Demaille [Mon, 5 Mar 2001 14:47:39 +0000 (14:47 +0000)]
* automake.in (&do_one_merge_target): Remove, was only called from...
(&handle_merge_targets): here for `all'.
Adjust.

23 years agoMake the installation/uninstallation of Info pages follow the
Akim Demaille [Mon, 5 Mar 2001 14:45:40 +0000 (14:45 +0000)]
Make the installation/uninstallation of Info pages follow the
regular am/recursive scheme.
* automake.in (%required_targets, %dependencies): Add
install-info.
(%dependencies): Add install-info, install-info-am, and
unstall-info.
(&handle_subdirs): Don't transform INSTALLINFO, which mapping was
reversed BTW.  Does anybody use the option `no-installinfo'?
(&handle_merge_targets): Let the handling of info related targets
to...
(&handle_factored_dependencies): this.
* subdirs.am: Use ?INSTALL-INFO?.
* texinfos.am: Define the install-info, uninstall-info and
uninstall-info-am targets.

23 years ago* automake.in (%required_targets, %dependencies): Add dvi, info,
Akim Demaille [Mon, 5 Mar 2001 14:44:27 +0000 (14:44 +0000)]
* automake.in (%required_targets, %dependencies): Add dvi, info,
dvi-am, info-am.
(@info, @dvi): Remove.
(&handle_texinfo, &handle_merge_targets): Adjust.
(&handle_factored_dependencies): Required targets are phony.
* texinfos.am: Build info, dvi, and the corresponding -am or
-recursive targets.

23 years ago* automake.in (&am_install_var): Remove $cygxform, unused.
Akim Demaille [Mon, 5 Mar 2001 14:43:47 +0000 (14:43 +0000)]
* automake.in (&am_install_var): Remove $cygxform, unused.

23 years ago* automake.in (&file_contents): Transform LIBTOOL.
Akim Demaille [Mon, 5 Mar 2001 14:42:56 +0000 (14:42 +0000)]
* automake.in (&file_contents): Transform LIBTOOL.
(&am_install_var): Remove $ltxform.
* ltlib.am, progs.am: Adjust.

23 years ago* automake.in: Require AC_PROG_INSTALL in...
Akim Demaille [Mon, 5 Mar 2001 14:42:21 +0000 (14:42 +0000)]
* automake.in: Require AC_PROG_INSTALL in...
(&scan_autoconf_files): here.

23 years ago* configure.am: New file.
Akim Demaille [Mon, 5 Mar 2001 14:41:08 +0000 (14:41 +0000)]
* configure.am: New file.
* automake.in (&file_contents): Transform CONFIGURE-AC.
(&handle_texinfo, &handle_configure): Don't transform
CONFIGURE_AM.
(&handle_configure): Use `configure.am'.
* remake-hdr.am, remake.am, texi-vers.am: Adjust to
MAINTAINER-MODE and CONFIGURE-AC.

23 years ago* automake.in (&pretty_print_internal): Don't output useless
Akim Demaille [Mon, 5 Mar 2001 14:38:54 +0000 (14:38 +0000)]
* automake.in (&pretty_print_internal): Don't output useless
spaces.
(define_pretty_variable): Don't issue the space after the `=' sign
to avoid trailing spaces in Makefile.ins.

23 years ago* automake.in (&generate_makefile): Call &initialize_per_input
Akim Demaille [Mon, 5 Mar 2001 14:38:02 +0000 (14:38 +0000)]
* automake.in (&generate_makefile): Call &initialize_per_input
*before* setting $am_file_name and $in_file_name.

23 years ago* automake.in ($in_file_name, $am_file_name, $relative_dirs):
Akim Demaille [Mon, 5 Mar 2001 14:35:47 +0000 (14:35 +0000)]
* automake.in ($in_file_name, $am_file_name, $relative_dirs):
Globals, initialized...
(&initialize_per_input): here.

23 years ago* automake.in ($am_relative_dir): Global.
Akim Demaille [Mon, 5 Mar 2001 14:33:38 +0000 (14:33 +0000)]
* automake.in ($am_relative_dir): Global.
(&initialize_per_input): Init it.
(%make_list, @make_input_list): My them from
(&scan_autoconf_files): here.
(&require_file_internal): Mying changes.

23 years ago* automake.in (%am_vars, @var_list, %def_type): Globals.
Akim Demaille [Mon, 5 Mar 2001 14:30:28 +0000 (14:30 +0000)]
* automake.in (%am_vars, @var_list, %def_type): Globals.
(&initialize_per_input): Initialize them.
(&read_main_am_file): Don't local them.
(&get_object_extension): $objext is private.
(&handle_single_transform_list): $lang is.
(&handle_ltlibraries): $libname_rx is.
(&scan_autoconf_config_files): How about actually paying attention
to your arguments, instead of working on $_? (this is no Perl
variable, it's a Perl variable followed by a question mark).
(&file_contents): $contents and $separator are private.
(&am_install_var): Declare @condvals, not $condvals.
(%make_dirs): My.

23 years ago* automake.in (&initialize_per_input): Move to the top.
Akim Demaille [Mon, 5 Mar 2001 13:26:01 +0000 (13:26 +0000)]
* automake.in (&initialize_per_input): Move to the top.
Precede with the `my' list of its variables.

23 years ago* automake.in ($am_file): Use vars.
Akim Demaille [Mon, 5 Mar 2001 13:25:22 +0000 (13:25 +0000)]
* automake.in ($am_file): Use vars.
($am_file_name, $in_file_name): Private to &generate_makefile.

23 years ago* automake.in: Preparation for `use strict': Move the
Akim Demaille [Mon, 5 Mar 2001 13:24:31 +0000 (13:24 +0000)]
* automake.in: Preparation for `use strict': Move the
initialization of the constants to the top, from...
(&initialize_global_constants): here.

23 years ago* automake.in (&handle_single_transform_list, &add_depend2): Let
Akim Demaille [Mon, 5 Mar 2001 13:23:27 +0000 (13:23 +0000)]
* automake.in (&handle_single_transform_list, &add_depend2): Let
$lang_specific_files{$lang} be a list instead of a string.

23 years agoLet's make it run ten times faster...
Akim Demaille [Mon, 5 Mar 2001 13:21:33 +0000 (13:21 +0000)]
Let's make it run ten times faster...
* automake.in (&transform): Be sure to remove the `n' with ?FOO?
transformations.
(&file_contents): Let `$command' remove the Automake commands, and
normalize the series of `n'.
Slurp the file and apply $command in a single step.
No longer apply the `@MAINTAINER_MODE_TRUE@' transformation which
is already normalized to be handled by &transform.

23 years ago * automake.in (register_language): Add entry for `-pure'.
Tom Tromey [Mon, 5 Mar 2001 07:49:42 +0000 (07:49 +0000)]
* automake.in (register_language): Add entry for `-pure'.
Added `pure=yes' entries for cxx, objc, f77, ppf77, ratfor, java.
(finish_languages): Use `-pure' field of language map.

23 years ago * tests/yaccvpath.test: No need to remove dummy files.
Tom Tromey [Sun, 4 Mar 2001 21:05:09 +0000 (21:05 +0000)]
* tests/yaccvpath.test: No need to remove dummy files.
* tests/subobj3.test: No need to remove dummy files.
* tests/pr9.test: No need to remove dummy files.
* tests/pr87.test: No need to remove dummy files.
* tests/pr19.test: No need to remove dummy files.
* tests/install2.test: No need to remove dummy files.
* tests/defs: Actually copy in install-sh, mkinstalldirs, missing,
and depcomp.

23 years ago* tests/yaccvpath.test: Add a delay to make parse.c really out
Pavel Roskin [Sat, 3 Mar 2001 07:13:04 +0000 (07:13 +0000)]
* tests/yaccvpath.test: Add a delay to make parse.c really out
of date. Detect the problem earlier, after `make distdir'. Drop
dependency on flex. Always use the `-y' flag for bison. Comment
changes.
* tests/Makefile.am: Add yaccvpath.test to XFAIL_TESTS.

23 years ago2001-03-02 Jens Krüger <jens_krueger@physik.tu-muenchen.de>
Tom Tromey [Fri, 2 Mar 2001 19:44:19 +0000 (19:44 +0000)]
2001-03-02  Jens Krüger <jens_krueger@physik.tu-muenchen.de>

* depend2.am (?!GENERIC??LIBTOOL?%LTOBJ%): Add `%' to fix typo.

23 years agoEnglisho.
Akim Demaille [Wed, 28 Feb 2001 16:16:09 +0000 (16:16 +0000)]
Englisho.

23 years agoEnglisho.
Akim Demaille [Wed, 28 Feb 2001 10:59:29 +0000 (10:59 +0000)]
Englisho.

23 years ago* automake.in (&add_depend2): Transform `GENERIC'.
Akim Demaille [Wed, 28 Feb 2001 09:53:11 +0000 (09:53 +0000)]
* automake.in (&add_depend2): Transform `GENERIC'.
Get rid of the ad hoc transformation of `@EXT@.o:' which in
addition was broken by the `@ -> %' patch.
* depend2.am: Adjust to use ?GENERIC?.

23 years ago* Makefile.am (maintainer-check): `undef $/' is OK.
Akim Demaille [Wed, 28 Feb 2001 09:51:25 +0000 (09:51 +0000)]
* Makefile.am (maintainer-check): `undef $/' is OK.

23 years ago* automake.in (&handle_configure): Fortunately, $top_reldir,
Akim Demaille [Wed, 28 Feb 2001 09:49:08 +0000 (09:49 +0000)]
* automake.in (&handle_configure): Fortunately, $top_reldir,
which definition was highly suspicious, was useless.

23 years ago* automake.in (%exec_dir_p): Move at the top so that it is visible
Akim Demaille [Tue, 27 Feb 2001 18:00:57 +0000 (18:00 +0000)]
* automake.in (%exec_dir_p): Move at the top so that it is visible
to all routines.

23 years ago* tests/yaccvpath.test: Prevent automake from looking into ..
Pavel Roskin [Tue, 27 Feb 2001 16:10:37 +0000 (16:10 +0000)]
* tests/yaccvpath.test: Prevent automake from looking into ..
and ../.. by using AC_CONFIG_AUX_DIR in configure.in.