From 6c59186721b28590f45e49b853f3f16ec317757e Mon Sep 17 00:00:00 2001 From: ths Date: Wed, 9 May 2007 13:55:03 +0000 Subject: [PATCH] Suppress warning messages from "which". git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2795 c046a42c-6fe2-441c-8c8c-71466251a162 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 187ac35a1d..245b2059d9 100755 --- a/configure +++ b/configure @@ -606,7 +606,8 @@ EOF fi # Check if tools are available to build documentation. -if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then +if [ -x "`which texi2html 2>/dev/null`" ] && \ + [ -x "`which pod2man 2>/dev/null`" ]; then build_docs="yes" fi