net/netperf: fix SOCK_DCCP compile issue (uClibc 0.9.31)
[packages.git] / net / rtorrent / patches / 100-fix_cross_compile.patch
1 --- a/configure.ac
2 +++ b/configure.ac
3 @@ -2,7 +2,6 @@
4  
5  AM_INIT_AUTOMAKE
6  AM_CONFIG_HEADER(config.h)
7 -AM_PATH_CPPUNIT(1.9.6)
8  
9  AC_PROG_CXX
10  AC_PROG_LIBTOOL
11 @@ -64,5 +63,4 @@
12         src/rpc/Makefile
13         src/ui/Makefile
14         src/utils/Makefile
15 -        test/Makefile
16  ])
17 --- a/Makefile.am
18 +++ b/Makefile.am
19 @@ -1,7 +1,4 @@
20 -SUBDIRS = \
21 -       doc \
22 -       src \
23 -       test
24 +SUBDIRS = src
25  
26  EXTRA_DIST= \
27         autogen.sh \
28 --- a/scripts/common.m4
29 +++ b/scripts/common.m4
30 @@ -209,7 +209,7 @@ dnl   Need to fix this so that it uses t
31  AC_DEFUN([TORRENT_CHECK_EXECINFO], [
32    AC_MSG_CHECKING(for execinfo.h)
33  
34 -  AC_RUN_IFELSE(
35 +  AC_LINK_IFELSE(
36      [[#include <execinfo.h>
37        int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;}
38      ]],