summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-15 22:18:04 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-09-23 17:11:30 +0900
commit443e9d7cf59bb88f8920628405b2e1c6aaf770d0 (patch)
treeae5ebcd9f4142c171550884de6157877bb3a43ae /config.h.cmake
parent08cea68d1ac6b82ce7fb7aa3c152c272afb5a135 (diff)
downloadtdesdk-443e9d7c.tar.gz
tdesdk-443e9d7c.zip
Add a backtrace function and library detection.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit cf63191672fff12cd57892ba4642ed4f01e9c6a4)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index f1ac1ba4..d9eac5e5 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -5,3 +5,9 @@
// kbabeldict/modules/dbsearchengine
#cmakedefine USE_DB_H_PATH <@USE_DB_H_PATH@>
+
+/* Define to 1 if GLIBC >= 2.1 compatible backtrace facility exists */
+#cmakedefine HAVE_BACKTRACE 1
+#ifdef HAVE_BACKTRACE
+#define BACKTRACE_H <@Backtrace_HEADER@>
+#endif