Patchwork [4/5] Remove check for grep

login
register
mail settings
Submitter Juan Quintela
Date Jan. 20, 2010, 5:27 p.m.
Message ID <ebfbd8fa585c12880d56cacd82b3e40df133ab5e.1264008180.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/43328/
State New
Headers show

Comments

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

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);}'`