Let gcc 4.x be handled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14515 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-07-30 13:58:10 +00:00
parent 38cca58f71
commit d291109ec3

View 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])
;;