mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
2e66a01e8f
commit
4c8245b613
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user