summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-10-29 11:24:26 +0000
committerfoobar <sniper@php.net>2002-10-29 11:24:26 +0000
commite77c7ee46b47a989aea56769ea57106a3bfe0bce (patch)
treed3abec16a18da7a91b0b408256c2e1909d77c64e /acinclude.m4
parent7370604ca7c4396885eee6b95b6d1539d21c827a (diff)
downloadphp-git-e77c7ee46b47a989aea56769ea57106a3bfe0bce.tar.gz
- Remove the "which" call and just expect sed to be in PATH
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c498f2c38c..6908696165 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1746,7 +1746,7 @@ dnl
dnl Based on LT_AC_PROG_SED (libtool CVS)
dnl
AC_DEFUN([PHP_PROG_SED],
-[AC_MSG_CHECKING([for a sed that does not truncate output])
+[AC_MSG_CHECKING([for working sed])
AC_CACHE_VAL(ac_cv_path_sed,
[
@@ -1775,9 +1775,7 @@ $debug ||
_count=0
# Use the sed found in PATH, skip the rest
- _sed=`which sed`
-
- test ! -f ${_sed} && break
+ _sed=sed
# Check for GNU sed and select it if it is found.
if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then