summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-14 12:07:26 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-14 12:07:26 +0000
commit6410547f19a0d6652717e0ecc72de7874778e01a (patch)
tree98ef5101e700b8eb6c05b7297072e868de3fae53 /configure
parent1670a7b309c8b6699c0733b55ae1bcedbda31209 (diff)
downloadmpv-6410547f19a0d6652717e0ecc72de7874778e01a.tar.bz2
mpv-6410547f19a0d6652717e0ecc72de7874778e01a.tar.xz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9d4dae044d..1ed5af9b90 100755
--- a/configure
+++ b/configure
@@ -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/`