Skip to content

Commit 3109bac

Browse files
committed
Add a warning message in configure to suggest libunwind 1.8+
1 parent e5121cc commit 3109bac

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

configure.ac

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,10 +1178,13 @@ if test "$with_libunwind" != no; then
11781178
First argument must be non-null. */
11791179
unw_get_elf_filename(&cursor, (char*)0, (size_t)0, (unw_word_t*)0);
11801180
]]
1181-
)],
1182-
AC_DEFINE([HAVE_LIBUNWIND_ELF_FILENAME], [1], [Define if libunwind has unw_get_elf_filename])
1183-
AC_MSG_RESULT(yes),
1184-
AC_MSG_RESULT(no)
1181+
)], [
1182+
AC_DEFINE([HAVE_LIBUNWIND_ELF_FILENAME], [1], [Define if libunwind has unw_get_elf_filename])
1183+
AC_MSG_RESULT(yes)
1184+
], [
1185+
AC_MSG_RESULT(no)
1186+
AC_MSG_WARN([showing filenames in backtrace screen requires libunwind 1.8 or later])
1187+
]
11851188
)
11861189

11871190
if test "$have_libunwind_ptrace" != no && test "x$ac_cv_lib_unwind_ptrace__UPT_create" != xyes; then

0 commit comments

Comments
 (0)