From f6a39baf398131f882f052cd47f45c220ec6edd8 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Tue, 29 May 2012 11:12:21 +0200 Subject: [PATCH] build: define KMSCON_ENABLE_DEBUG on --enable-debug We build several internal libraries and to keep the namespaces apart we also need different debug constants. Therefore, introduce the new KMSCON_ENABLE_DEBUG constant which is for every debug object in base kmscon code. Signed-off-by: David Herrmann --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 68ce36c..4e2a9fe 100644 --- a/configure.ac +++ b/configure.ac @@ -109,6 +109,7 @@ AC_MSG_RESULT([$debug]) if test ! x$debug = xyes ; then AC_DEFINE([NDEBUG], [1], [No Debug]) else + AC_DEFINE([KMSCON_ENABLE_DEBUG], [1], [Enable debug for kmscon]) AC_DEFINE([LOG_ENABLE_DEBUG], [1], [Enable debug for log subsystem]) fi