]> granicus.if.org Git - php/commitdiff
Manually check for egrep
authorBrad House <bradmssw@php.net>
Sun, 30 May 2004 14:33:16 +0000 (14:33 +0000)
committerBrad House <bradmssw@php.net>
Sun, 30 May 2004 14:33:16 +0000 (14:33 +0000)
ext/mcve/config.m4

index 5119bf637bbffe784800dadd4446d7da4bf64681..f33e20bd6efeffa4b8fbd33815b96caf03e1a40e 100644 (file)
@@ -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