aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-18 16:24:16 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-18 16:24:16 +0000
commit01b53ae33506194c5798c0af2f4c8c9009c8c68f (patch)
tree5467b52a05a9c0f30bb6e68563397970ebadc8bd /configure
parentc5a9cfcef973152269def75b2a94936de36c5661 (diff)
configure should fall back on -mcpu=pentium4 if -mcpu=prescott
and -mcpu=nocona are not supported. patch by Sergey Svishchev, svs+mplayer grep ru git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19892 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 8f1e02becd..fdd819753d 100755
--- a/configure
+++ b/configure
@@ -1010,6 +1010,9 @@ EOF
fi
fi
fi
+ if test "$proc" = "nocona" || test "$proc" = "prescott" ; then
+ cc_check -march=$proc $cpuopt=$proc || proc=pentium4
+ fi
if test "$proc" = "pentium4" || test "$proc" = "pentium-m" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon" || test "$proc" = "c3-2"; then
cc_check -march=$proc $cpuopt=$proc || proc=i686
fi