From 6d3939b030eeb1d7875cc411f1b09e89f9333706 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Mon, 6 Mar 2006 06:44:16 +0000 Subject: [PATCH] compile with exceptions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13302 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/ChangeLog | 5 +++++ config/lyxinclude.m4 | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/config/ChangeLog b/config/ChangeLog index ca70c0fb15..843b1afe8b 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2006-03-06 Lars Gullik Bjønnes + + * lyxinclude.m4: Turn exceptions on for gcc (read: don't turn them + off) + 2006-03-05 Lars Gullik Bjønnes * lyxinclude.m4: Remove support for versions of GCC older than 3.1 diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index bf2a2a37d5..0def2730d3 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -254,10 +254,10 @@ if test x$GXX = xyes; then fi fi case $gxx_version in - 3.1*) AM_CXXFLAGS="-finline-limit=500 -fno-exceptions";; - 3.2*|3.3*) AM_CXXFLAGS="-fno-exceptions";; + 3.1*) AM_CXXFLAGS="-finline-limit=500 ";; + 3.2*|3.3*) AM_CXXFLAGS="";; 3.4*|4.0*) - AM_CXXFLAGS="-fno-exceptions" + AM_CXXFLAGS="" test $enable_pch = yes && lyx_pch_comp=yes ;; *) AM_CXXFLAGS="";; -- 2.39.2