sna: Use --enable-debug=full to enable extremely verbose debugging
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
021209d5d3
commit
6f59d7d190
|
|
@ -224,13 +224,16 @@ if test "x$SNA" != xno; then
|
|||
fi
|
||||
AC_MSG_RESULT([$sna_drivers])
|
||||
|
||||
AM_CONDITIONAL(DEBUG, test x$DEBUG = xyes)
|
||||
AM_CONDITIONAL(DEBUG, test x$DEBUG != xno)
|
||||
if test "x$DEBUG" = xno; then
|
||||
AC_DEFINE(NDEBUG,1,[Disable internal debugging])
|
||||
fi
|
||||
if test "x$DEBUG" = xyes; then
|
||||
if test "x$DEBUG" != xno; then
|
||||
AC_DEFINE(HAS_EXTRA_DEBUG,1,[Enable additional debugging])
|
||||
fi
|
||||
if test "x$DEBUG" = xfull; then
|
||||
AC_DEFINE(HAS_DEBUG_FULL,1,[Enable all debugging])
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS([sys/timerfd.h])
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#define DBG(x)
|
||||
|
||||
#define DEBUG_ALL 0
|
||||
#define DEBUG_ALL (HAS_DEBUG_FULL || 0)
|
||||
#define DEBUG_ACCEL (DEBUG_ALL || 0)
|
||||
#define DEBUG_BATCH (DEBUG_ALL || 0)
|
||||
#define DEBUG_BLT (DEBUG_ALL || 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue