summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Ben Walton <bwalton@artsci.utoronto.ca>2009-03-12 15:20:10 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-03-12 23:23:39 -0700
commit29adc8baf997e143d8aeac9a0aeb257539d32e6d (patch)
tree2e1cc9c9940f9272b0be5c7a6ee78badf70bbbb6
parentconfigure: wrap some library tests with GIT_STASH_FLAGS (diff)
downloadtgif-29adc8baf997e143d8aeac9a0aeb257539d32e6d.tar.xz
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>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fe9d7eb463..f4b8e49dc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -291,7 +291,7 @@ fi
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
if test -n "$ASCIIDOC"; then
AC_MSG_CHECKING([for asciidoc version])
- asciidoc_version=`$ASCIIDOC --version 2>&1`
+ asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
case "${asciidoc_version}" in
asciidoc' '8*)
ASCIIDOC8=YesPlease