Commit f75e5bdc authored by Patrick Welche's avatar Patrick Welche Committed by Simon McVittie

configure.ac: backtrace() may be in libexecinfo

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69702Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent be241064
......@@ -666,7 +666,10 @@ AC_CHECK_HEADERS(sys/resource.h)
AC_CHECK_HEADERS(dirent.h)
AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
AC_CHECK_HEADERS([execinfo.h],
[AC_SEARCH_LIBS([backtrace], [execinfo],
[AC_DEFINE([HAVE_BACKTRACE], [1],
[Define to 1 if you have backtrace().])])])
AC_CHECK_HEADERS(errno.h)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment