[MPlayer-cvslog] r19892 - trunk/configure

diego subversion at mplayerhq.hu
Mon Sep 18 18:24:16 CEST 2006


Author: diego
Date: Mon Sep 18 18:24:16 2006
New Revision: 19892

Modified:
   trunk/configure

Log:
configure should fall back on -mcpu=pentium4 if -mcpu=prescott
and -mcpu=nocona are not supported.
patch by Sergey Svishchev, svs+mplayer grep ru


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Sep 18 18:24:16 2006
@@ -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



More information about the MPlayer-cvslog mailing list