3 @@ -4,7 +4,6 @@ AC_DEFINE(API_VERSION, 9, api version)
6 AC_CONFIG_HEADERS(config.h)
7 -AM_PATH_CPPUNIT(1.9.6)
11 --- a/scripts/common.m4
12 +++ b/scripts/common.m4
13 @@ -153,7 +153,7 @@ dnl Need to fix this so that it uses t
14 AC_DEFUN([TORRENT_CHECK_EXECINFO], [
15 AC_MSG_CHECKING(for execinfo.h)
17 - AC_RUN_IFELSE([AC_LANG_SOURCE([
18 + AC_LINK_IFELSE([AC_LANG_SOURCE([
20 int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
22 @@ -168,7 +168,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
23 AC_DEFUN([TORRENT_CHECK_ALIGNED], [
24 AC_MSG_CHECKING(the byte alignment)
26 - AC_RUN_IFELSE([AC_LANG_SOURCE([
27 + AC_LINK_IFELSE([AC_LANG_SOURCE([
30 char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };