From 3675829c3fadbec2080d04404865a698b5bc3082 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 19 Feb 2013 22:53:23 -0500 Subject: Clean up some "#if 0" conditions. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6b735f5..16e4ced 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,17 @@ if test "x$enable_debug_compression" = "xyes"; then [Define to 1 to enable debug output from tile data inflation]) fi +AC_ARG_ENABLE([debug-render], + [AC_HELP_STRING([--enable-debug-render], + [enable debug output from map layer blits and area rendering])], + [enable_debug_render=yes], + []) +if test "x$enable_debug_render" = "xyes"; then + AC_DEFINE([DEBUG_RENDER], [1], + [Define to 1 to enable debug output from map layer blits and + area rendering]) +fi + AC_CONFIG_FILES([Makefile]) AC_CONFIG_HEADERS([config.h]) AC_OUTPUT() -- cgit v0.9.1