summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-04-20 12:06:39 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-04-20 12:06:39 +0100
commitaebbb15fe2d1ef900e7a66dc16bdf89f2a2394d6 (patch)
tree2bfea31f5def2745abf9ffd6609f788b00dc6c4a /configure.ac
parent48371216df07c588180b8e2246930a96e94de62b (diff)
Turn on debug if $VERSION is master rather than commenting and uncommenting.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b078c4f4..31098d16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ AC_USE_SYSTEM_EXTENSIONS
test "$sysconfdir" = '${prefix}/etc' && sysconfdir=/etc
# Is this --enable-debug?
-enable_debug=yes
+test "x$VERSION" = xmaster && enable_debug=yes
AC_ARG_ENABLE(
debug,
AC_HELP_STRING(--enable-debug, enable debug build flags),