configure: asciidoc version test cleanup
Redirect stderr to /dev/null instead of stdout. This discards warnings generated by python 2.6 related to the reorganization of functions within modules. The warnings were causing the version detection to break. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ben Walton committed
Mar 12, 2009 at 15:20 UTC
29adc8baf997e143d8aeac9a0aeb257539d32e6d
1 file changed
+1
-1
configure.ac
+1
-1
@@ -291,7 +291,7 @@ fi
291
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
292
if test -n "$ASCIIDOC"; then
293
AC_MSG_CHECKING([for asciidoc version])
294
- asciidoc_version=`$ASCIIDOC --version 2>&1`
294
+ asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
295
case "${asciidoc_version}" in
296
asciidoc' '8*)
297
ASCIIDOC8=YesPlease