diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1569deaad..d460a4771 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,18 @@ PKG_CHECK_MODULES(EMPATHY, ]) # ----------------------------------------------------------- +# Enable debug +# ----------------------------------------------------------- + +AC_ARG_ENABLE(debug, + AC_HELP_STRING([--disable-debug],[compile without debug code]), + enable_debug=$enableval, enable_debug=yes ) + +if test x$enable_debug = xyes; then + AC_DEFINE(ENABLE_DEBUG, [], [Enable debug code]) +fi + +# ----------------------------------------------------------- # Language Support # ----------------------------------------------------------- |