Cosmetic: Don't leak internal error to the console.

This commit is contained in:
Rémi Denis-Courmont 2006-08-01 14:54:54 +00:00
parent 14e11ab1c8
commit 0b01ad2f33
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ AC_ARG_WITH(contrib,
if test "`echo \"$topdir\" | cut -c 1`" != "/"; then
topdir="`pwd`/$topdir"
fi
if test "`grep HOST ${topdir}/extras/contrib/config.mak |awk '{print $3}'`" != "`$CC -dumpmachine`"; then
if test "`grep HOST ${topdir}/extras/contrib/config.mak 2>/dev/null|awk '{print $3}'`" != "`$CC -dumpmachine`"; then
if test "${with_contrib}" = "yes"; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([ not using the libs in extras/contrib as it is not the same host])