[ovs-dev] [PATCH 1/2] autoconf: Don't die on grep error.
jesse at nicira.com
Tue Nov 2 23:53:09 UTC 2010
The most likely cause of an error when grepping for a compatibility
string is that the file doesn't exist. Since this can be a valid
result when files are added in later versions, we shouldn't kill
the build. Instead, note that the file doesn't exist but otherwise
treat it as if the string was not found.
acinclude.m4 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index f1322fa..7ef9e75 100644
@@ -120,7 +120,8 @@ AC_DEFUN([OVS_GREP_IFELSE], [
- AC_MSG_ERROR([grep exited with status $status])
+ AC_MSG_RESULT([file not found])
More information about the dev