mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Enable making with -ggdb3 on configure --enable-debug
This commit is contained in:
parent
525d37d6a4
commit
135efd5705
@ -567,11 +567,13 @@ fi
|
||||
|
||||
AC_ARG_ENABLE([debug],
|
||||
[AS_HELP_STRING([--enable-debug],
|
||||
[Enable asserts and internal sanity checks @<:@default=no@:>@])],
|
||||
[Enable compiling with maximum debug info, asserts and internal sanity checks @<:@default=no@:>@])],
|
||||
[],
|
||||
[enable_debug=no])
|
||||
if test "x$enable_debug" != xyes; then
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -DNDEBUG"
|
||||
else
|
||||
AM_CPPFLAGS="$AM_CPPFLAGS -ggdb3"
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user