From: Stefan Neis Date: Sat, 25 Nov 2006 17:29:21 +0000 (+0000) Subject: Replaced "egrep" by "$EGREP" (predefined by configure anyway). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/252a5022774339ae81fa12dc8caac3528d645a2c?hp=ddbd3cd58b0672f1eaecc308725bd491e70e1249 Replaced "egrep" by "$EGREP" (predefined by configure anyway). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index eef38e6df7..03e13055ce 100755 --- a/configure +++ b/configure @@ -15693,7 +15693,7 @@ if test "${wx_cv_prog_makeisgnu+set}" = set; then else if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | - egrep -s GNU > /dev/null); then + $EGREP -s GNU > /dev/null); then wx_cv_prog_makeisgnu="yes" else wx_cv_prog_makeisgnu="no" @@ -50500,7 +50500,7 @@ for subdir in `echo $SUBDIRS`; do disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`; eval "disabled=\$$disabled_var" disabled=/`echo X $disabled | sed 's@ @/|/@g'`/ - makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"` + makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"` fi else if test ${subdir} = "samples"; then makefiles="samples/Makefile.in samples/console/Makefile.in" diff --git a/configure.in b/configure.in index 3578639635..612034e20c 100644 --- a/configure.in +++ b/configure.in @@ -1519,7 +1519,7 @@ dnl does make support "-include" (only GNU make does AFAIK)? AC_CACHE_CHECK([if make is GNU make], wx_cv_prog_makeisgnu, [ if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null | - egrep -s GNU > /dev/null); then + $EGREP -s GNU > /dev/null); then wx_cv_prog_makeisgnu="yes" else wx_cv_prog_makeisgnu="no" @@ -8032,7 +8032,7 @@ for subdir in `echo $SUBDIRS`; do disabled_var=DISABLED_`echo $subdir | tr [[a-z]] [[A-Z]]`; eval "disabled=\$$disabled_var" disabled=/`echo X $disabled | sed 's@ @/|/@g'`/ - makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"` + makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"` fi else dnl we build wxBase only dnl don't take all samples/utils, just those which build with