+Tue Sep 29 00:10:22 1998 Tom Tromey <tromey@cygnus.com>
+
+ Fixes for recurs2.test. Report from Jim Meyering.
+ * automake.in (vars_scanned): Define globally.
+ (variable_value_as_list_worker): Delete $var entry in
+ %vars_scanned after local work is done.
+
1998-05-26 Marcus G. Daniels <mgd@ute.santafe.edu>
* automake.in: New pattern: INCLUDE_PATTERN.
It should also have AM_FOOFLAGS, which can be set in Makefile.am.
DONE: but needs to be documented
-* Should have a --copy like libtoolize
- Should be able to update files that would be installed with -a
+* Should be able to update files that would be installed with -a
+ (--force?)
* "make diff" capability
look at gcc's Makefile.in to see what to do
* consider adding pkglibexecdir, maybe others?
requests for pkg-dirs with version included
-Further:
-- man page fixes
-
Avoid loops when installing; instead unroll them in automake
* for new autoconf:
Some long-term projects:
* if $(FOO) is used somewhere, ensure FOO is defined, either by
user or by automake if possible
-* Don't rearrange order of `include' lines relative to += assignments.
-* Handle += assignments at all.
-* Handle `include' lines by scanning other files, and adding
- to Makefile.in dependency
+
+* Handle += assignments
+X Handle `include' lines by scanning other files, and adding
+ to Makefile.in dependency [ this is done, but needs += to be really
+ useful ]
+ even better would be allowing targets in different included
+ fragments to be merged. e.g., `install-local'.
consider putting all check-* targets onto @check?
To support --help/--version checking?
* standards no longer prohibit ANSI C. What does this imply
for the de-ansi-fication feature?
-consider supporting "var+= stuff" syntax. rewrite to just var=... on
-output. This is sometimes convenient when you want to write a
-Makefile.am in more-or-less modular parts
-
should be able to determine what is built by looking at rules (and
configure.in). Then built man pages (eg) could automatically be
omitted from the distribution.
# values are meaningless.
%configure_vars = ();
+# This is used to keep track of which variable definitions we are
+# scanning. It is only used in certain limited ways, but it has to be
+# global. It is declared just for documentation purposes.
+%vars_scanned = ();
+
# Charsets used by maintainer and in distribution. MAINT_CHARSET is
# handled in a funny way: if seen in the top-level Makefile.am, it is
# used for every directory which does not specify a different value.
}
}
+ # Unset our entry in vars_scanned. We only care about recursive
+ # definitions.
+ delete $vars_scanned{$var};
+
return &variable_conditions_permutations (keys %allconds);
}
}
}
+ # Unset our entry in vars_scanned. We only care about recursive
+ # definitions.
+ delete $vars_scanned{$var};
+
return @new_conds
if ! $parent;
push (@result, &value_to_list ($var, $contents{$var}, $cond));
}
+ # Unset our entry in vars_scanned. We only care about recursive
+ # definitions.
+ delete $vars_scanned{$var};
+
return @result;
}