poco: moved to github
[packages.git] / net / amule / patches / 001-no_backtrace.patch
1 --- a/configure
2 +++ b/configure
3 @@ -13984,66 +13984,6 @@ fi
4  
5  
6  
7 -# Check for bfd.h (to have proper backtraces without using wxExecute)
8 -
9 -       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd" >&5
10 -$as_echo_n "checking for bfd... " >&6; }
11 -       result=no
12 -       for bfd_ldadd in "" "${LIBINTL}" "-ldl" "-ldl ${LIBINTL}"; do
13 -               mule_backup_LIBS="$LIBS"
14 -               mule_backup_LDFLAGS="$LDFLAGS"
15 -               LIBS="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
16 -               LDFLAGS="$LDFLAGS ${ZLIB_LDFLAGS}"
17 -               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18 -/* end confdefs.h.  */
19 -
20 -
21 -                               #include <ansidecl.h>
22 -                               #include <bfd.h>
23 -
24 -int
25 -main ()
26 -{
27 -
28 -                               char *dummy = bfd_errmsg(bfd_get_error());
29 -
30 -  ;
31 -  return 0;
32 -}
33 -
34 -_ACEOF
35 -if ac_fn_c_try_link "$LINENO"; then :
36 -
37 -                       result=yes
38 -                       BFD_CPPFLAGS="-DHAVE_BFD"
39 -                       BFD_LIBS="-lbfd -liberty ${bfd_ldadd}"
40 -                       LIBS="$mule_backup_LIBS"
41 -                       LDFLAGS="$mule_backup_LDFLAGS"
42 -                       break
43 -
44 -fi
45 -rm -f core conftest.err conftest.$ac_objext \
46 -    conftest$ac_exeext conftest.$ac_ext
47 -               LIBS="$mule_backup_LIBS"
48 -               LDFLAGS="$mule_backup_LDFLAGS"
49 -       done
50 -
51 -       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
52 -$as_echo "$result" >&6; }
53 -
54 -       if test $result = no; then :
55 -  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
56 -        bfd.h not found or unusable, please install binutils development
57 -        package if you are a developer or want to help testing aMule" >&5
58 -$as_echo "$as_me: WARNING:
59 -        bfd.h not found or unusable, please install binutils development
60 -        package if you are a developer or want to help testing aMule" >&2;}
61 -_mule_warning_10=yes
62 -_mule_has_warnings=yes
63 -
64 -fi
65 -
66 -
67  
68         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
69  $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }