From: Matthias Klose Date: Tue, 4 Sep 2007 20:46:02 +0000 (+0000) Subject: - Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*. X-Git-Tag: v2.6a1~1346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38336406ebdbe5d524f29483b3c2c3d47d1d76af;p=python - Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*. --- diff --git a/Misc/NEWS b/Misc/NEWS index 6cfd4fd171..7a8b35a6db 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -852,6 +852,8 @@ Extension Modules - Fix an off-by-one bug in locale.strxfrm(). +- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*. + Tests ----- diff --git a/Modules/_ctypes/libffi/configure b/Modules/_ctypes/libffi/configure index f65669eb98..bc7e4746a4 100755 --- a/Modules/_ctypes/libffi/configure +++ b/Modules/_ctypes/libffi/configure @@ -3533,7 +3533,7 @@ x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TAR sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; sh-*-rtems*) TARGET=SH; TARGETDIR=sh;; sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;; -hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;; +hppa*-*-linux* | parisc*-*-linux*) TARGET=PA; TARGETDIR=pa;; esac if test $TARGETDIR = unknown; then diff --git a/Modules/_ctypes/libffi/configure.ac b/Modules/_ctypes/libffi/configure.ac index 8870fcb0ea..10b04dc377 100644 --- a/Modules/_ctypes/libffi/configure.ac +++ b/Modules/_ctypes/libffi/configure.ac @@ -71,7 +71,7 @@ x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TAR sh-*-linux* | sh[[34]]*-*-linux*) TARGET=SH; TARGETDIR=sh;; sh-*-rtems*) TARGET=SH; TARGETDIR=sh;; sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;; -hppa-*-linux* | parisc-*-linux*) TARGET=PA; TARGETDIR=pa;; +hppa*-*-linux* | parisc*-*-linux*) TARGET=PA; TARGETDIR=pa;; esac if test $TARGETDIR = unknown; then