]> granicus.if.org Git - php/commitdiff
- Remove the "which" call and just expect sed to be in PATH
authorfoobar <sniper@php.net>
Tue, 29 Oct 2002 11:24:26 +0000 (11:24 +0000)
committerfoobar <sniper@php.net>
Tue, 29 Oct 2002 11:24:26 +0000 (11:24 +0000)
acinclude.m4

index c498f2c38c09cba2ed4b11f92a2b3dbaccb0ace5..6908696165ecd6d3440a1f7c3ccdad0e5d009cf0 100644 (file)
@@ -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