From e36ec56897903031273ce381738f72140840ed66 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 6 Mar 2008 21:57:50 +0000 Subject: Fix compilation on non-x86 achitectures Compiliation of xine-lib-1.2 hg fails on my non-x86 (Mac G5) machine, as arch_x86 is not initialized and later checked for != no. By this, MMX support is later activated which will fail on all non-x86 machines. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 8d2674e59..35ccb16b5 100644 --- a/configure.ac +++ b/configure.ac @@ -575,6 +575,9 @@ fi CC_CHECK_CFLAGS([-ffast-math], [optflags="$optflags -ffast-math"]) CC_CHECK_CFLAGS([-fexpensive-optimizations], [optflags="$optflags -fexpensive-optimizations"]) +dnl initialize arch_86 as it is later tested for != "no" +arch_x86=no + case "$host_or_hostalias" in alphaev56-*) cpuflags="-mcpu=ev56 -mieee $cpuflags" ;; alpha*) cpuflags="-mieee $cpuflags" ;; -- cgit v1.2.3