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.

20 lines
697 B

  1. --- a/scripts/common.m4
  2. +++ b/scripts/common.m4
  3. @@ -153,7 +153,7 @@ dnl Need to fix this so that it uses t
  4. AC_DEFUN([TORRENT_CHECK_EXECINFO], [
  5. AC_MSG_CHECKING(for execinfo.h)
  6. - AC_RUN_IFELSE([AC_LANG_SOURCE([
  7. + AC_LINK_IFELSE([AC_LANG_SOURCE([
  8. #include <execinfo.h>
  9. int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
  10. ])],
  11. @@ -168,7 +168,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
  12. AC_DEFUN([TORRENT_CHECK_ALIGNED], [
  13. AC_MSG_CHECKING(the byte alignment)
  14. - AC_RUN_IFELSE([AC_LANG_SOURCE([
  15. + AC_LINK_IFELSE([AC_LANG_SOURCE([
  16. #include <inttypes.h>
  17. int main() {
  18. char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };