# HG changeset patch # User diego # Date 1158596656 0 # Node ID 49ebd9c51a990def099e45f69445f0104fe104af # Parent 7f9b2b26e90542b10d95b8e9ffafe71bcc143e8d configure should fall back on -mcpu=pentium4 if -mcpu=prescott and -mcpu=nocona are not supported. patch by Sergey Svishchev, svs+mplayer grep ru diff -r 7f9b2b26e905 -r 49ebd9c51a99 configure --- a/configure Mon Sep 18 14:27:35 2006 +0000 +++ b/configure Mon Sep 18 16:24:16 2006 +0000 @@ -1010,6 +1010,9 @@ 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