]> sourceware.org Git - automake.git/log
automake.git
23 years ago* automake.in (&read_am_file, &file_contents_internal): Don't
Akim Demaille [Fri, 27 Apr 2001 13:31:25 +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%'.

23 years ago* automake.in (handle_compile): Let ansi2knr.am define $(ANSI2KNR).
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%'.

23 years agoAutomake/Makefile.in, Automake/.cvsignore: New.
Akim Demaille [Fri, 27 Apr 2001 13:28:03 +0000 (13:28 +0000)]
Automake/Makefile.in, Automake/.cvsignore: New.

23 years ago* automake.in (&register_language, &finish_languages): Use `pure'
Akim Demaille [Fri, 27 Apr 2001 13:20:35 +0000 (13:20 +0000)]
* automake.in (&register_language, &finish_languages): Use `pure'
as a Boolean.
(&register_language): Use %done properly with objects, not names.
(&finish_languages): Replace `$non_c' with `$needs_c'.

23 years agoUnify LISP, PYTHON and JAVA primaries.
Akim Demaille [Fri, 27 Apr 2001 13:16:59 +0000 (13:16 +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.

23 years ago* automake.in (&am_install_var): Transform `ONE_PRIMARY'.
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.

23 years ago* automake.in (&am_install_var): Transform `PRIMARY'.
Akim Demaille [Fri, 27 Apr 2001 13:00:43 +0000 (13:00 +0000)]
* automake.in (&am_install_var): Transform `PRIMARY'.
* data.am: Equip with %PRIMARY%.

23 years ago* automake.in (@conditional_stack): Rename as...
Akim Demaille [Fri, 27 Apr 2001 12:58:03 +0000 (12:58 +0000)]
* automake.in (@conditional_stack): Rename as...
(@cond_stack): this.
(&file_contents_internal): Support inclusion of files.

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

23 years ago* automake.in (&finish_languages, &handle_single_transform_list)
Akim Demaille [Fri, 27 Apr 2001 12:48:45 +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'.

23 years ago* automake.in (&register_language): Use `new Language' with a hash.
Akim Demaille [Fri, 27 Apr 2001 11:14:10 +0000 (11:14 +0000)]
* automake.in (&register_language): Use `new Language' with a hash.

23 years ago* automake.in (&register_language): Rename `output-arg' and
Akim Demaille [Fri, 27 Apr 2001 10:58:01 +0000 (10:58 +0000)]
* automake.in (&register_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.

23 years ago* Automake/: New directory.
Akim Demaille [Fri, 27 Apr 2001 10:45:13 +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.

23 years agoRebuilt.
Pavel Roskin [Tue, 24 Apr 2001 18:04:18 +0000 (18:04 +0000)]
Rebuilt.

23 years ago* automake.in: Add forward declaration for register_language().
Pavel Roskin [Tue, 24 Apr 2001 18:00:13 +0000 (18:00 +0000)]
* automake.in: Add forward declaration for register_language().
* tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
passes now.

23 years ago* automake.in: Add a forward declaration for register_language().
Pavel Roskin [Tue, 24 Apr 2001 17:57:08 +0000 (17:57 +0000)]
* automake.in: Add a forward declaration for register_language().
* tests/Makefile.am (XFAIL_TESTS): Remove installsh.test - it
passes now.

23 years agoRegenerate.
Akim Demaille [Tue, 24 Apr 2001 09:44:16 +0000 (09:44 +0000)]
Regenerate.

23 years ago* automake.in (%required_targets): Add `uninstall'.
Akim Demaille [Mon, 23 Apr 2001 17:10:21 +0000 (17:10 +0000)]
* automake.in (%required_targets): Add `uninstall'.
From Robert Collins.

23 years agoXFAIL: installsh.test.
Akim Demaille [Thu, 12 Apr 2001 16:51:10 +0000 (16:51 +0000)]
XFAIL: installsh.test.

23 years ago* automake.in (Language): Add attribute `name'.
Akim Demaille [Thu, 12 Apr 2001 16:38:04 +0000 (16:38 +0000)]
* automake.in (Language): Add attribute `name'.
(&register_language): The name of the language is now given in the
hash.
No longer use `$lang' as the name of the language.
Rename `$lang_obj' as `$lang'.

23 years ago* automake.in (Language): Add attribute `_finish'.
Akim Demaille [Thu, 12 Apr 2001 16:33:52 +0000 (16:33 +0000)]
* automake.in (Language): Add attribute `_finish'.
(&finish): New.
(Automake): Adjust.
(&lang_header_finish, &lang_yaccxx_finish, &lang_lexxx_finish)
(&lang_asm_finish): Remove.

23 years ago* automake.in (Language): Add attribute `extensions'.
Akim Demaille [Thu, 12 Apr 2001 16:31:54 +0000 (16:31 +0000)]
* automake.in (Language): Add attribute `extensions'.
(Automake): Pass a hash to `&register_language' instead of a
list of pseudo assignments.
(&register_language): Adjust.
(&finish_languages): Initialize `$ltoutarg'.

23 years ago* automake.in (Language): Add attribute `output_arg'.
Akim Demaille [Thu, 12 Apr 2001 16:28:05 +0000 (16:28 +0000)]
* automake.in (Language): Add attribute `output_arg'.
(%language_map): Remove.
(&register_language): Build only the object, and store in
%languages only.
(&finish_languages, &handle_single_transform_list): Adjust.

23 years ago* automake.in (Language): Add attributes `flags', `compile' and
Akim Demaille [Thu, 12 Apr 2001 16:13:49 +0000 (16:13 +0000)]
* automake.in (Language): Add attributes `flags', `compile' and
`compiler'.
(&finish_languages, &handle_single_transform_list, &handle_dist)
(&add_depend2, &register_language): Use them and the `linker' and
`pure' attributes.

23 years ago* automake.in (&handle_single_transform_list, &finish_languages)
Akim Demaille [Thu, 12 Apr 2001 16:09:12 +0000 (16:09 +0000)]
* automake.in (&handle_single_transform_list, &finish_languages)
(&handle_dist, &handle_dependencies): Use the language object for
autodep and derived-autodep too.

23 years ago* automake.in (&macro_define): Ignore Automake definition for
Akim Demaille [Thu, 12 Apr 2001 15:44:55 +0000 (15:44 +0000)]
* automake.in (&macro_define): Ignore Automake definition for
($var, $cond) if there is already a user definition for ($var, $cond).

23 years ago* automake.in (&scan_texinfo_file): Catch @cindex and the like,
Akim Demaille [Thu, 12 Apr 2001 14:12:05 +0000 (14:12 +0000)]
* automake.in (&scan_texinfo_file): Catch @cindex and the like,
but also @deffn and so on which push data in indexes.
Reported by Derek R. Price.

23 years ago* automake.in (Language): New package, temporarily in this file.
Akim Demaille [Thu, 12 Apr 2001 09:13:45 +0000 (09:13 +0000)]
* automake.in (Language): New package, temporarily in this file.
Use Class::Struct.
(Automake): New package.
(%languages): New.
(&handle_single_transform_list): Use the language object's `ansi'
attribute instead of `$language_map{"$lang-ansi-p"}'.
(&register_language): Build and register the language too.

23 years ago Fixes report from Larry Jones:
Tom Tromey [Thu, 12 Apr 2001 05:45:22 +0000 (05:45 +0000)]
Fixes report from Larry Jones:
* automake.in (handle_dependencies): Add `@_am_quote@' where
appropriate.
* m4/make.m4 (AM_MAKE_INCLUDE): Handle BSD-style make.

23 years ago* depend2.am: Fix the `if' condition for Libtool.
Akim Demaille [Wed, 11 Apr 2001 17:29:05 +0000 (17:29 +0000)]
* depend2.am: Fix the `if' condition for Libtool.
Reported by Robert Boehne.

23 years ago2001-04-10 Robert Collins <robert.collins@itdomain.com.au>
Tom Tromey [Wed, 11 Apr 2001 05:43:56 +0000 (05:43 +0000)]
2001-04-10  Robert Collins  <robert.collins@itdomain.com.au>

* tests/subobj5.test: New file.

23 years ago2001-04-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Tom Tromey [Wed, 11 Apr 2001 04:17:21 +0000 (04:17 +0000)]
2001-04-10  Ralf Corsepius  <corsepiu@faw.uni-ulm.de>

* m4/make.m4 (AM_MAKE_INCLUDE): Pass `-s' to make.
* tests/Makefile.am (TESTS): Added make.test.
* tests/make.test: New file.

23 years ago * tests/defs: Changed how ACLOCAL and AUTOMAKE are set.
Tom Tromey [Wed, 11 Apr 2001 04:13:07 +0000 (04:13 +0000)]
* tests/defs: Changed how ACLOCAL and AUTOMAKE are set.

23 years ago2001-04-10 Derek R. Price <dprice@collab.net>
Tom Tromey [Tue, 10 Apr 2001 20:47:20 +0000 (20:47 +0000)]
2001-04-10  Derek R. Price  <dprice@collab.net>

* tests/defs: Allow user to override AUTOMAKE and ACLOCAL.

23 years ago* distdir.am: Add a missing backslash.
Akim Demaille [Tue, 10 Apr 2001 12:41:04 +0000 (12:41 +0000)]
* distdir.am: Add a missing backslash.

23 years ago* automake.in (&scan_aclocal_m4): Handle $relative_dir and special
Akim Demaille [Tue, 10 Apr 2001 09:20:59 +0000 (09:20 +0000)]
* automake.in (&scan_aclocal_m4): Handle $relative_dir and special
variables.
Specify to the caller whether $regen_aclocal_m4.
(&handle_configure): Adjust.
Transform `REGEN-ACLOCAL-M4'.
* configure.am: Use it.
* tests/defs (me): New.
* tests/configdeps.test: New.

23 years ago * m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
Tom Tromey [Mon, 9 Apr 2001 23:21:13 +0000 (23:21 +0000)]
* m4/missing.m4 (AM_MISSING_HAS_RUN): Use `true', not `:'.
Fixes report from Jim Meyering.

23 years agoXFAIL: objc, subobj2.
Akim Demaille [Mon, 9 Apr 2001 18:25:39 +0000 (18:25 +0000)]
XFAIL: objc, subobj2.

23 years ago* automake.in (&handle_configure): Don't bother with optimizing
Akim Demaille [Mon, 9 Apr 2001 16:12:10 +0000 (16:12 +0000)]
* automake.in (&handle_configure): Don't bother with optimizing
macro uses.

23 years ago* tests/cond3.test (expected): Adjust.
Akim Demaille [Mon, 9 Apr 2001 16:02:37 +0000 (16:02 +0000)]
* tests/cond3.test (expected): Adjust.

23 years ago* automake.in (&handle_single_transform_list): Remove $xbase,
Akim Demaille [Mon, 9 Apr 2001 15:02:07 +0000 (15:02 +0000)]
* automake.in (&handle_single_transform_list): Remove $xbase,
unused.
(&handle_source_transform): All the variables have conditions now,
simplify.
(&variable_delete): Admit an argument @conds.

23 years ago* automake.in ($source_suffix_pattern): Remove, unused.
Akim Demaille [Mon, 9 Apr 2001 14:58:00 +0000 (14:58 +0000)]
* automake.in ($source_suffix_pattern): Remove, unused.
%extension_map seems to have replaced it.

23 years ago* ext-compile.am: New file.
Akim Demaille [Mon, 9 Apr 2001 14:56:27 +0000 (14:56 +0000)]
* ext-compile.am: New file.
* automake.in (&finish_languages): Output it.
Require a C linker if there are several registered source suffixes.
(&handle_compile): No longer push the `.c', `.o', `.obj', `.lo'
extensions, which are discovered in ext-compile.am.
With the help from Robert Boehne.

23 years ago* automake.in (&handle_compile): Extract from...
Akim Demaille [Mon, 9 Apr 2001 14:53:43 +0000 (14:53 +0000)]
* automake.in (&handle_compile): Extract from...
(&get_object_extension): here.
(&read_am_file): Call it.
($included_generic_compile, $included_knr_compile)
($included_libtool_compile): Remove.
($get_object_extension_was_run): New.

23 years agoUse AM_CONDITIONAL and if/endif for AMDEP.
Akim Demaille [Mon, 9 Apr 2001 14:50:46 +0000 (14:50 +0000)]
Use AM_CONDITIONAL and if/endif for AMDEP.
* m4/depend.m4 (AM_DEP_TRACK): Use AM_CONDITIONAL to define AMDEP.
* automake.in (&add_depend2): Transform %AMDEP% into `AMDEP' (leading
to a configure time if/endif), or to `FALSE' (static removal of
the code).
(&handle_dependencies): Adjust to use `AMDEP_TRUE'.
* depend2.am: Use if/endif.
Adjust the 101 tests that use dependencies so that they
properly invoke aclocal before automake.  They need to `see'
`AM_CONDITIONAL([AMDEP], ...)'.

23 years ago* tags.am: Fix missing leading tabs.
Akim Demaille [Mon, 9 Apr 2001 14:48:33 +0000 (14:48 +0000)]
* tags.am: Fix missing leading tabs.

23 years ago* automake.in: Use simple quotes to define the _PATTERN variables
Akim Demaille [Mon, 9 Apr 2001 14:47:45 +0000 (14:47 +0000)]
* automake.in: Use simple quotes to define the _PATTERN variables
to unobfuscate the regexps.
($AM_CONDITIONAL_PATTERN): Let the user quote the variable.

23 years ago* automake.in (&rule_define): When you discover a suffix rules,
Akim Demaille [Mon, 9 Apr 2001 14:46:41 +0000 (14:46 +0000)]
* automake.in (&rule_define): When you discover a suffix rules,
register the extensions for .SUFFIXES.
(&handle_texinfo): Don't register the suffixes.
(&get_object_extension): Don't register suffixes, let them be
discovered in depend2.am.
(&handle_emacs_lisp): Depend on your lisp.am.
* lisp.am: Include the rule &handle_emacs_lisp used to output.

23 years ago* subdirs.am: Don't define info related recursive targets.
Akim Demaille [Mon, 9 Apr 2001 14:44:03 +0000 (14:44 +0000)]
* subdirs.am: Don't define info related recursive targets.
* texinfos.am: Do.

23 years ago* subdirs.am (RECURSIVE_TARGETS): New variable.
Akim Demaille [Mon, 9 Apr 2001 14:40:09 +0000 (14:40 +0000)]
* subdirs.am (RECURSIVE_TARGETS): New variable.
Use it.
* automake.in (&handle_subdirs): Output it.
(&file_contents_internal): Support value spread on several lines.

23 years ago* automake.in (&handle_man_pages): Rely on mans.am to define
Akim Demaille [Mon, 9 Apr 2001 14:38:31 +0000 (14:38 +0000)]
* automake.in (&handle_man_pages): Rely on mans.am to define
man%SECTION%dir and MANS.
* mans.am: Do it.

23 years ago* automake.in (&variable_dump): Use %var_type properly.
Akim Demaille [Mon, 9 Apr 2001 14:34:37 +0000 (14:34 +0000)]
* automake.in (&variable_dump): Use %var_type properly.
(&macro_define): Enforce better overriding rules.
Handle the special case that used to handle...
(&define_pretty_variable): this.
Hence, don't.
The variables you define are owned by Automake.
(&generate_makefile): PRE_INSTALL and co must not be defined *by
the user*.
(&variable_defined): Now independent from the owner.
(&variable_output, &variable_pretty_output): Adjust to %var_type.

23 years ago* automake.in (%var_was_plus_eq): Rename as...
Akim Demaille [Mon, 9 Apr 2001 14:30:21 +0000 (14:30 +0000)]
* automake.in (%var_was_plus_eq): Rename as...
(%var_type): this.
(%def_type): Remove.
(&macro_define): %var_type may now hold `', `+', or `:'.
(%conditional, %am_vars, %content_lines): Rename as...
(%var_value, %var_comment, %var_line): these.

23 years ago* automake.in (&variable_output): Admit a list of @CONDS.
Akim Demaille [Mon, 9 Apr 2001 14:28:08 +0000 (14:28 +0000)]
* automake.in (&variable_output): Admit a list of @CONDS.
(&variable_pretty_output): New.
(&define_pretty_variable): Use it.
(&read_am_file, &file_contents_internal): Prepend a separator to
$am_vars only if there is none yet.
(&file_contents_internal): Rename $separator as $spacing to
harmonize with &read_am_file.

23 years ago* automake.in (&am_install_var): Transform DIST, and let the *.am
Akim Demaille [Mon, 9 Apr 2001 14:23:07 +0000 (14:23 +0000)]
* automake.in (&am_install_var): Transform DIST, and let the *.am
files handle DIST_COMMON.
* data.am, header.am, java.am, list.am, python.am, script.am: Set
DIST_COMMON.

23 years ago* automake.in (%dist_common): Remove.
Akim Demaille [Mon, 9 Apr 2001 14:06:37 +0000 (14:06 +0000)]
* automake.in (%dist_common): Remove.
(%configure_dist_common): Replace with...
($configure_dist_common): this.
(&generate_makefile): Read the user file before using
push_dist_common, as it sets DIST_COMMON, and read_am_file checks
that no variable is defined before it is run.
(&handle_texinfo): Don't handle DIST_COMMON, let your file do it.
(&dist_cmp): Rename as...
(&for_dist_common): this.
(&handle_dist): Don't handle DIST_COMMON, let `configure.am' do
it.
Adjust to $configure_dist_common.
* configure.am, texi-vers.am: Set DIST_COMMON.

23 years ago* automake.in (&handle_aclocal_m4): Rename as...
Akim Demaille [Mon, 9 Apr 2001 14:05:08 +0000 (14:05 +0000)]
* automake.in (&handle_aclocal_m4): Rename as...
(&scan_aclocal_m4): this.
Return the list of aclocal.m4 dependencies.
(&handle_configure): Invoke it, and use it when loading...
* configure.am: Template the rules to recreate aclocal.m4.

23 years agoMore cvsignore.
Akim Demaille [Mon, 9 Apr 2001 10:36:46 +0000 (10:36 +0000)]
More cvsignore.

23 years agoMore cvsignore.
Akim Demaille [Mon, 9 Apr 2001 10:36:44 +0000 (10:36 +0000)]
More cvsignore.

23 years agoRemove.
Akim Demaille [Mon, 9 Apr 2001 10:34:43 +0000 (10:34 +0000)]
Remove.

23 years ago* automake.in (&get_object_extension): Use ansi2knr.am.
Akim Demaille [Mon, 9 Apr 2001 10:31:03 +0000 (10:31 +0000)]
* automake.in (&get_object_extension): Use ansi2knr.am.
* clean-kr.am, kr-extra.am: Remove, merged into...
* ansi2knr.am: this new file.

23 years ago* automake.in (&transform): Fix an incredible bug which was
Akim Demaille [Mon, 9 Apr 2001 10:07:16 +0000 (10:07 +0000)]
* automake.in (&transform): Fix an incredible bug which was
breaking the if/endif system.
($ELSE_PATTERN): Admit an optional argument.

23 years ago* comp-vars.am: Remove, merged into...
Akim Demaille [Mon, 9 Apr 2001 10:06:37 +0000 (10:06 +0000)]
* comp-vars.am: Remove, merged into...
* compile.am: here.
* automake.in (&get_object_extension): Adjust.

23 years ago* remake.am: Merge into...
Akim Demaille [Mon, 9 Apr 2001 10:02:39 +0000 (10:02 +0000)]
* remake.am: Merge into...
* configure.am: ... here.
* automake.in (&handle_configure): Adjust.

23 years ago* automake.in (&output_lex_build_rule): Output this...
Akim Demaille [Mon, 9 Apr 2001 10:00:49 +0000 (10:00 +0000)]
* automake.in (&output_lex_build_rule): Output this...
* lex.am: New file.

23 years ago* automake.in (&condition_negate): New.
Akim Demaille [Mon, 9 Apr 2001 09:58:56 +0000 (09:58 +0000)]
* automake.in (&condition_negate): New.
(&variable_conditions_permutations): Use it.
(&read_am_file, &file_contents): Use it on `else' clauses to
support `if FALSE'.
(&output_yacc_build_rule): Output this...
* yacc.am: New file.

23 years ago* automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
Akim Demaille [Mon, 9 Apr 2001 09:55:12 +0000 (09:55 +0000)]
* automake.in (&make_paragraphs): Transform TOPDIR_P and TOPDIR.
(&handle_dist): Don't.
(&handle_clean): Don't handle config.status here, let...
* clean.am: ... do it.
* distdir.am: Adjust.

23 years ago* automake.in: Use strict vars and subs.
Akim Demaille [Mon, 9 Apr 2001 09:54:13 +0000 (09:54 +0000)]
* automake.in: Use strict vars and subs.
Declare `%require_file_found'.
(&handle_source_transform, &make_paragraphs): Declare my variables.

23 years ago* data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
Akim Demaille [Mon, 9 Apr 2001 09:50:33 +0000 (09:50 +0000)]
* data.am, header.am, java.am, libs.am, lisp.am, ltlib.am,
* progs.am, python.am: Use if/endif instead of ?INSTALL?.
* java.am (_am_installdirs): Be sure to set it.

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:17 +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:53 +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:01 +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:55 +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:00 +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:48 +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:48 +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:45 +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:44 +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:09 +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:36 +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:57 +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:49 +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:46 +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:20 +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:04 +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:04 +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:43 +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.

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