mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00: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:
parent
1670a7b309
commit
6410547f19
2
configure
vendored
2
configure
vendored
@ -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/`
|
||||
|
Loading…
Reference in New Issue
Block a user