diff --git a/configure.ac b/configure.ac index 89ee81adb4..557b364d60 100644 --- a/configure.ac +++ b/configure.ac @@ -2316,7 +2316,7 @@ fi AC_PATH_PROG(CBINDGEN, cbindgen, "no") if test "x$CBINDGEN" != "xno"; then - cbindgen_version=$(cbindgen --version | cut -d' ' -f2-) + cbindgen_version=$(cbindgen --version 2>&1 | cut -d' ' -f2-) min_cbindgen_version="0.10.0" AS_VERSION_COMPARE([$cbindgen_version], [$min_cbindgen_version], [cbindgen_ok="no"],