diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-06 22:58:18 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-06 22:58:18 +0000 |
commit | 6568365c1269b047eea002af40f62cf20da4a3b4 (patch) | |
tree | 55bbddce450edc1b2bb20a320f44759ca23a1a0c /configure | |
parent | 07188234533d85bac60e9397982031782b83d3b0 (diff) | |
download | mpv-6568365c1269b047eea002af40f62cf20da4a3b4.tar.bz2 mpv-6568365c1269b047eea002af40f62cf20da4a3b4.tar.xz |
10l fix for cpuinfo exec after G3 changes and beatify cc check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6319 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -388,6 +388,9 @@ if test "$_skip_cc_check" != yes ; then 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 @@ if test "$_skip_cc_check" != yes ; then 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 @@ if x86 || ppc; then # 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 |