[Python-checkins] cpython: - #22980: fix triplet configure test for more targets

matthias.klose python-checkins at python.org
Sun Apr 19 14:44:11 CEST 2015


https://hg.python.org/cpython/rev/558335559383
changeset:   95712:558335559383
user:        doko at ubuntu.com
date:        Sun Apr 19 14:44:05 2015 +0200
summary:
   - #22980: fix triplet configure test for more targets

files:
  configure    |  7 +++++++
  configure.ac |  7 +++++++
  2 files changed, 14 insertions(+), 0 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5069,9 +5069,16 @@
 { $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__)
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -728,9 +728,16 @@
 
 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__)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list