Turn on debug if $VERSION is master rather than commenting and uncommenting.

This commit is contained in:
Nicholas Marriott
2017-04-20 12:06:39 +01:00
parent 48371216df
commit aebbb15fe2
3 changed files with 11 additions and 17 deletions

View File

@ -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),