summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-16 18:15:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-08-17 23:07:26 +0900
commita6be89461fec308f187f811ad952fc2b4019c561 (patch)
tree12105b32217b7c8061741bc7a47d4e578a954f35 /config.h.cmake
parentf5a0ae91d37e4b965a3c26c9791e2958bb789754 (diff)
downloadtdelibs-a6be89461fec308f187f811ad952fc2b4019c561.tar.gz
tdelibs-a6be89461fec308f187f811ad952fc2b4019c561.zip
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index c7c9e116b..8900f2e86 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -66,8 +66,11 @@
/* Define if you have strvercmp prototype */
#cmakedefine HAVE_STRVERCMP_PROTO 1
-/* Define to 1 if execinfo.h exists and defines backtrace (GLIBC >= 2.1) */
+/* Define to 1 if GLIBC >= 2.1 compatible backtrace facility exists */
#cmakedefine HAVE_BACKTRACE 1
+#ifdef HAVE_BACKTRACE
+#define BACKTRACE_H <@Backtrace_HEADER@>
+#endif
/* Define to 1 if gcc (or may be some over compiller) provides abi::__cxa_demangle() */
#cmakedefine HAVE_ABI_CXA_DEMANGLE 1