Subject: allow compilation with GCC 5
Description: Formally allow compilation with GCC 5, otherwise okay
Author: Aaron M. Ucko <ucko@debian.org>
Forwarded: yes
Last-Updated: 2015-02-16
--- a/c++/src/build-system/configure
+++ b/c++/src/build-system/configure
@@ -5819,14 +5819,10 @@
 
 if test "$GCC" = "yes" ; then
    compiler_ver="`$real_CXX -dumpversion 2>&1`"
-   case "$compiler_ver" in
-     2.95* | 2.96* | 3.* | 4.* )
-       compiler="GCC"
-       ncbi_compiler="GCC"
-       ncbi_compiler_ver="$compiler_ver"
-                 WithFeatures="$WithFeatures${WithFeaturesSep}GCC"; WithFeaturesSep=" "
-       ;;
-   esac
+   compiler="GCC"
+   ncbi_compiler="GCC"
+   ncbi_compiler_ver="$compiler_ver"
+             WithFeatures="$WithFeatures${WithFeaturesSep}GCC"; WithFeaturesSep=" "
 elif test "$KCC" = "yes" ; then
    compiler_ver="$kcc_ver"
    compiler="KCC"
--- a/c++/src/build-system/configure.ac
+++ b/c++/src/build-system/configure.ac
@@ -800,14 +800,10 @@
 
 if test "$GCC" = "yes" ; then
    compiler_ver="`$real_CXX -dumpversion 2>&1`"
-   case "$compiler_ver" in
-     2.95* | 2.96* | 3.* | 4.* )
-       compiler="GCC"
-       ncbi_compiler="GCC"
-       ncbi_compiler_ver="$compiler_ver"
-       NCBI_FEATURE(GCC)
-       ;;
-   esac
+   compiler="GCC"
+   ncbi_compiler="GCC"
+   ncbi_compiler_ver="$compiler_ver"
+   NCBI_FEATURE(GCC)
 elif test "$KCC" = "yes" ; then
    compiler_ver="$kcc_ver"
    compiler="KCC"
