From d07950f774e03503146b299817941566453309bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Mon, 29 Aug 2011 21:48:31 +0200 Subject: [PATCH] Autodetect PowerPC vs. PowerPC64. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the same code as for x86_64. This is necessary because uname returns PPC64 if the hardware is 64 bit, however the userland can still be fully 32 bit. In that case FFmpeg fails to compile because some macros in the asm code are set up incorrectly. For details see https://bugs.gentoo.org/show_bug.cgi?id=341235 Signed-off-by: Reimar Döffinger --- configure | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 6aa194c37f..0752d73302 100755 --- a/configure +++ b/configure @@ -2188,13 +2188,9 @@ case "$arch" in arch="parisc" subarch="parisc64" ;; - "Power Macintosh"|ppc|powerpc) + "Power Macintosh"|ppc|powerpc|ppc64|powerpc64) arch="ppc" ;; - ppc64|powerpc64) - arch="ppc" - subarch="ppc64" - ;; s390|s390x) arch="s390" ;; @@ -2392,6 +2388,11 @@ EOF spic=$shared fi ;; + ppc) + check_cc <