Mercurial > mplayer.hg
comparison configure @ 19886:49ebd9c51a99
configure should fall back on -mcpu=pentium4 if -mcpu=prescott
and -mcpu=nocona are not supported.
patch by Sergey Svishchev, svs+mplayer grep ru
author | diego |
---|---|
date | Mon, 18 Sep 2006 16:24:16 +0000 |
parents | 6ce7915135b0 |
children | 2ce14efa8917 |
comparison
equal
deleted
inserted
replaced
19885:7f9b2b26e905 | 19886:49ebd9c51a99 |
---|---|
1007 proc=i586-i686 | 1007 proc=i586-i686 |
1008 else | 1008 else |
1009 proc=i586 | 1009 proc=i586 |
1010 fi | 1010 fi |
1011 fi | 1011 fi |
1012 fi | |
1013 if test "$proc" = "nocona" || test "$proc" = "prescott" ; then | |
1014 cc_check -march=$proc $cpuopt=$proc || proc=pentium4 | |
1012 fi | 1015 fi |
1013 if test "$proc" = "pentium4" || test "$proc" = "pentium-m" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon" || test "$proc" = "c3-2"; then | 1016 if test "$proc" = "pentium4" || test "$proc" = "pentium-m" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon" || test "$proc" = "c3-2"; then |
1014 cc_check -march=$proc $cpuopt=$proc || proc=i686 | 1017 cc_check -march=$proc $cpuopt=$proc || proc=i686 |
1015 fi | 1018 fi |
1016 if test "$proc" = "i686" || test "$proc" = "pentium-mmx" || test "$proc" = "winchip-c6" || test "$proc" = "winchip2"; then | 1019 if test "$proc" = "i686" || test "$proc" = "pentium-mmx" || test "$proc" = "winchip-c6" || test "$proc" = "winchip2"; then |