enable exceptions and see what happens

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4200 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-05-24 12:12:32 +00:00
parent 20d61473cc
commit 0e284bbf55
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2002-05-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxinclude.m4 (lyx_warning): enable exceptions and see what
happens.
2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
* lyxinclude.m4 (lyx_warning): add entry for gcc 3.1 * lyxinclude.m4 (lyx_warning): add entry for gcc 3.1

View File

@ -206,14 +206,13 @@ if test x$GXX = xyes; then
CXXFLAGS="$ac_save_CXXFLAGS" CXXFLAGS="$ac_save_CXXFLAGS"
else else
case $gxx_version in case $gxx_version in
2.95.1) CXXFLAGS="$lyx_opt -fpermissive -fno-rtti -fno-exceptions";; 2.95.1) CXXFLAGS="$lyx_opt -fpermissive";;
2.95.2) CXXFLAGS="$lyx_opt -fno-rtti -fno-exceptions";; 2.95.2) CXXFLAGS="$lyx_opt";;
2.95.*) CXXFLAGS="$lyx_opt -fno-exceptions";; 2.95.*) CXXFLAGS="$lyx_opt";;
2.96*) CXXFLAGS="$lyx_opt -fno-exceptions";; 2.96*) CXXFLAGS="$lyx_opt";;
3.0*) CXXFLAGS="$lyx_opt -fno-rtti -fno-exceptions";; 3.0*) CXXFLAGS="$lyx_opt";;
3.1*) CXXFLAGS="$lyx_opt -fno-rtti -fno-exceptions";; 3.1*) CXXFLAGS="$lyx_opt";;
*2.91.*) CXXFLAGS="$lyx_opt -fno-rtti -fno-exceptions";; *) CXXFLAGS="$lyx_opt";;
*) CXXFLAGS="$lyx_opt -fno-rtti -fno-exceptions";;
esac esac
if test x$enable_debug = xyes ; then if test x$enable_debug = xyes ; then
CXXFLAGS="-g $CXXFLAGS" CXXFLAGS="-g $CXXFLAGS"
@ -229,8 +228,6 @@ if test x$GXX = xyes; then
case $gxx_version in case $gxx_version in
2.95.*) ;; 2.95.*) ;;
2.96*) ;; 2.96*) ;;
2.97*) ;;
*2.91*) ;;
*) ;; *) ;;
esac esac
fi fi