summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/Zend.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/Zend.m4 b/Zend/Zend.m4
index 1b2029b052..129bcaa395 100644
--- a/Zend/Zend.m4
+++ b/Zend/Zend.m4
@@ -212,7 +212,7 @@ AC_C_INLINE
AC_SUBST(INLINE_CFLAGS)
AC_MSG_CHECKING(target system is Darwin)
-if echo "$target" | grep "darwin"; then
+if echo "$target" | grep "darwin" > /dev/null; then
AC_DEFINE([DARWIN], 1, [Define if the target system is darwin])
AC_MSG_RESULT(yes)
else