summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2019-09-30 09:26:13 +0200
committerRoland Hieber <rhi@pengutronix.de>2019-10-11 16:49:39 +0200
commit8874600851ac3b498cd32746ae683d09ff89d596 (patch)
treedb1519a310465379a0b1bcc05c7e41f0ccabb233
parent81c542966f9948c71821fdd26935ede49f819cd5 (diff)
downloaddt-utils-8874600851ac3b498cd32746ae683d09ff89d596.tar.gz
dt-utils-8874600851ac3b498cd32746ae683d09ff89d596.tar.xz
configure: remove build time option '--enable-debug'
If enabled it defined the C preprocessor macro 'DEBUG' which wasn't used anywhere. Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
-rw-r--r--configure.ac8
1 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 5dd17b2..d679fa3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,13 +18,6 @@ AC_PREFIX_DEFAULT([/usr])
AC_PROG_SED
AC_PROG_MKDIR_P
-AC_ARG_ENABLE([debug],
- AS_HELP_STRING([--enable-debug], [enable debug messages @<:@default=disabled@:>@]),
- [], [enable_debug=no])
-AS_IF([test "x$enable_debug" = "xyes"], [
- AC_DEFINE(DEBUG, [1], [Debug messages.])
-])
-
AC_ARG_ENABLE([state-backward-compatibility],
AS_HELP_STRING([--enable-state-backward-compatibility], [keep the 'direct' storage backend backward compatible @<:@default=disabled@:>@]),
[], [enable_state_backward_compatibility=no])
@@ -68,6 +61,5 @@ AC_MSG_RESULT([
cflags: ${CFLAGS}
ldflags: ${LDFLAGS}
- debug: ${enable_debug}
state-backward-compatibility: ${enable_state_backward_compatibility}
])