Commit 547ace84 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Define NDEBUG when --enable-debug is not specified

parent 04a605b1
......@@ -1343,6 +1343,9 @@ dnl
[ --enable-debug debug mode (default disabled)])
test "${enable_debug}" != "yes" && enable_debug="no"
[Define to 1 if debug code should NOT be compiled])
AS_IF([test "x${enable_debug}" == "xno"], [AC_DEFINE(NDEBUG)])
dnl Enable release-specific flags
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment