mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-22 05:48:01 +01:00
configure: Do not keep assertion if debug was not enabled
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
4cf72c990d
commit
349bc2dda2
@@ -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"
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user