From b5f726afab2a312e480b6a3cd7d1c1d7e6fc64d1 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 9 Nov 2002 13:50:52 +0000 Subject: - always enable ffmmx, xine-lib will detect at runtime, if it can be used - fix k6 compiler flags CVS patchset: 3208 CVS date: 2002/11/09 13:50:52 --- configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index f6a214380..e6735757b 100644 --- a/configure.ac +++ b/configure.ac @@ -781,12 +781,10 @@ case "$host_or_hostalias" in ;; pentium-mmx-*) archopt_val="pentium-mmx" - enable_ffmmx="yes" CFLAGS="$CFLAGS $f_mmmx" ;; pentiumpro-* | pentium2-* | i686-*) archopt_val="pentiumpro" - enable_ffmmx="yes" if test x"$check_athlon" = "xyes"; then if test -f /proc/cpuinfo; then modelname=`cat /proc/cpuinfo | grep "model\ name\ :" | sed -e 's/ //g' | cut -d':' -f2` @@ -800,28 +798,28 @@ case "$host_or_hostalias" in fi CFLAGS="$CFLAGS $f_mmmx" ;; + k6-2-* | k6-3-*) + archopt_val="k6-2" + CFLAGS="$CFLAGS $f_mmmx $f_m3dnow" + ;; k6-*) archopt_val="k6" - CFLAGS="$CFLAGS $f_m3dnow" + CFLAGS="$CFLAGS $f_mmmx" ;; pentium3-*) archopt_val="pentium3" - enable_ffmmx="yes" CFLAGS="$CFLAGS $f_mmmx $f_msse" ;; pentium4-*) archopt_val="pentium4" - enable_ffmmx="yes" CFLAGS="$CFLAGS $f_mmmx $f_msse2" ;; athlon-4-* | athlon-xp-* | athlon-mp-*) archopt_val="athlon-4" - enable_ffmmx="yes" CFLAGS="$CFLAGS $f_mmmx $f_m3dnow $f_msse" ;; k7-* | athlon-tbird-* | athlon-*) archopt_val="athlon" - enable_ffmmx="yes" CFLAGS="$CFLAGS $f_mmmx $f_m3dnow" ;; @@ -841,6 +839,7 @@ case "$host_or_hostalias" in dnl AC_DEFINE_UNQUOTED(ARCH_X86,,[Define this if you're running x86 architecture]) AC_DEFINE(FPM_INTEL,1,[Define to select libmad fixed point arithmetic implementation]) + enable_ffmmx="yes" enable_w32dll="yes" else dnl add x86 specific cc CFLAGS -- cgit v1.2.3