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>
This commit is contained in:
parent
310386f07b
commit
29adc8baf9
@ -291,7 +291,7 @@ fi
|
|||||||
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
|
AC_CHECK_PROGS(ASCIIDOC, [asciidoc])
|
||||||
if test -n "$ASCIIDOC"; then
|
if test -n "$ASCIIDOC"; then
|
||||||
AC_MSG_CHECKING([for asciidoc version])
|
AC_MSG_CHECKING([for asciidoc version])
|
||||||
asciidoc_version=`$ASCIIDOC --version 2>&1`
|
asciidoc_version=`$ASCIIDOC --version 2>/dev/null`
|
||||||
case "${asciidoc_version}" in
|
case "${asciidoc_version}" in
|
||||||
asciidoc' '8*)
|
asciidoc' '8*)
|
||||||
ASCIIDOC8=YesPlease
|
ASCIIDOC8=YesPlease
|
||||||
|
Loading…
Reference in New Issue
Block a user