From b5e8bc22147d37011621ae62b680742c8fa105dc Mon Sep 17 00:00:00 2001 From: Vitaly Lavrov Date: Tue, 2 Apr 2024 11:58:55 +0300 Subject: Fixed gcc version checking. (#2360) Using the "test" utility instead of "[". --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 737e1e430..3b8e0a01a 100644 --- a/configure.ac +++ b/configure.ac @@ -134,7 +134,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]) GCC_VERSION=`gcc --version | cut -d ' ' -f 3 | head -1|cut -d '.' -f 1` -if [ "${GCC_VERSION}" -lt "7" ]; then +if test "${GCC_VERSION}" -lt "7" ; then AC_DEFINE_UNQUOTED(USE_ROARING_V2, "1", [Use CRoaring 2.1.x]) fi -- cgit v1.2.3