From: Lars Gullik Bjønnes Date: Sun, 30 Jul 2006 13:58:10 +0000 (+0000) Subject: Let gcc 4.x be handled. X-Git-Tag: 1.6.10~12903 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d291109ec3171822f49b636ecdcf330c259b66a5;p=features.git Let gcc 4.x be handled. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index 1d16ed8272..d844177fd3 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -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]) ;;