You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
895 B

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