]> git.lyx.org Git - features.git/commitdiff
Let gcc 4.x be handled.
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 30 Jul 2006 13:58:10 +0000 (13:58 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Sun, 30 Jul 2006 13:58:10 +0000 (13:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8

config/lyxinclude.m4

index 1d16ed827204294450958c93672edcc1b72506e0..d844177fd3470d4bf3b2d3633702bcb11ac7c835 100644 (file)
@@ -257,7 +257,7 @@ if test x$GXX = xyes; then
   case $gxx_version in
       3.1*)    AM_CXXFLAGS="-finline-limit=500 ";;
       3.2*|3.3*)    AM_CXXFLAGS="";;
-      3.4*|4.0*)
+      3.4*|4.*)
           AM_CXXFLAGS=""
           test $enable_pch = yes && lyx_pch_comp=yes
           ;;
@@ -265,7 +265,7 @@ if test x$GXX = xyes; then
   esac
   if test x$enable_stdlib_debug = xyes ; then
     case $gxx_version in
-      3.4*|4.0*)
+      3.4*|4.*)
         lyx_flags="stdlib-debug $lyx_flags"
        AC_DEFINE(_GLIBCXX_DEBUG, 1, [libstdc++ debug mode])
        AC_DEFINE(_GLIBCXX_DEBUG_PEDANTIC, 1, [libstdc++ pedantic debug mode])
@@ -278,7 +278,7 @@ if test x$GXX = xyes; then
         lyx_flags="concept-checks $lyx_flags"
         AC_DEFINE(_GLIBCPP_CONCEPT_CHECKS, 1, [libstdc++ concept checking])
        ;;
-      3.4*|4.0*)
+      3.4*|4.*)
         lyx_flags="concept-checks $lyx_flags"
        AC_DEFINE(_GLIBCXX_CONCEPT_CHECKS, 1, [libstdc++ concept checking])
        ;;