changeset 1918:ec2691f573f1

-q flag for grep does not exist for all versions of grep. Just redirect output to /dev/null
author jkeil
date Tue, 18 Sep 2001 19:03:58 +0000
parents 970e92b85f81
children e9762fe502a8
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Sep 18 17:04:25 2001 +0000
+++ b/configure	Tue Sep 18 19:03:58 2001 +0000
@@ -854,7 +854,7 @@
 if [ $_x11 = yes ]; then
 
 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms $_socklib > /dev/null 2>&1 && _xdpms_3=yes
-nm `echo $_x11libdir|cut -b 3-`/libXext.a | grep -q DPMSQueryExtension && _xdpms_4=yes
+nm `echo $_x11libdir|cut -b 3-`/libXext.a | grep DPMSQueryExtension > /dev/null 2>&1 && _xdpms_4=yes
 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXv $_socklib > /dev/null 2>&1 && _xv=yes
 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes