- check for egrep and sed
authorMichael Wallner <mike@php.net>
Wed, 14 Dec 2005 11:17:34 +0000 (11:17 +0000)
committerMichael Wallner <mike@php.net>
Wed, 14 Dec 2005 11:17:34 +0000 (11:17 +0000)
config.m4

index f3c56265fa6582a077c62fb11d4af9ac9254af39..8d033b173253811189181f13d1ae68b04d23e401 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -16,6 +16,17 @@ PHP_ARG_WITH([http-zlib-compression], [whether to enable support for gzencoded/d
 
 if test "$PHP_HTTP" != "no"; then
 
+       AC_PROG_EGREP
+       ifdef([AC_PROG_SED], [
+               AC_PROG_SED
+       ], [
+               ifdef([LT_AC_PROG_SED], [
+                       LT_AC_PROG_SED
+               ], [
+                       AC_CHECK_PROG(SED, sed, sed)
+               ])
+       ])
+
 dnl -------
 dnl NETDB.H
 dnl -------