[4/5] Remove check for grep

Submitted by Juan Quintela on Jan. 20, 2010, 5:27 p.m.

Details

Message ID ebfbd8fa585c12880d56cacd82b3e40df133ab5e.1264008180.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Jan. 20, 2010, 5:27 p.m.
The rest of configure assumes that grep is available already

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index 83f8b26..f31be87 100755
--- a/configure
+++ b/configure
@@ -1430,8 +1430,7 @@  EOF
     fi
   else
     if test "$kvm" = "yes" ; then
-      if prog_exist "awk" && \
-         prog_exist "grep"; then
+      if prog_exist "awk" ; then
         kvmerr=`LANG=C $cc $QEMU_CFLAGS -o $TMPE $kvm_cflags $TMPC 2>&1 \
 	| grep "error: " \
 	| awk -F "error: " '{if (NR>1) printf(", "); printf("%s",$2);}'`