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:
parent
253ef4850f
commit
564d42fde9
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user