[libgtop] Always define LIBGTOP_ENABLE_DEBUG (0|1) to be used in if() statements.
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Always define LIBGTOP_ENABLE_DEBUG (0|1) to be used in if() statements.
- Date: Wed, 15 Jul 2015 19:26:02 +0000 (UTC)
commit fd29dae93328503eb8ae89aa30152b8101823131
Author: Benoit Dejean <bdejean gmail com>
Date: Sun Jun 21 21:43:43 2015 +0200
Always define LIBGTOP_ENABLE_DEBUG (0|1) to be used in if() statements.
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2e78e67..a675cf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,7 +263,8 @@ dnl Debugging
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],
[Turn on debugging @<:@default=no@:>@]),
- AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]))
+ AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]),
+ AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 0, [Define to disable debugging]))
AC_ARG_ENABLE(fatal-warnings,
AS_HELP_STRING([--enable-fatal-warnings],
[Make all warnings fatal @<:@debug=no@:>@]),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]