]> granicus.if.org Git - python/commitdiff
Issue #1292: On alpha, arm, ppc, and s390 linux systems the
authorThomas Heller <theller@ctypes.org>
Fri, 2 Nov 2007 19:10:24 +0000 (19:10 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 2 Nov 2007 19:10:24 +0000 (19:10 +0000)
--with-system-ffi configure option defaults to "yes" because the
bundled libffi sources are too old.

Misc/NEWS
configure
configure.in

index 0538d94d90878100520dcb57f15c8312b185e0b4..ff209565673dbf8dd2f2b75293b3375c404ec9a8 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -274,6 +274,9 @@ Core and builtins
 Library
 -------
 
+- Issue #1292: On alpha, arm, ppc, and s390 linux systems the
+  --with-system-ffi configure option defaults to "yes".
+
 - IN module for FreeBSD 8 is added and preexisting FreeBSD 6 and 7
   files are updated.
 
index bf4d7da9f6b275b51830b657b544f2973e6c9252..6beb47d5b165bd5b6dd5bde2225cdabd69dfc317 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 58645 .
+# From configure.in Revision: 58653 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 2.6.
 #
 
 if test -z "$with_system_ffi" && test "$ac_cv_header_ffi_h" = yes; then
        case "$ac_sys_system/`uname -m`" in
+       Linux/alpha*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
        Linux/arm*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
+       Linux/ppc*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
+       Linux/s390*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
        *) with_system_ffi="no"
        esac
 fi
index eabc69ff585aea7a1030d9ec41746e5198b02571..580691221447c37483c6a7ede41ea1c523899aef 100644 (file)
@@ -1755,7 +1755,10 @@ AC_ARG_WITH(system_ffi,
 
 if test -z "$with_system_ffi" && test "$ac_cv_header_ffi_h" = yes; then
        case "$ac_sys_system/`uname -m`" in
+       Linux/alpha*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
        Linux/arm*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
+       Linux/ppc*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
+       Linux/s390*)  with_system_ffi="yes"; CONFIG_ARGS="$CONFIG_ARGS --with-system-ffi";;
        *) with_system_ffi="no"
        esac
 fi