summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-18 03:06:43 +0000
committerzuxy <zuxy@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-18 03:06:43 +0000
commit3b949d7bdf5dd8806883be37345ead55fff1a030 (patch)
tree102ef5630eabd4fe4b8f57e33f7eaf2d6aafa608 /configure
parent91e4519ed0058209c9bf9b0d0e28cf08e8bdf628 (diff)
downloadmpv-3b949d7bdf5dd8806883be37345ead55fff1a030.tar.bz2
mpv-3b949d7bdf5dd8806883be37345ead55fff1a030.tar.xz
Support for detection of AMD Phenom.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30363 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index c8e8cad0d7..35b8aa2b21 100755
--- a/configure
+++ b/configure
@@ -1818,7 +1818,7 @@ case "$host_arch" in
proc=k8
;;
- *) proc=k8 iproc=686 ;;
+ *) proc=amdfam10 iproc=686 ;;
esac
;;
GenuineIntel)
@@ -2028,7 +2028,11 @@ EOF
if test "$_runtime_cpudetection" = no ; then
case "$pvendor" in
AuthenticAMD)
- proc=k8;;
+ case "$pfamily" in
+ 15) proc=k8;;
+ *) proc=amdfam10;;
+ esac
+ ;;
GenuineIntel)
case "$pfamily" in
6) proc=core2;;