From 01b53ae33506194c5798c0af2f4c8c9009c8c68f Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 18 Sep 2006 16:24:16 +0000 Subject: 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 --- configure | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3