From 77ec45b36b16ad46d82d8fddd842469ca336ab4a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 13 Feb 2006 23:09:02 +0000 Subject: Add a define and automake conditional for gecko debug builds. 2006-02-14 Christian Persch * m4/gecko.m4: Add a define and automake conditional for gecko debug builds. --- m4/gecko.m4 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'm4') 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 # *********************** -- cgit v1.2.3