aboutsummaryrefslogtreecommitdiffstats
path: root/m4/gecko.m4
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-14 07:09:02 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-14 07:09:02 +0800
commit77ec45b36b16ad46d82d8fddd842469ca336ab4a (patch)
tree67c77d6c7ed3c23f71103da164b4f197133c06b9 /m4/gecko.m4
parent52e513f13c02370716a2f87254caaf6b3b68d57d (diff)
downloadgsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.gz
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.bz2
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.lz
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.xz
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.zst
gsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.zip
Add a define and automake conditional for gecko debug builds.
2006-02-14 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add a define and automake conditional for gecko debug builds.
Diffstat (limited to 'm4/gecko.m4')
-rw-r--r--m4/gecko.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index ee565dbd8..d34ab2f28 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -210,10 +210,14 @@ AC_LANG_POP([C++])
if test "$gecko_cv_have_debug" = "yes"; then
_GECKO_EXTRA_CXXFLAGS="$_GECKO_EXTRA_CXXFLAGS -DDEBUG -D_DEBUG"
AM_CXXFLAGS="-DDEBUG -D_DEBUG $AM_CXXFLAGS"
+
+ AC_DEFINE([HAVE_GECKO_DEBUG],[1],[Define if gecko is a debug build])
fi
fi # if gecko_cv_have_gecko
+AM_CONDITIONAL([HAVE_GECKO_DEBUG],[test "$gecko_cv_have_debug" = "yes"])
+
# ***********************
# Check for gecko version
# ***********************