Commit 62c94100 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Merged trac4531 (test -> expr for <)

parents 1c1a3c02 7cdfb2fe
......@@ -100,6 +100,9 @@ We have received the following contributions:
- Razvan Becheriu, Qualitance
2016-05: Added support for Cassandra
- Patrik Lundin
2016-08: Replace test by expr for < in configure.ac
Kea uses log4cplus (http://sourceforge.net/projects/log4cplus/) for logging,
Boost (http://www.boost.org/) library for almost everything, and can use Botan
(http://botan.randombit.net/) or OpenSSL (https://www.openssl.org/) for
......
......@@ -182,7 +182,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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment