[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: synch-up to test case, and fix my recent ansi2knr change
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: synch-up to test case, and fix my recent ansi2knr change |
Date: |
Wed, 16 Oct 2002 20:51:53 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
Two tests was void since the recent change to AM_PROG_CC_STDC,
because they relied on private variable. This hided a bug in my
recent ansi2knr change.
I've discovered this by running the test suite on branch-1-7, which
doesn't include the AM_PROG_CC_STDC change.
I'm installing the following patch on HEAD, and its automake.in chunk
on branch-1-7.
2002-10-16 Alexandre Duret-Lutz <address@hidden>
* 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 reveal 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.
2002-10-15 Alexandre Duret-Lutz <address@hidden>
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1379
diff -u -r1.1379 automake.in
--- automake.in 15 Oct 2002 08:38:54 -0000 1.1379
+++ automake.in 16 Oct 2002 18:44:37 -0000
@@ -2452,6 +2452,8 @@
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 "
Index: tests/ansi6.test
===================================================================
RCS file: /cvs/automake/automake/tests/ansi6.test,v
retrieving revision 1.2
diff -u -r1.2 ansi6.test
--- tests/ansi6.test 8 Sep 2002 13:07:55 -0000 1.2
+++ tests/ansi6.test 16 Oct 2002 18:44:39 -0000
@@ -69,5 +69,8 @@
$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
Index: tests/ansi7.test
===================================================================
RCS file: /cvs/automake/automake/tests/ansi7.test,v
retrieving revision 1.2
diff -u -r1.2 ansi7.test
--- tests/ansi7.test 8 Sep 2002 13:07:55 -0000 1.2
+++ tests/ansi7.test 16 Oct 2002 18:44:39 -0000
@@ -70,5 +70,8 @@
$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
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: synch-up to test case, and fix my recent ansi2knr change,
Alexandre Duret-Lutz <=