From 33b0b839db23a6bc53dd180541d0eb18b7315298 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 29 Jun 2016 12:06:31 +0200 Subject: [PATCH] [4531] Replaced test < by expr --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 150fffc772..e4b80b2c9e 100755 --- a/configure.ac +++ b/configure.ac @@ -185,7 +185,7 @@ KEA_CXXFLAGS="$KEA_CXXFLAGS -Wall -Wextra -Wnon-virtual-dtor -Wwrite-strings -Wo # gcc 4.4 would emit warnings about breaking strict aliasing rules. # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41874 CXX_DUMP_VERSION=`$CXX -dumpversion | cut -f1-2 -d.` -if test "$CXX_DUMP_VERSION" \< "4.5"; then +if expr "$CXX_DUMP_VERSION" \< "4.5" > /dev/null; then WARNING_GCC_44_STRICT_ALIASING_CFLAG="-fno-strict-aliasing" fi AC_SUBST(WARNING_GCC_44_STRICT_ALIASING_CFLAG) -- 2.47.2