Eliminate egrep (Abandoned by POSIX many years ago).

This commit is contained in:
Ralf Corsépius 2007-11-22 09:43:40 +01:00
parent d58b2666e3
commit 5787b3f7c1
1 changed files with 2 additions and 2 deletions

View File

@ -853,9 +853,9 @@ AC_CHECK_FUNC(lchown,
AC_ARG_ENABLE([broken-chown],
[ --enable-broken-chown this system's chown follows symbolic links],
result=$enableval, result=unknown)
if echo "$build" | egrep "(aix)|(hpux)|(linux)" > /dev/null ; then
if echo "$build" | ${EGREP} "(aix)|(hpux)|(linux)" > /dev/null ; then
result=yes
elif echo "$build" | egrep "(nextstep)" > /dev/null ; then
elif echo "$build" | ${EGREP} "(nextstep)" > /dev/null ; then
result=no
fi
if test $result = unknown; then