packages/net/rtorrent/patches/100-fix_cross_compile.patch

39 lines
744 B
Diff
Raw Normal View History

--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,6 @@
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
-AM_PATH_CPPUNIT(1.9.6)
AC_PROG_CXX
AC_PROG_LIBTOOL
@@ -64,5 +63,4 @@
src/rpc/Makefile
src/ui/Makefile
src/utils/Makefile
- test/Makefile
])
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,4 @@
-SUBDIRS = \
- doc \
- src \
- test
+SUBDIRS = src
EXTRA_DIST= \
autogen.sh \
--- a/scripts/common.m4
+++ b/scripts/common.m4
@@ -209,7 +209,7 @@ dnl Need to fix this so that it uses t
AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_MSG_CHECKING(for execinfo.h)
- AC_RUN_IFELSE(
+ AC_LINK_IFELSE(
[[#include <execinfo.h>
int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
]],