2002-10-16 Alexandre Duret-Lutz <adl@gnu.org>
+ * tests/ansi6.test, tests/ansi7.test: Set ac_cv_prog_cc_stdc instead
+ of am_cv_prog_cc_stdc. This follows Akim's patch of 2002-10-09,
+ and reveals a bug in my patch of 2002-10-15.
+ * automake.in (handle_single_transform_list): Strip directory name
+ from $full_ansi if subdir-objects is not set.
+
* lib/texinfo.tex: New version from Texinfo 4.2b.
2002-10-15 Alexandre Duret-Lutz <adl@gnu.org>
my $directory = $1 || '';
my $base = $2;
my $extension = $3;
- my $full_ansi = $full; # We'll add `$U' if needed.
+ my $full_ansi = $full; # We'll insert `$U' if needed.
# We must generate a rule for the object if it requires its own flags.
my $renamed = 0;
if ($lang->ansi && defined $options{'ansi2knr'})
{
$full_ansi =~ s/$KNOWN_EXTENSIONS_PATTERN$/\$U$&/;
+ $full_ansi = basename $full_ansi
+ unless defined $options{'subdir-objects'};
}
my $val = ("$full_ansi $obj_sans_ext "
$AUTOCONF
$AUTOMAKE -a
-./configure am_cv_prog_cc_stdc=no
+# Sanity check: make sure it's ok to set ac_cv_prog_cc_stdc as we do.
+grep ac_cv_prog_cc_stdc configure
+
+./configure ac_cv_prog_cc_stdc=no
$MAKE
$AUTOCONF
$AUTOMAKE -a
-./configure am_cv_prog_cc_stdc=no
+# Sanity check: make sure it's ok to set ac_cv_prog_cc_stdc as we do.
+grep ac_cv_prog_cc_stdc configure
+
+./configure ac_cv_prog_cc_stdc=no
$MAKE