aboutsummaryrefslogtreecommitdiffstats
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
parent52e513f13c02370716a2f87254caaf6b3b68d57d (diff)
downloadgsoc2013-epiphany-77ec45b36b16ad46d82d8fddd842469ca336ab4a.tar.gz
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.
-rw-r--r--ChangeLog7
-rw-r--r--m4/gecko.m44
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70b4fdd41..e73cda02a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-02-14 Christian Persch <chpe@cvs.gnome.org>
+ * m4/gecko.m4:
+
+ Add a define and automake conditional for gecko
+ debug builds.
+
+2006-02-14 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/EphyPromptService.cpp:
Use "Username" label for the password dialogue,
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
# ***********************