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 <dh.herrmann@googlemail.com>
This commit is contained in:
David Herrmann 2012-03-23 13:30:36 +01:00
parent 253ef4850f
commit 564d42fde9

View File

@ -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])