variable $(AM_MAKEFLAGS) has been removed, and its content is no more
passed to recursive make invocations.
+* The make variable 'CONFIG_HEADER' had never been documented in mainline
+ Automake, and since when the support for user setting of it has been
+ removed (in favour of the use of the 'AC_CONFIG_HEADERS' autoconf macro
+ in configure.ac), it has been intended as an internal variable only.
+ So we've renamed it to 'AM_CONFIG_HEADERS'. Do not override its value
+ in your Makefiles!
-----
{
my @incs = ('-I.', subst ('am__isrc'));
- my $var = var 'CONFIG_HEADER';
+ my $var = var 'AM_CONFIG_HEADERS';
if ($var)
{
foreach my $hdr (split (' ', $var->variable_value))
# We want '-I. -I$(srcdir)', but the latter -I is redundant
# and unaesthetic in non-VPATH builds. We use `-I.@am__isrc@`
# instead. It will be replaced by '-I.' or '-I. -I$(srcdir)'.
- # Items in CONFIG_HEADER are never in $(srcdir) so it is safe
- # to just put @am__isrc@ right after '-I.', without a space.
+ # Items in AM_CONFIG_HEADERS are never in $(srcdir) so it
+ # is safe to just put @am__isrc@ right after '-I.', without a
+ # space.
($default_includes = ' ' . uniq (@incs)) =~ s/ @/@/;
}
FILES => "@distclean_config")
if @distclean_config;
- reject_var ('CONFIG_HEADER',
- "'CONFIG_HEADER' is an anachronism; now determined "
- . "automatically\nfrom '$configure_ac'");
-
my @config_h;
foreach my $spec (@config_headers)
{
my ($out, @ins) = split_config_file_spec ($spec);
- # Generate CONFIG_HEADER define.
if ($relative_dir eq dirname ($out))
{
push @config_h, basename ($out);
push @config_h, "\$(top_builddir)/$out";
}
}
- define_variable ("CONFIG_HEADER", "@config_h", INTERNAL)
+ define_variable ("AM_CONFIG_HEADERS", "@config_h", INTERNAL)
if @config_h;
# Now look for other files in this directory which must be remade
## along with this program. If not, see <http://www.gnu.org/licenses/>.
%CONFIG_H%: %STAMP%
-## Recover from removal of CONFIG_HEADER. Break up in two invocations
+## Recover from removal of config headers. Break up in two invocations
## so that "make -n" is properly honored.
@test -f $@ || rm -f %STAMP%
@test -f $@ || $(MAKE) %STAMP%
modern.am__TEST_BASES = am__test_bases
modern.am__TEST_LOGS = am__test_logs
modern.am__TEST_RESULTS = am__test_results
+modern.CONFIG_HEADER = AM_CONFIG_HEADERS
-sc_renamed_variables_rules = \
+Sc_renamed_variables_rules = \
$(patsubst modern.%,sc_no_%,$(filter modern.%,$(.VARIABLES)))
$(sc_renamed_variables_rules): sc_no_% :