comparison configure @ 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 b27a56d158de
children 72ee87f857d8
comparison
equal deleted inserted replaced
1917:970e92b85f81 1918:ec2691f573f1
852 fi 852 fi
853 853
854 if [ $_x11 = yes ]; then 854 if [ $_x11 = yes ]; then
855 855
856 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms $_socklib > /dev/null 2>&1 && _xdpms_3=yes 856 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXdpms $_socklib > /dev/null 2>&1 && _xdpms_3=yes
857 nm `echo $_x11libdir|cut -b 3-`/libXext.a | grep -q DPMSQueryExtension && _xdpms_4=yes 857 nm `echo $_x11libdir|cut -b 3-`/libXext.a | grep DPMSQueryExtension > /dev/null 2>&1 && _xdpms_4=yes
858 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXv $_socklib > /dev/null 2>&1 && _xv=yes 858 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXv $_socklib > /dev/null 2>&1 && _xv=yes
859 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes 859 $_cc $TMPC -o $TMPO $_x11libdir -lX11 -lXext -lXxf86vm $_socklib > /dev/null 2>&1 && _vm=yes
860 860
861 # this is not yet checked with OpenBSD - atmos 861 # this is not yet checked with OpenBSD - atmos
862 if [ "$system_name" = "FreeBSD" -o "$system_name" = "OpenBSD" ]; then 862 if [ "$system_name" = "FreeBSD" -o "$system_name" = "OpenBSD" ]; then