+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
*) 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