summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-11-15 00:20:17 +0000
committerSascha Schumann <sas@php.net>2002-11-15 00:20:17 +0000
commit04e564dec5668232fca3b5befef57613aa068acb (patch)
tree4bf4c7d870e8dcecf567aa26bc2badeaefeba743 /acinclude.m4
parent40ac4a2d6897836eaf2d4324192a0bbf68e7b151 (diff)
downloadphp-git-04e564dec5668232fca3b5befef57613aa068acb.tar.gz
use grep -E instead of egrep. the latter is not defined by POSIX anymore
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 93a5d94341..811030b558 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -31,9 +31,9 @@ AC_DEFUN([PHP_INIT_BUILD_SYSTEM],[
mkdir include >/dev/null 2>&1
> Makefile.objects
> Makefile.fragments
-dnl We need to play tricks here to avoid matching the egrep line itself
+dnl We need to play tricks here to avoid matching the grep line itself
pattern=define
-egrep $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null
+grep -E $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null
])
dnl PHP_GEN_GLOBAL_MAKEFILE
@@ -1114,7 +1114,7 @@ AC_DEFUN([PHP_CHECK_CC_OPTION],[
changequote([,])
AC_MSG_CHECKING([if compiler supports -$1 really])
ac_php_compile="${CC-cc} -$opt -o conftest $CFLAGS $CPPFLAGS conftest.$ac_ext 2>&1"
- if eval $ac_php_compile 2>&1 | egrep "$opt" > /dev/null 2>&1 ; then
+ if eval $ac_php_compile 2>&1 | grep -E "$opt" > /dev/null 2>&1 ; then
eval php_cc_$var=no
AC_MSG_RESULT([no])
else
@@ -1771,7 +1771,7 @@ $debug ||
_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
+ if "${_sed}" --version 2>&1 < /dev/null | grep -E '(GNU)' > /dev/null; then
ac_cv_path_sed=${_sed}
else
cat /dev/null > "$tmp/sed.in"