From 35226d81ac2db45ce514f07d9be60b1dee5d88fe Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 19 Feb 2013 22:44:38 -0500 Subject: Disable TMX parser debugging noise by default. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4a28c1c..6b735f5 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,26 @@ if test "x$GCC" = "xyes"; then fi AC_SUBST(GCC_CFLAGS) +AC_ARG_ENABLE([debug-tmx], + [AC_HELP_STRING([--enable-debug-tmx], + [enable debug output from TMX parser])], + [enable_debug_tmx=yes], + []) +if test "x$enable_debug_tmx" = "xyes"; then + AC_DEFINE([DEBUG_TMX], [1], + [Define to 1 to enable debug output from TMX parser]) +fi + +AC_ARG_ENABLE([debug-compression], + [AC_HELP_STRING([--enable-debug-compression], + [enable debug output from tile data inflation])], + [enable_debug_compression=yes], + []) +if test "x$enable_debug_compression" = "xyes"; then + AC_DEFINE([DEBUG_COMPRESSION], [1], + [Define to 1 to enable debug output from tile data inflation]) +fi + AC_CONFIG_FILES([Makefile]) AC_CONFIG_HEADERS([config.h]) AC_OUTPUT() -- cgit v0.9.1