]> granicus.if.org Git - python/commitdiff
- #22980: fix triplet configure test for more targets
authordoko@ubuntu.com <doko@ubuntu.com>
Sun, 19 Apr 2015 12:44:05 +0000 (14:44 +0200)
committerdoko@ubuntu.com <doko@ubuntu.com>
Sun, 19 Apr 2015 12:44:05 +0000 (14:44 +0200)
configure
configure.ac

index 2e59ac8da57d417196b67d90db1abca2437992a2..d5181f06939bc35f2e918d25be09a0c6f72f120e 100755 (executable)
--- a/configure
+++ b/configure
@@ -5069,9 +5069,16 @@ MULTIARCH=$($CC --print-multiarch 2>/dev/null)
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the platform triplet based on compiler characteristics" >&5
 $as_echo_n "checking for the platform triplet based on compiler characteristics... " >&6; }
 cat >> conftest.c <<EOF
+#undef bfin
+#undef cris
+#undef fr30
 #undef linux
+#undef hppa
+#undef hpux
 #undef i386
+#undef mips
 #undef powerpc
+#undef sparc
 #undef unix
 #if defined(__linux__)
 # if defined(__x86_64__) && defined(__LP64__)
index 73a0a2f2aeefb8b5122e70b70fc0cd71fcba7925..9b12dbfd1a74439bbb0baa2f3a34d23d0fe4fad2 100644 (file)
@@ -728,9 +728,16 @@ AC_SUBST(MULTIARCH)
 
 AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
 cat >> conftest.c <<EOF
+#undef bfin
+#undef cris
+#undef fr30
 #undef linux
+#undef hppa
+#undef hpux
 #undef i386
+#undef mips
 #undef powerpc
+#undef sparc
 #undef unix
 #if defined(__linux__)
 # if defined(__x86_64__) && defined(__LP64__)