From a6be89461fec308f187f811ad952fc2b4019c561 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 16 Aug 2020 18:15:33 +0900 Subject: Allow to use backtrace(3) external library for kdebug Signed-off-by: OBATA Akio (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c) --- config.h.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.h.cmake') 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 -- cgit v1.2.1