Skip to content

Commit

Permalink
Merge pull request rakshasa#753 from ss23/cross_compiling-execinfo
Browse files Browse the repository at this point in the history
Use AC_COMPILE instead of AC_RUN to check for execinfo.h
  • Loading branch information
rakshasa authored Jun 27, 2018
2 parents f0207ce + f84670d commit a4b281a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common.m4
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dnl Need to fix this so that it uses the stuff defined by the system.
AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_MSG_CHECKING(for execinfo.h)
AC_RUN_IFELSE([AC_LANG_SOURCE([
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <execinfo.h>
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
])],
Expand Down

0 comments on commit a4b281a

Please sign in to comment.