patch-configure 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- rtorrent-0.8.6.orig/configure 2009-11-30 16:45:22.000000000 +0100
  2. +++ rtorrent-0.8.6/configure 2011-03-05 11:45:35.000000000 +0100
  3. @@ -14566,38 +14566,6 @@ fi
  4. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for execinfo.h" >&5
  5. -$as_echo_n "checking for execinfo.h... " >&6; }
  6. -
  7. - if test "$cross_compiling" = yes; then :
  8. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  9. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  10. -as_fn_error "cannot run test program while cross compiling
  11. -See \`config.log' for more details." "$LINENO" 5; }
  12. -else
  13. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14. -/* end confdefs.h. */
  15. -#include <execinfo.h>
  16. - int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
  17. -
  18. -_ACEOF
  19. -if ac_fn_c_try_run "$LINENO"; then :
  20. -
  21. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22. -$as_echo "yes" >&6; }
  23. -
  24. -$as_echo "#define USE_EXECINFO 1" >>confdefs.h
  25. -
  26. -
  27. -else
  28. -
  29. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  30. -$as_echo "no" >&6; }
  31. -
  32. -fi
  33. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  34. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  35. -fi