From: Christophe CURIS <[email protected]>

Signed-off-by: Christophe CURIS <[email protected]>
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 0415bbc..8f65979 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,6 +95,10 @@ AS_IF([test "x$debug" = "xyes"],
      dnl
      dnl Enable internal debug code
      CPPFLAGS="$CPPFLAGS -DDEBUG"
+],  [dnl
+     dnl When debug is not enabled, the user probably does not wants to keep
+     dnl assertions in the final program
+     CPPFLAGS="$CPPFLAGS -DNDEBUG"
 ])
 
 
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to