Mercurial > mplayer.hg
comparison configure @ 22932:d8cfd3a1300e
Move TOOLS/cpuinfo.c into the root directory.
author | diego |
---|---|
date | Mon, 09 Apr 2007 11:30:26 +0000 |
parents | 515545f81186 |
children | da61a88adf63 |
comparison
equal
deleted
inserted
replaced
22931:de6de2425335 | 22932:d8cfd3a1300e |
---|---|
1483 elif aix; then | 1483 elif aix; then |
1484 # use 'lsattr' on AIX | 1484 # use 'lsattr' on AIX |
1485 _cpuinfo="lsattr -E -l proc0 -a type" | 1485 _cpuinfo="lsattr -E -l proc0 -a type" |
1486 elif x86; then | 1486 elif x86; then |
1487 # all other OSes try to extract CPU information from a small helper | 1487 # all other OSes try to extract CPU information from a small helper |
1488 # program TOOLS/cpuinfo instead | 1488 # program cpuinfo instead |
1489 $_cc -o TOOLS/cpuinfo TOOLS/cpuinfo.c | 1489 $_cc -o cpuinfo cpuinfo.c |
1490 _cpuinfo="TOOLS/cpuinfo" | 1490 _cpuinfo="./cpuinfo" |
1491 fi | 1491 fi |
1492 | 1492 |
1493 if x86 ; then | 1493 if x86 ; then |
1494 # gather more CPU information | 1494 # gather more CPU information |
1495 pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | _head 1` | 1495 pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | _head 1` |