[Mplayer-cvslog] CVS: main configure,1.494,1.495

Atmosfear atmos4 at mplayerhq.hu
Fri Jun 7 00:58:25 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv962

Modified Files:
	configure 
Log Message:
10l fix for cpuinfo exec after G3 changes and beatify cc check.


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.494
retrieving revision 1.495
diff -u -r1.494 -r1.495
--- configure	6 Jun 2002 16:46:05 -0000	1.494
+++ configure	6 Jun 2002 22:58:18 -0000	1.495
@@ -388,6 +388,9 @@
   echocheck "$_cc version"
   cc_name=`( $_cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1`
   cc_version=`( $_cc -dumpversion ) 2>&1`
+  if test "$?" -gt 0; then
+    cc_version="not found"
+  fi
   case $cc_version in
     '')
       cc_version="v. ?.??, bad"
@@ -397,6 +400,9 @@
       cc_version="$cc_version, ok"
       cc_verc_fail=no
       ;;
+    'not found')
+      cc_verc_fail=yes
+      ;;
     *)
       cc_version="$cc_version, bad"
       cc_verc_fail=yes
@@ -470,7 +476,7 @@
     # FreeBSD with linux emulation /proc mounted,
     # extract cpu information from it
     _cpuinfo="cat /compat/linux/proc/cpuinfo"
-  else
+  elif x86; then
     # all other OS try to extract cpu information from a small helper
     # program TOOLS/cpuinfo instead
     $_cc -o TOOLS/cpuinfo TOOLS/cpuinfo.c




More information about the MPlayer-cvslog mailing list