[package] update curl to 7.19.5 (#5219)
[openwrt/svn-archive/archive.git] / libs / curl / patches / 100-cross_compile.patch
1 Index: curl-7.19.5/configure
2 ===================================================================
3 --- curl-7.19.5.orig/configure 2009-05-25 10:09:06.000000000 +0400
4 +++ curl-7.19.5/configure 2009-05-25 10:09:06.000000000 +0400
5 @@ -25173,16 +25173,6 @@
6 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7 fi
8
9 - if test "$OPENSSL_ENABLED" = "1"; then
10 - if test -n "$LIB_OPENSSL"; then
11 -
12 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL"
13 - export LD_LIBRARY_PATH
14 - { $as_echo "$as_me:$LINENO: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&5
15 -$as_echo "$as_me: Added $LIB_OPENSSL to LD_LIBRARY_PATH" >&6;}
16 - fi
17 - fi
18 -
19 fi
20
21
22 @@ -26177,19 +26167,6 @@
23 fi
24
25
26 - if test "x$USE_GNUTLS" = "xyes"; then
27 - { $as_echo "$as_me:$LINENO: detected GnuTLS version $version" >&5
28 -$as_echo "$as_me: detected GnuTLS version $version" >&6;}
29 -
30 - if test -n "$gtlslib"; then
31 -
32 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib"
33 - export LD_LIBRARY_PATH
34 - { $as_echo "$as_me:$LINENO: Added $gtlslib to LD_LIBRARY_PATH" >&5
35 -$as_echo "$as_me: Added $gtlslib to LD_LIBRARY_PATH" >&6;}
36 - fi
37 - fi
38 -
39 fi
40
41 fi
42 Index: curl-7.19.5/configure.ac
43 ===================================================================
44 --- curl-7.19.5.orig/configure.ac 2009-05-25 10:40:49.000000000 +0400
45 +++ curl-7.19.5/configure.ac 2009-05-25 10:40:49.000000000 +0400
46 @@ -1340,18 +1340,6 @@
47 ])
48 fi
49
50 - if test "$OPENSSL_ENABLED" = "1"; then
51 - if test -n "$LIB_OPENSSL"; then
52 - dnl when the ssl shared libs were found in a path that the run-time
53 - dnl linker doesn't search through, we need to add it to LD_LIBRARY_PATH
54 - dnl to prevent further configure tests to fail due to this
55 -
56 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL"
57 - export LD_LIBRARY_PATH
58 - AC_MSG_NOTICE([Added $LIB_OPENSSL to LD_LIBRARY_PATH])
59 - fi
60 - fi
61 -
62 fi
63
64 dnl **********************************************************************
65 @@ -1615,21 +1603,6 @@
66 CPPFLAGS="$CLEANCPPFLAGS"
67 ])
68
69 - if test "x$USE_GNUTLS" = "xyes"; then
70 - AC_MSG_NOTICE([detected GnuTLS version $version])
71 -
72 - if test -n "$gtlslib"; then
73 - dnl when shared libs were found in a path that the run-time
74 - dnl linker doesn't search through, we need to add it to
75 - dnl LD_LIBRARY_PATH to prevent further configure tests to fail
76 - dnl due to this
77 -
78 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib"
79 - export LD_LIBRARY_PATH
80 - AC_MSG_NOTICE([Added $gtlslib to LD_LIBRARY_PATH])
81 - fi
82 - fi
83 -
84 fi
85
86 fi dnl GNUTLS not disabled