diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-18 16:24:16 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-18 16:24:16 +0000 |
commit | 01b53ae33506194c5798c0af2f4c8c9009c8c68f (patch) | |
tree | 5467b52a05a9c0f30bb6e68563397970ebadc8bd /configure | |
parent | c5a9cfcef973152269def75b2a94936de36c5661 (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-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |