summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-02-16 11:22:02 +0100
committerDaniel Lange <DLange@git.local>2021-02-16 11:24:45 +0100
commit135efd5705645e6a7fda7cd7f961783caf391078 (patch)
tree0d078c943c150c9cd488d2fd53cafc3ed84b334a /configure.ac
parent525d37d6a493e14c8a85b6e20159bb15ff20c406 (diff)
Enable making with -ggdb3 on configure --enable-debug
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4626b592..b2e3fefb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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

© 2014-2024 Faster IT GmbH | imprint | privacy policy