summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mcve/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mcve/config.m4 b/ext/mcve/config.m4
index 5119bf637b..f33e20bd6e 100644
--- a/ext/mcve/config.m4
+++ b/ext/mcve/config.m4
@@ -7,6 +7,9 @@ PHP_ARG_WITH(openssl-dir,OpenSSL dir for MCVE,
[ --with-openssl-dir[=DIR] MCVE: openssl install prefix.], no, no)
if test "$PHP_MCVE" != "no"; then
+ dnl properly set EGREP for AC_EGREP_CPP later on
+ AC_CHECK_PROG(EGREP, egrep, grep -E)
+ AC_SUBST(EGREP)
if test "$PHP_OPENSSL_DIR" != "no"; then
PHP_OPENSSL=$PHP_OPENSSL_DIR