acinclude: Silence OVS_FIND_FIELD_IFELSE.
authorJoe Stringer <joestringer@nicira.com>
Thu, 16 Jul 2015 23:34:03 +0000 (16:34 -0700)
committerJoe Stringer <joestringer@nicira.com>
Mon, 20 Jul 2015 18:30:31 +0000 (11:30 -0700)
Fields found using OVS_FIND_FIELD_IFELSE would previously be printed in
the console during configure. Clean up the output.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
acinclude.m4

index 14907ab..3604e55 100644 (file)
@@ -271,7 +271,7 @@ dnl translated to uppercase.
 AC_DEFUN([OVS_FIND_FIELD_IFELSE], [
   AC_MSG_CHECKING([whether $2 has member $3 in $1])
   if test -f $1; then
-    awk '/$2.{/,/^}/' $1 2>/dev/null | grep '$3'
+    awk '/$2.{/,/^}/' $1 2>/dev/null | grep '$3' >/dev/null
     status=$?
     case $status in
       0)