diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-09 13:50:52 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-09 13:50:52 +0000 |
commit | b5f726afab2a312e480b6a3cd7d1c1d7e6fc64d1 (patch) | |
tree | e7577e50dc7e488093c1a7ebe438b7f0c18d8038 | |
parent | 6d0a33826ad5b4f9acf12c752a6dfc4f12f8c16f (diff) | |
download | xine-lib-b5f726afab2a312e480b6a3cd7d1c1d7e6fc64d1.tar.gz xine-lib-b5f726afab2a312e480b6a3cd7d1c1d7e6fc64d1.tar.bz2 |
- 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
-rw-r--r-- | configure.ac | 13 |
1 files 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 |