summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-12 08:25:04 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-12 08:25:04 +0000
commite5cd922798be2c64ea1e2a54e9b0c30d36d84d32 (patch)
tree8ded2f2e5dbfcc7bddd58a0d905c83c37a76d84d
parentf54f3ba50a79de9475277bce400b3e740d042921 (diff)
downloadmpv-e5cd922798be2c64ea1e2a54e9b0c30d36d84d32.tar.bz2
mpv-e5cd922798be2c64ea1e2a54e9b0c30d36d84d32.tar.xz
Configure support for Cyrix C3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16980 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--ChangeLog2
-rwxr-xr-xconfigure4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cf131275b0..8b86843fd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -126,7 +126,7 @@ MPlayer (1.0)
* -rawaudio/-rawvideo requires -demuxer rawaudio/-demuxer rawvideo
* libdvdcss updated to 1.2.9
* ~/.dvdcss is used instead of ~/.mplayer/DVDKeys for cached CSS keys
- * configure check and compiler optimizations for VIA C3 and Pentium-M
+ * configure check and compiler optimizations for VIA C3, C3-2 and Pentium-M
* configure check and compiler optimizations for AMD-64 extended
* configure can now run with cross compiling, new configure option
--enable-cross-compile
diff --git a/configure b/configure
index 63c20e1773..0581267675 100755
--- a/configure
+++ b/configure
@@ -914,6 +914,8 @@ case "$host_arch" in
_mmx2=no
if test "$pmodel" -ge 9; then
proc=c3-2
+ elif test "$pmodel" -ge 7; then
+ proc=c3
else
proc=i686
fi
@@ -973,7 +975,7 @@ EOF
if test "$proc" = "i686" || test "$proc" = "pentium-mmx" || test "$proc" = "winchip-c6" || test "$proc" = "winchip2"; then
cc_check -march=$proc $cpuopt=$proc || proc=i586
fi
- if test "$proc" = "i586" || test "$proc" = "c3" ; then
+ if test "$proc" = "i586" || test "$proc" = "c3" || test "$proc" = "c3-2"; then
cc_check -march=$proc $cpuopt=$proc || proc=i486
fi
if test "$proc" = "i486" ; then