compile with exceptions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13302 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2006-03-06 06:44:16 +00:00
parent aa9da47369
commit 6d3939b030
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2006-03-06 Lars Gullik Bjønnes <larsbj@lyx.org>
* lyxinclude.m4: Turn exceptions on for gcc (read: don't turn them
off)
2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org> 2006-03-05 Lars Gullik Bjønnes <larsbj@lyx.org>
* lyxinclude.m4: Remove support for versions of GCC older than 3.1 * lyxinclude.m4: Remove support for versions of GCC older than 3.1

View File

@ -254,10 +254,10 @@ if test x$GXX = xyes; then
fi fi
fi fi
case $gxx_version in case $gxx_version in
3.1*) AM_CXXFLAGS="-finline-limit=500 -fno-exceptions";; 3.1*) AM_CXXFLAGS="-finline-limit=500 ";;
3.2*|3.3*) AM_CXXFLAGS="-fno-exceptions";; 3.2*|3.3*) AM_CXXFLAGS="";;
3.4*|4.0*) 3.4*|4.0*)
AM_CXXFLAGS="-fno-exceptions" AM_CXXFLAGS=""
test $enable_pch = yes && lyx_pch_comp=yes test $enable_pch = yes && lyx_pch_comp=yes
;; ;;
*) AM_CXXFLAGS="";; *) AM_CXXFLAGS="";;