From: Victor Julien Date: Fri, 22 Apr 2022 06:10:58 +0000 (+0200) Subject: cbindgen: handle version to stderr change X-Git-Tag: suricata-7.0.0-beta1~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7291%2Fhead;p=thirdparty%2Fsuricata.git cbindgen: handle version to stderr change --- 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"],