mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Add checks for <execinfo.h> and backtrace().
llvm-svn: 11660
This commit is contained in:
parent
168e4bf455
commit
16a18d203e
@ -231,7 +231,7 @@ AC_HEADER_STDC
|
|||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
|
|
||||||
dnl Checks for POSIX and other various system-specific header files
|
dnl Checks for POSIX and other various system-specific header files
|
||||||
AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h)
|
AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h malloc.h sys/mman.h sys/resource.h dlfcn.h link.h execinfo.h)
|
||||||
|
|
||||||
dnl Check for types
|
dnl Check for types
|
||||||
AC_TYPE_PID_T
|
AC_TYPE_PID_T
|
||||||
@ -269,7 +269,7 @@ then
|
|||||||
fi
|
fi
|
||||||
AC_HEADER_MMAP_ANONYMOUS
|
AC_HEADER_MMAP_ANONYMOUS
|
||||||
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
||||||
AC_CHECK_FUNCS(getcwd gettimeofday strdup strtoq strtoll)
|
AC_CHECK_FUNCS(getcwd gettimeofday strdup strtoq strtoll backtrace)
|
||||||
AC_CHECK_FUNC(mprotect,,AC_MSG_ERROR([Function mprotect() required but not found]))
|
AC_CHECK_FUNC(mprotect,,AC_MSG_ERROR([Function mprotect() required but not found]))
|
||||||
|
|
||||||
dnl Determine if the linker supports the -R option.
|
dnl Determine if the linker supports the -R option.
|
||||||
|
Loading…
Reference in New Issue
Block a user