diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-09 11:09:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-09 11:41:17 +0100 |
commit | b11bc37684181390fc1400afb44054785104ca15 (patch) | |
tree | aa6847b9ba6ebc3baa280161372114804bbfc146 /configure.ac | |
parent | 21798a88676e91049917fafd3196dd4374b94226 (diff) |
sna: Simplify the DBG incarnation
It was only ever used in conjunction with HAS_DEBUG_FULL. For debug
purposes it is as easy to redefine DBG locally. By simplifying the DBG
macro we can create it consistently and so reduce the number of compiler
warnings.
Long term, this has to be dynamic. Sigh.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 720a0bab..f1ffacc4 100644 --- a/configure.ac +++ b/configure.ac @@ -315,6 +315,7 @@ if test "x$KMS_ONLY" = xyes; then fi AM_CONDITIONAL(DEBUG, test x$DEBUG != xno) +AM_CONDITIONAL(FULL_DEBUG, test x$FULL_DEBUG == xfull) if test "x$DEBUG" = xno; then AC_DEFINE(NDEBUG,1,[Disable internal debugging]) fi |