mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
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:
parent
38cca58f71
commit
d291109ec3
@ -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])
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user