mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
Merged revisions 72081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72081 | thomas.heller | 2009-04-28 21:23:41 +0200 (Di, 28 Apr 2009) | 3 lines Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips instead of mipsel) ........
This commit is contained in:
parent
8e8099c491
commit
c1edc2d632
3 changed files with 8 additions and 6 deletions
|
@ -92,6 +92,8 @@ Installation
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #4305: ctypes should now build again on mipsel-linux-gnu
|
||||||
|
|
||||||
- Issue #1734234: Massively speedup ``unicodedata.normalize()`` when the
|
- Issue #1734234: Massively speedup ``unicodedata.normalize()`` when the
|
||||||
string is already in normalized form, by performing a quick check beforehand.
|
string is already in normalized form, by performing a quick check beforehand.
|
||||||
Original patch by Rauli Ruohonen.
|
Original patch by Rauli Ruohonen.
|
||||||
|
|
6
Modules/_ctypes/libffi/configure
vendored
6
Modules/_ctypes/libffi/configure
vendored
|
@ -20426,10 +20426,10 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS_IRIX; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
mips*-*-linux*)
|
mips*-*-linux*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS_LINUX; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
|
|
||||||
powerpc*-*-linux* | powerpc-*-sysv*)
|
powerpc*-*-linux* | powerpc-*-sysv*)
|
||||||
|
@ -20484,7 +20484,7 @@ echo "$as_me: error: \"libffi has not been ported to $host.\"" >&2;}
|
||||||
{ (exit 1); exit 1; }; }
|
{ (exit 1); exit 1; }; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$TARGET = xMIPS; then
|
if expr x$TARGET : 'xMIPS' > /dev/null; then
|
||||||
MIPS_TRUE=
|
MIPS_TRUE=
|
||||||
MIPS_FALSE='#'
|
MIPS_FALSE='#'
|
||||||
else
|
else
|
||||||
|
|
|
@ -106,10 +106,10 @@ case "$host" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
mips-sgi-irix5.* | mips-sgi-irix6.*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS_IRIX; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
mips*-*-linux*)
|
mips*-*-linux*)
|
||||||
TARGET=MIPS; TARGETDIR=mips
|
TARGET=MIPS_LINUX; TARGETDIR=mips
|
||||||
;;
|
;;
|
||||||
|
|
||||||
powerpc*-*-linux* | powerpc-*-sysv*)
|
powerpc*-*-linux* | powerpc-*-sysv*)
|
||||||
|
@ -162,7 +162,7 @@ if test $TARGETDIR = unknown; then
|
||||||
AC_MSG_ERROR(["libffi has not been ported to $host."])
|
AC_MSG_ERROR(["libffi has not been ported to $host."])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL(MIPS, test x$TARGET = xMIPS)
|
AM_CONDITIONAL(MIPS,[expr x$TARGET : 'xMIPS' > /dev/null])
|
||||||
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
|
AM_CONDITIONAL(SPARC, test x$TARGET = xSPARC)
|
||||||
AM_CONDITIONAL(X86, test x$TARGET = xX86)
|
AM_CONDITIONAL(X86, test x$TARGET = xX86)
|
||||||
AM_CONDITIONAL(X86_FREEBSD, test x$TARGET = xX86_FREEBSD)
|
AM_CONDITIONAL(X86_FREEBSD, test x$TARGET = xX86_FREEBSD)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue