Skip to content

Commit 12e1c89

Browse files
author
Brad House
committed
Manually check for egrep
1 parent 40329bf commit 12e1c89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/mcve/config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ PHP_ARG_WITH(openssl-dir,OpenSSL dir for MCVE,
77
[ --with-openssl-dir[=DIR] MCVE: openssl install prefix.], no, no)
88

99
if test "$PHP_MCVE" != "no"; then
10+
dnl properly set EGREP for AC_EGREP_CPP later on
11+
AC_CHECK_PROG(EGREP, egrep, grep -E)
12+
AC_SUBST(EGREP)
1013

1114
if test "$PHP_OPENSSL_DIR" != "no"; then
1215
PHP_OPENSSL=$PHP_OPENSSL_DIR

0 commit comments

Comments
 (0)