0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Use egrep together with extended regular expressions for greater portability.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18503 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-05-14 12:07:26 +00:00
parent 1670a7b309
commit 6410547f19

2
configure vendored
View File

@ -839,7 +839,7 @@ if x86 || x86_64 ; then
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`
exts=`$_cpuinfo | grep 'features\|flags' | cut -d ':' -f 2 | _head 1`
exts=`$_cpuinfo | egrep 'features|flags' | cut -d ':' -f 2 | _head 1`
pparam=`echo $exts | sed -e s/k6_mtrr/mtrr/ -e s/cyrix_arr/mtrr/ \
-e s/xmm/sse/ -e s/kni/sse/`