diff options
author | Matthias Ringwald <mringwal@inf.ethz.ch> | 2008-03-06 21:57:50 +0000 |
---|---|---|
committer | Matthias Ringwald <mringwal@inf.ethz.ch> | 2008-03-06 21:57:50 +0000 |
commit | e36ec56897903031273ce381738f72140840ed66 (patch) | |
tree | ee1201a60f2bb430620d93ad738d2e2e803db2e7 | |
parent | ae651aa3b87d83e4b1e7f24590241b4459a8d4b4 (diff) | |
download | xine-lib-e36ec56897903031273ce381738f72140840ed66.tar.gz xine-lib-e36ec56897903031273ce381738f72140840ed66.tar.bz2 |
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.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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" ;; |