]> granicus.if.org Git - php/commitdiff
- Changed 'grep -E' back to 'egrep'.
authorfoobar <sniper@php.net>
Tue, 1 Jul 2003 00:16:23 +0000 (00:16 +0000)
committerfoobar <sniper@php.net>
Tue, 1 Jul 2003 00:16:23 +0000 (00:16 +0000)
#
# whatever some posix standard says, there's no use to change this in
# two places and possibly break stuff, like said in bug #22604.
#
# Grep for 'egrep' in autoconf 2.13 generated configure to find
# several hundred 'egrep's..
#

acinclude.m4
configure.in

index 0949e4b43730aee35df359b5ee442896c659b770..d73db55337eaefaa4c8eff4ebff4856b55fff253 100644 (file)
@@ -33,7 +33,7 @@ test -d include || mkdir include
 > Makefile.fragments
 dnl We need to play tricks here to avoid matching the grep line itself
 pattern=define
-grep -E $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null
+egrep $pattern'.*include/php' $srcdir/configure|sed 's/.*>//'|xargs touch 2>/dev/null
 ])
 
 dnl PHP_GEN_GLOBAL_MAKEFILE
@@ -1045,7 +1045,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 | grep -E "$opt" > /dev/null 2>&1 ; then
+  if eval $ac_php_compile 2>&1 | egrep "$opt" > /dev/null 2>&1 ; then
     eval php_cc_$var=no
        AC_MSG_RESULT([no])
   else
index ae2c4d4bb0f8c4e6686bdfa91dd0c38a304bb63d..c6ff569b3513d54594857c2857c6a89594b87972 100644 (file)
@@ -921,7 +921,7 @@ datadir=`eval echo $datadir`
 
 dnl Build extension directory path
 
-ZEND_MODULE_API_NO=`grep -E '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO //'`
+ZEND_MODULE_API_NO=`egrep '#define ZEND_MODULE_API_NO ' $srcdir/Zend/zend_modules.h|sed 's/#define ZEND_MODULE_API_NO //'`
 
 if test -z "$EXTENSION_DIR"; then
   extbasedir=$ZEND_MODULE_API_NO