From: Brian Gaeke Date: Fri, 20 Feb 2004 06:41:59 +0000 (+0000) Subject: Add checks for and backtrace(). X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=22f7646d5e945593710b6c2aae5fa3c68f591a0e;p=oota-llvm.git Add checks for and backtrace(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11660 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/autoconf/configure.ac b/autoconf/configure.ac index dd69b8f9aed..46f49c00bcd 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -231,7 +231,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT 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 AC_TYPE_PID_T @@ -269,7 +269,7 @@ then fi AC_HEADER_MMAP_ANONYMOUS 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])) dnl Determine if the linker supports the -R option.