From 2757d8539464b9a402f977c387ff74e469a2d331 Mon Sep 17 00:00:00 2001 From: Don Stewart Date: Sun, 1 May 2005 04:05:12 +0000 Subject: [PATCH] Make sure not to dump stderr --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f8a37ea..f48412c 100644 --- a/configure.ac +++ b/configure.ac @@ -135,9 +135,9 @@ AC_ARG_WITH(ghc-pkg, fi ], [ AC_MSG_CHECKING([for ghc-pkg]) - if ghc-pkg-$GHC_VERSION -V > /dev/null ; then + if ghc-pkg-$GHC_VERSION -V > /dev/null 2>&1 ; then GHCPKG=ghc-pkg-$GHC_VERSION - elif test ghc-pkg -V > /dev/null ; then + elif test ghc-pkg -V > /dev/null 2>&1 ; then GHCPKG=ghc-pkg else AC_MSG_ERROR(You need ghc-pkg)