summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-16 18:15:33 +0900
committerOBATA Akio <obache@wizdas.com>2020-08-17 11:24:30 +0900
commit2167207adc49b498536a5a8533c27fc67e0c6e9c (patch)
treed00433343d58c044a2231df6c55fde1813e8058f /config.h.cmake
parent24045f55ce52cd0622a0b78e6cd36b99e11f39ac (diff)
downloadtdelibs-2167207adc49b498536a5a8533c27fc67e0c6e9c.tar.gz
tdelibs-2167207adc49b498536a5a8533c27fc67e0c6e9c.zip
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
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 49b689983..d3c4f0c7d 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