cvs: php4 / acinclude.m4
| From: | Jani Taskinen | Date: | Tue, 29 Oct 2002 11:24:26 +0000 |
| Subject: | cvs: php4 / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15565@lists.php.net to get a copy of this message | ||
sniper Tue Oct 29 06:24:26 2002 EDT
Modified files:
/php4 acinclude.m4
Log:
- Remove the "which" call and just expect sed to be in PATH
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.217 php4/acinclude.m4:1.218
--- php4/acinclude.m4:1.217 Mon Oct 28 18:42:47 2002
+++ php4/acinclude.m4 Tue Oct 29 06:24:26 2002
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.217 2002/10/28 23:42:47 sniper Exp $
+dnl $Id: acinclude.m4,v 1.218 2002/10/29 11:24:26 sniper Exp $
dnl
dnl This file contains local autoconf functions.
@@ -1746,7 +1746,7 @@
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 @@
_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