mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Define the debug mode tokes instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8763 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
10759f2112
commit
9e982df7a0
@ -1,7 +1,11 @@
|
||||
2004-05-18 Lars Gullik Bjonnes <larsbj@lyx.org>
|
||||
|
||||
* lyxinclude.m4 (lyx_warning): change debug mode setup to use AC_DEFINE
|
||||
|
||||
2004-05-18 Lars Gullik Bjonnes <larsbj@gullik.net>
|
||||
|
||||
* lyxinclude.m4 (enable-debug): Use the libstdc++ debugging mode
|
||||
if configuring with enable-debug.
|
||||
if configuring with enable-debug.
|
||||
|
||||
2004-05-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
|
@ -24,7 +24,7 @@ fi
|
||||
changequote([, ]) dnl
|
||||
AC_SUBST(lyx_devel_version)
|
||||
if test $lyx_devel_version = yes ; then
|
||||
AC_DEFINE(DEVEL_VERSION, 1, Define if you are building a development version of LyX)
|
||||
AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
|
||||
fi])
|
||||
|
||||
|
||||
@ -217,7 +217,10 @@ if test x$GXX = xyes; then
|
||||
esac
|
||||
if test x$enable_debug = xyes ; then
|
||||
case $gxx_version in
|
||||
3.4*) CXXFLAGS="-g -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC $CXXFLAGS";;
|
||||
3.4*) CXXFLAGS="-g $CXXFLAGS"
|
||||
AC_DEFINE(_GLIBCXX_DEBUG, 1, [libstdc++ debug mode])
|
||||
AC_DEFINE(_GLIBCXX_DEBUG_PEDANTIC, 1, [libstdc++ pedantic debug mode])
|
||||
;;
|
||||
*) CXXFLAGS="-g $CXXFLAGS";;
|
||||
esac
|
||||
fi
|
||||
@ -227,6 +230,7 @@ if test x$GXX = xyes; then
|
||||
2.95.*) CXXFLAGS="$CXXFLAGS -W -Wall";;
|
||||
2.96*) CXXFLAGS="$CXXFLAGS -W -Wall";;
|
||||
3.1*) CXXFLAGS="$CXXFLAGS -W -Wall";;
|
||||
3.4*) CXXFLAGS="$CXXFLAGS -Wextra -Wall";;
|
||||
*) CXXFLAGS="$CXXFLAGS -W -Wall";;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user