[MPlayer-cvslog] CVS: main configure,1.1094,1.1095

Diego Biurrun CVS syncmail at mplayerhq.hu
Tue Oct 25 15:28:10 CEST 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv26195

Modified Files:
	configure 
Log Message:
Extra processor information needs to be known in the x86_64 case as well
for x86_64 optimizations to get enabled.
patch by Corey Hickey < bugfood-ml __ at __ fatooh __ dot __ org >


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1094
retrieving revision 1.1095
diff -u -r1.1094 -r1.1095
--- configure	25 Oct 2005 11:52:49 -0000	1.1094
+++ configure	25 Oct 2005 13:28:07 -0000	1.1095
@@ -793,11 +793,8 @@
   done
 }
 
-case "$host_arch" in
-  i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
-  _def_arch="#define ARCH_X86 1"
-  _target_arch="TARGET_ARCH_X86 = yes"
-
+if x86 || x86_64 ; then
+  # gather more CPU information
   pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | _head 1`
   pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2  | cut -d ' ' -f 2 | _head 1`
   pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
@@ -811,6 +808,13 @@
 
   echocheck "CPU type"
   echores "$pname"
+fi
+
+case "$host_arch" in
+  i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
+  _def_arch="#define ARCH_X86 1"
+  _target_arch="TARGET_ARCH_X86 = yes"
+
 
   case "$pvendor" in
   AuthenticAMD)




More information about the MPlayer-cvslog mailing list