Removed gnutls - it's now in Fedora.
[fedora-mingw.git] / curl / curl-7.15.3-multilib.patch
1 diff -up curl-7.18.0/curl-config.in.multilib curl-7.18.0/curl-config.in
2 --- curl-7.18.0/curl-config.in.multilib 2008-01-10 23:14:02.000000000 +0100
3 +++ curl-7.18.0/curl-config.in  2008-02-16 06:48:14.000000000 +0100
4 @@ -45,7 +45,6 @@
5    --libs      library linking information
6    --prefix    curl install prefix
7    --protocols newline separated list of enabled protocols
8 -  --static-libs static libcurl library linking information
9    --version   output version information
10    --vernum    output the version information as a number (hexadecimal)
11  EOF
12 @@ -72,7 +71,7 @@
13         ;;
14  
15      --cc)
16 -       echo "@CC@"
17 +       echo "gcc"
18         ;;
19  
20      --prefix)
21 @@ -189,20 +188,7 @@
22                 ;;
23  
24      --libs)
25 -       if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
26 -          CURLLIBDIR="-L@libdir@ "
27 -       else
28 -          CURLLIBDIR=""
29 -       fi
30 -       if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
31 -         echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
32 -       else
33 -         echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
34 -       fi
35 -       ;;
36 -
37 -    --static-libs)
38 -       echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
39 +       pkg-config libcurl --libs
40         ;;
41  
42      *)