diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-02-16 18:47:12 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-05-05 12:32:04 +0000 |
commit | cb36af6f6702f0f6b027fa0cf5d580d74cb4398f (patch) | |
tree | 672be87a8921f4be292d0967d028c11a55241ca0 /configure.ac | |
parent | 5e738a2deec976ffac6c313327f407d7e4760076 (diff) |
Check for existence of GNU-style strerror_r
If we don't have it, we don't translate system error codes to strings in
dwfl_error.c.
Change-Id: I829616cfba787d778c3273f2042512739df91d81
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e55360da..6cbd70d4 100644 --- a/configure.ac +++ b/configure.ac @@ -456,6 +456,8 @@ char *basename(const char *path); #endif ]) +AC_FUNC_STRERROR_R + AC_CHECK_LIB([stdc++], [__cxa_demangle], [dnl AC_DEFINE([USE_DEMANGLE], [1], [Defined if demangling is enabled])]) AM_CONDITIONAL(DEMANGLE, test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes") |