--- a/mcabber/configure.ac Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/configure.ac Sun Feb 17 21:15:30 2008 +0100
@@ -213,7 +213,7 @@
[AC_HELP_STRING(--enable-debug, Add development compilation options)],
debug=$enableval, debug="")
if test x"${debug}" = x"yes"; then
- AC_DEFINE_UNQUOTED([DEBUG_ENABLE],[1],[Devel compilation options])
+ AC_DEFINE_UNQUOTED([ENABLE_DEBUG],[1],[Devel compilation options])
if test "x$GCC" = "xyes"; then
if test "$gccvernum" -ge "400"; then
CFLAGS="$CFLAGS -Wextra"
--- a/mcabber/src/commands.c Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/commands.c Sun Feb 17 21:15:30 2008 +0100
@@ -1481,7 +1481,7 @@
buffer_date(arg);
} else if (*subcmd == '%') {
buffer_percent(subcmd+1, arg);
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
} else if (!strcasecmp(subcmd, "list")) {
scr_BufferList();
#endif
--- a/mcabber/src/hbuf.c Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/hbuf.c Sun Feb 17 21:15:30 2008 +0100
@@ -412,7 +412,7 @@
return g_list_nth(hbuf, pc*hlen/100);
}
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
// hbuf_get_blocks_number()
// Returns the number of allocated hbuf_block's.
guint hbuf_get_blocks_number(GList *hbuf)
--- a/mcabber/src/hbuf.h Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/hbuf.h Sun Feb 17 21:15:30 2008 +0100
@@ -47,7 +47,7 @@
GList *hbuf_jump_date(GList *hbuf, time_t t);
GList *hbuf_jump_percent(GList *hbuf, int pc);
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
guint hbuf_get_blocks_number(GList *p_hbuf);
#endif
--- a/mcabber/src/main.c Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/main.c Sun Feb 17 21:15:30 2008 +0100
@@ -291,7 +291,7 @@
#ifdef WITH_ASPELL
puts("Compiled with Aspell support.");
#endif
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
puts("Compiled with debugging support.");
#endif
}
--- a/mcabber/src/screen.c Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/screen.c Sun Feb 17 21:15:30 2008 +0100
@@ -2661,7 +2661,7 @@
update_panels();
}
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
// buffer_list()
// key: winId/jid
// value: winbuf structure
--- a/mcabber/src/screen.h Sun Feb 17 19:28:06 2008 +0100
+++ b/mcabber/src/screen.h Sun Feb 17 21:15:30 2008 +0100
@@ -168,7 +168,7 @@
void scr_MucColor(const char *muc, muccoltype type);
void scr_MucNickColor(const char *nick, const char *color);
-#ifdef DEBUG_ENABLE
+#ifdef ENABLE_DEBUG
void scr_BufferList(void);
#endif