3 @@ -19,7 +19,6 @@ AC_SUBST(LIBTORRENT_INTERFACE_VERSION_NO
6 AC_CONFIG_HEADERS(config.h)
7 -AM_PATH_CPPUNIT(1.9.6)
11 --- a/scripts/checks.m4
12 +++ b/scripts/checks.m4
13 @@ -96,7 +96,7 @@ AC_DEFUN([TORRENT_CHECK_KQUEUE], [
14 AC_DEFUN([TORRENT_CHECK_KQUEUE_SOCKET_ONLY], [
15 AC_MSG_CHECKING(whether kqueue supports pipes and ptys)
17 - AC_RUN_IFELSE([AC_LANG_SOURCE([
18 + AC_LINK_IFELSE([AC_LANG_SOURCE([
22 --- a/scripts/common.m4
23 +++ b/scripts/common.m4
24 @@ -223,7 +223,7 @@ dnl Need to fix this so that it uses t
25 AC_DEFUN([TORRENT_CHECK_EXECINFO], [
26 AC_MSG_CHECKING(for execinfo.h)
28 - AC_RUN_IFELSE([AC_LANG_SOURCE([
29 + AC_LINK_IFELSE([AC_LANG_SOURCE([
31 int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
33 @@ -238,7 +238,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
34 AC_DEFUN([TORRENT_CHECK_ALIGNED], [
35 AC_MSG_CHECKING(the byte alignment)
37 - AC_RUN_IFELSE([AC_LANG_SOURCE([
38 + AC_LINK_IFELSE([AC_LANG_SOURCE([
41 char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };