diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2012-11-22 03:47:25 -0800 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2012-11-22 03:47:25 -0800 |
commit | 5f1a93bb29085c288149e144786d333db68cde0c (patch) | |
tree | 855cd325903975eb4e054c03bf351eba8f1f6a1b /config/res | |
parent | 088deb1efacf82078d195d57d8ccbc2ad6e4acd1 (diff) | |
download | layer_management-5f1a93bb29085c288149e144786d333db68cde0c.tar.gz |
LayerManagerService: stacktraces only enabled, if system supports it
the used backtrace functions used to print a stackdump on crashes
is not available on all platforms.
the build system now checks, if the system supports backtrace and
enables support if possible. Otherwise the stacktrace feature is disabled.
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'config/res')
-rw-r--r-- | config/res/config.h.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/res/config.h.cmake b/config/res/config.h.cmake index 3931338..ead108b 100644 --- a/config/res/config.h.cmake +++ b/config/res/config.h.cmake @@ -96,6 +96,17 @@ // build with native systemd support #cmakedefine WITH_SYSTEMD + +//----------------------------------------------------------------------------- +// platform configuration +//----------------------------------------------------------------------------- +// execinfo header file +#cmakedefine HAVE_EXECINFO_H + +// backtrace available +#cmakedefine HAVE_BACKTRACE + + //----------------------------------------------------------------------------- // human readable report //----------------------------------------------------------------------------- |