diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-03 17:36:52 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-07-03 17:36:52 +0000 |
commit | fc5526f925e1a01302ca02ab8d305086ad03c82f (patch) | |
tree | e56c94650ee9d18a3bbbe42213a9274eca79b4e4 /configure | |
parent | e48adec3b3e507669d3c72e4388c7d9c04751bcc (diff) | |
download | mpv-fc5526f925e1a01302ca02ab8d305086ad03c82f.tar.bz2 mpv-fc5526f925e1a01302ca02ab8d305086ad03c82f.tar.xz |
reverse this nonsense that breaks configure! (ppl, please don't commit
"cosmetic" fixes like this to configure script unless you have a VERY
good understanding of shell scripting and know you won't break anything!)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10366 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -473,7 +473,7 @@ fi if test "$_skip_cc_check" != yes ; then for _cc in "$_cc" gcc-3.1 gcc3 gcc-3.0 cc ; do echocheck "$_cc version" - cc_name=`( $_cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1` + 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" @@ -573,15 +573,15 @@ if x86 || ppc; then _cpuinfo="TOOLS/cpuinfo" fi - pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -n 1` - pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n 1` - pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n 1` - pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n 1` - pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -n 1` + 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` + pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` + pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | head -1` - pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | head -n 1` + pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | head -1` if test -z "$pparam" ; then - pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -n 1` + pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -1` fi _mmx=no |