changeset 18502:219b1ce8cc3c

Use egrep together with extended regular expressions for greater portability.
author diego
date Sun, 14 May 2006 12:07:26 +0000
parents e5b65b94eb73
children abf8944d7db1
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun May 14 10:33:27 2006 +0000
+++ b/configure	Sun May 14 12:07:26 2006 +0000
@@ -839,7 +839,7 @@
   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/`