]> git.sesse.net Git - vlc/commitdiff
Cosmetic: Don't leak internal error to the console.
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 1 Aug 2006 14:54:54 +0000 (14:54 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 1 Aug 2006 14:54:54 +0000 (14:54 +0000)
configure.ac

index fb777b95f1d4c49ccf5bf7c8faa4ed6fa0af44c4..cbfc6b576791e9714001fe15a100b5a9dc514f41 100644 (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])