Replaced custom execinfo autoconf test.

This commit is contained in:
rakshasa
2021-02-27 22:13:01 +09:00
parent e267e8bc07
commit 3f72e27603
3 changed files with 4 additions and 20 deletions
-15
View File
@@ -150,21 +150,6 @@ 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_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <execinfo.h>
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
])],
[
AC_MSG_RESULT(yes)
AC_DEFINE(USE_EXECINFO, 1, Use execinfo.h)
], [
AC_MSG_RESULT(no)
])
])
AC_DEFUN([TORRENT_CHECK_ALIGNED], [
AC_MSG_CHECKING(the byte alignment)