From 564d42fde91493b19132b9a5bb218b9c7ff88aa9 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Fri, 23 Mar 2012 13:30:36 +0100 Subject: [PATCH] build: define LOG_ENABLE_DEBUG if debugging Define LOG_ENABLE_DEBUG if we enabled debugging. The log subsystem uses this to enable the log_debug() statements. Signed-off-by: David Herrmann --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 21adf8e..32f1213 100644 --- a/configure.ac +++ b/configure.ac @@ -116,6 +116,8 @@ AC_MSG_RESULT([$debug]) if test ! x$debug = xyes ; then AC_DEFINE([NDEBUG], [1], [No Debug]) +else + AC_DEFINE([LOG_ENABLE_DEBUG], [1], [Enable debug for log subsystem]) fi AC_DEFINE([UTERM_HAVE_DRM], [1], [Use DRM uterm backend])