mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 09:20:34 +02: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:
1 parent
4cf72c990d
commit
349bc2dda2
1 file changed
+4
@@ -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