(Backport from changeset 14515 from Lars)

Let gcc 4.x be handled.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-08-08 14:06:21 +00:00
parent a06167692c
commit 08b31ac8a5
3 changed files with 16 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2006-08-08 Lars Gullik Bjønnes <larsbj@lyx.org>
* lyxinclude.m4: Let gcc 4.x be handled.
2006-08-08 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* lyxinclude.m4 (LYX_PROG_CXX): Set CPPFLAGS only if not already

View File

@ -262,7 +262,7 @@ if test x$GXX = xyes; then
2.96*) AM_CXXFLAGS="-fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend";;
3.1*) AM_CXXFLAGS="-finline-limit=500 -fno-exceptions";;
3.2*|3.3*) AM_CXXFLAGS="-fno-exceptions";;
3.4*|4.0*)
3.4*|4.*)
AM_CXXFLAGS="-fno-exceptions"
test $enable_pch = yes && lyx_pch_comp=yes
;;
@ -270,7 +270,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])
@ -283,7 +283,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])
;;

View File

@ -44,6 +44,15 @@ What's new
- Handle the Meta keyboard modifier as Alt (Qt only).
* Build/installation:
- Fix 'check' make target for systems which do not have /bin/bash (bug 2524).
- Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS).
- Handle properly gcc 4.1 in configure.
* Miscellaneous
- Display latex package checking results faster during configuration.
@ -51,7 +60,3 @@ What's new
- Change the encoding of some python scripts from iso-8859-15 to
iso-8859-1. The former causes problems with embedded python.
- Fix 'check' make target for systems which do not have /bin/bash (bug 2524)
- Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for
setting CPPFLAGS).