Use the libstdc++ debugging mode if compiling with enable-debug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8761 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2004-05-18 11:05:41 +00:00
parent 2e66a01e8f
commit 4c8245b613
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-18 Lars Gullik Bjonnes <larsbj@gullik.net>
* lyxinclude.m4 (enable-debug): Use the libstdc++ debugging mode
if configuring with enable-debug.
2004-05-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* xforms.m4 (LYX_CHECK_XFORMS_IMAGE_LOADER): rename

View File

@ -216,7 +216,10 @@ if test x$GXX = xyes; then
*) CXXFLAGS="$lyx_opt";;
esac
if test x$enable_debug = xyes ; then
CXXFLAGS="-g $CXXFLAGS"
case $gxx_version in
3.4*) CXXFLAGS="-g -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC $CXXFLAGS";;
*) CXXFLAGS="-g $CXXFLAGS";;
esac
fi
fi
if test x$enable_warnings = xyes ; then