aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Lavrov <vel21ripn@gmail.com>2024-04-02 11:58:55 +0300
committerGitHub <noreply@github.com>2024-04-02 10:58:55 +0200
commitb5e8bc22147d37011621ae62b680742c8fa105dc (patch)
tree122cdc0147c1ee4e705d33bada764976fc0e1b37
parent599cc0f4b83a96c247a92aaaa3f39acfec9e1dbe (diff)
Fixed gcc version checking. (#2360)
Using the "test" utility instead of "[".
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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