summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-01 16:17:19 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-04 12:14:37 +0000
commit980e1f402485eac690627425e45b6442baad7553 (patch)
tree6892774bff77663e4f10404b8b65927789cca2de /configure.ac
parentfe9f456a4b5dd457ca19a986bbcbac5acad360b2 (diff)
Remove --disable-debug option
It makes the executable basically impossible to debug and we don't recommend that anyone uses it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=26609 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index ee589bc1d..317be2008 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,10 +149,6 @@ if test -n "$with_ca_certificates"; then
fi
fi
-AC_ARG_ENABLE(debug,
- AC_HELP_STRING([--disable-debug],[compile without debug code]),
- enable_debug=$enableval, enable_debug=yes )
-
ifelse(gabble_nano_version, 0,
[ # Gabble is version x.y.z - disable coding style checks by default
AC_ARG_ENABLE(coding-style-checks,
@@ -167,11 +163,6 @@ AC_ARG_ENABLE(coding-style-checks,
[ENABLE_CODING_STYLE_CHECKS=$enableval], [ENABLE_CODING_STYLE_CHECKS=yes])
])
-if test x$enable_debug = xyes; then
- AC_DEFINE(ENABLE_DEBUG, [], [Enable debug code])
-fi
-AM_CONDITIONAL([ENABLE_DEBUG], [test "x$enable_debug" = xyes])
-
AC_SUBST([ENABLE_CODING_STYLE_CHECKS])
AC_ARG_ENABLE([installed-tests],
@@ -451,7 +442,6 @@ Configure summary:
Compiler Flags..............: ${CFLAGS} ${ERROR_CFLAGS}
Prefix......................: ${prefix}
Coding style checks.........: ${ENABLE_CODING_STYLE_CHECKS}
- Enable debug................: ${enable_debug}
Python tests................: ${tests_enabled}
Install unit tests..........: ${installed_tests}