[PATCH] configure: asciidoc version test cleanup
- From
Ben Walton <bwalton@artsci.utoronto.ca>
- Date
- Mar 12, 2009, 19:20 UTC
- Message-ID
- <1236885612-22575-6-git-send-email-bwalton@artsci.utoronto.ca>
- In-Reply-To
- <1236885612-22575-5-git-send-email-bwalton@artsci.utoronto.ca>
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> --- configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac index fe9d7eb..f4b8e49 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
-- 1.6.0.5