summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9521a59)
raw | patch | inline | side by side (parent: 9521a59)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 3 Aug 2016 15:31:08 +0000 (17:31 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 3 Aug 2016 15:31:08 +0000 (17:31 +0200) |
Solaris grep doesn't have -q
Use the grep we detected with AC_PROG_EGREP and just redirect stdout.
Use the grep we detected with AC_PROG_EGREP and just redirect stdout.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index b1c83013b522d06d8dcda4fb644a1bfffd46a62c..45f5fafac12dd80cb7573c55d181f6c6e36c8721 100644 (file)
--- a/configure.ac
+++ b/configure.ac
have_protoc3="no"
if test "x$PROTOC" != "x"; then
AC_MSG_CHECKING([for protoc 3.0.0+])
- if $PROTOC --version | grep -q libprotoc.3; then
+ if $PROTOC --version | $EGREP libprotoc.3 >/dev/null; then
protoc3="yes (`$PROTOC --version`)"
have_protoc3="yes"
else