diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index db987c6..9b3e9d4 100644 --- a/configure.ac +++ b/configure.ac @@ -25,7 +25,10 @@ AC_MSG_RESULT([$build_mode]) AS_CASE([$build_mode], [debug], [AC_DEFINE([APLWC_BUILD_TYPE_DEBUG], [1], [Defined if the build mode is "debug"])], [release], [AC_DEFINE([APLWC_BUILD_TYPE_RELEASE], [1], [Defined if the build mode is "release"])], - [coverage], [AC_DEFINE([APLWC_BUILD_TYPE_COVERAGE], [1], [Defined if the build mode is "coverage"])] + [coverage], [ + AC_DEFINE([APLWC_BUILD_TYPE_COVERAGE], [1], [Defined if the build mode is "coverage"]), + AC_DEFINE([NDEBUG], [1], [Defined if the build mode is "coverage", to disable asserts]) + ] ) AC_CONFIG_FILES([ |