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>
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)