From: Marko Kreen Date: Fri, 7 Sep 2007 08:14:41 +0000 (+0000) Subject: older asciidoc prints ver into stderr X-Git-Tag: pgbouncer_1_1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=942e7162ef67770a1e7dfbb1ad8d1ecdf2de1c84;p=pgbouncer older asciidoc prints ver into stderr --- diff --git a/configure.ac b/configure.ac index 4f25c98..3cc28e5 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ dnl asciidoc >= 8.2 AC_CHECK_PROGS(ASCIIDOC, asciidoc) if test -n "$ASCIIDOC"; then AC_MSG_CHECKING([for asciidoc version >= 8.2]) - ver=`$ASCIIDOC --version | sed 's/asciidoc //'` + ver=`$ASCIIDOC --version 2>&1 | sed -e 's/asciidoc //'` case "$ver" in [0-7].*|8.[01]|8.[01].*) AC_MSG_RESULT([$ver, too old])