diff options
author | Ben Walton <bwalton@artsci.utoronto.ca> | 2009-03-12 20:20:10 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-13 07:23:39 +0100 |
commit | 29adc8baf997e143d8aeac9a0aeb257539d32e6d (patch) | |
tree | 2e1cc9c9940f9272b0be5c7a6ee78badf70bbbb6 /configure.ac | |
parent | configure: wrap some library tests with GIT_STASH_FLAGS (diff) | |
download | git-29adc8baf997e143d8aeac9a0aeb257539d32e6d.tar.xz git-29adc8baf997e143d8aeac9a0aeb257539d32e6d.zip |
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>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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 |