port curl to buildroot-ng
[openwrt/svn-archive/archive.git] / libs / curl / patches / 500-configure_cross.patch
1 diff -ruN curl-7.14.0-old/configure curl-7.14.0-new/configure
2 --- curl-7.14.0-old/configure 2005-05-14 00:23:47.000000000 +0200
3 +++ curl-7.14.0-new/configure 2005-09-02 02:03:38.000000000 +0200
4 @@ -26132,10 +26132,10 @@
5
6 fi
7
8 - if test "$OPENSSL_ENABLED" = "1"; then
9 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
10 - export LD_LIBRARY_PATH
11 - fi
12 +# if test "$OPENSSL_ENABLED" = "1"; then
13 +# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
14 +# export LD_LIBRARY_PATH
15 +# fi
16
17 fi
18
19 @@ -26325,8 +26325,8 @@
20 echo "$as_me: detected GnuTLS version $version" >&6;}
21
22
23 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
24 - export LD_LIBRARY_PATH
25 +# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
26 +# export LD_LIBRARY_PATH
27 fi
28
29 fi
30 diff -ruN curl-7.14.0-old/configure.ac curl-7.14.0-new/configure.ac
31 --- curl-7.14.0-old/configure.ac 2005-05-13 23:19:21.000000000 +0200
32 +++ curl-7.14.0-new/configure.ac 2005-09-02 02:03:45.000000000 +0200
33 @@ -917,13 +917,13 @@
34
35 fi
36
37 - if test "$OPENSSL_ENABLED" = "1"; then
38 - dnl when the ssl shared libs were found in a path that the run-time linker
39 - dnl doesn't search through, we need to add it to LD_LIBRARY_PATH to
40 - dnl prevent further configure tests to fail due to this
41 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
42 - export LD_LIBRARY_PATH
43 - fi
44 +# if test "$OPENSSL_ENABLED" = "1"; then
45 +# dnl when the ssl shared libs were found in a path that the run-time linker
46 +# dnl doesn't search through, we need to add it to LD_LIBRARY_PATH to
47 +# dnl prevent further configure tests to fail due to this
48 +# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$EXTRA_SSL/lib$libsuff"
49 +# export LD_LIBRARY_PATH
50 +# fi
51
52 fi
53
54 @@ -1021,8 +1021,8 @@
55 dnl LD_LIBRARY_PATH to prevent further configure tests to fail
56 dnl due to this
57
58 - LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
59 - export LD_LIBRARY_PATH
60 +# LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlsprefix/lib$libsuff"
61 +# export LD_LIBRARY_PATH
62 fi
63
64 fi