]> git.ipfire.org Git - thirdparty/git.git/commitdiff
configure: asciidoc version test cleanup
authorBen Walton <bwalton@artsci.utoronto.ca>
Thu, 12 Mar 2009 19:20:10 +0000 (15:20 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Mar 2009 06:23:39 +0000 (23:23 -0700)
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>
configure.ac

index fe9d7eb463e8d32dc001c6f973d748bb04060a57..f4b8e49dc3add671140aaf8b4be07be7ca8bbb0f 100644 (file)
@@ -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