2010-04-19 16:16:09 +00:00
|
|
|
curl-config.in | 18 ++----------------
|
|
|
|
1 files changed, 2 insertions(+), 16 deletions(-)
|
|
|
|
|
2009-11-04 14:05:38 +00:00
|
|
|
diff --git a/curl-config.in b/curl-config.in
|
2010-04-19 16:16:09 +00:00
|
|
|
index ebda129..b404827 100644
|
2009-11-04 14:05:38 +00:00
|
|
|
--- a/curl-config.in
|
|
|
|
+++ b/curl-config.in
|
2010-04-19 16:16:09 +00:00
|
|
|
@@ -42,7 +42,6 @@ Available values for OPTION include:
|
2008-03-31 07:47:59 +00:00
|
|
|
--libs library linking information
|
|
|
|
--prefix curl install prefix
|
|
|
|
--protocols newline separated list of enabled protocols
|
|
|
|
- --static-libs static libcurl library linking information
|
|
|
|
--version output version information
|
|
|
|
--vernum output the version information as a number (hexadecimal)
|
|
|
|
EOF
|
2010-04-19 16:16:09 +00:00
|
|
|
@@ -69,7 +68,7 @@ while test $# -gt 0; do
|
2006-03-21 09:17:46 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
--cc)
|
|
|
|
- echo "@CC@"
|
|
|
|
+ echo "gcc"
|
|
|
|
;;
|
|
|
|
|
|
|
|
--prefix)
|
2010-04-21 19:09:46 +00:00
|
|
|
@@ -130,25 +129,12 @@ while test $# -gt 0; do
|
2006-03-21 09:17:46 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
--libs)
|
2008-01-28 21:00:10 +00:00
|
|
|
- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
|
2007-04-11 18:20:54 +00:00
|
|
|
- CURLLIBDIR="-L@libdir@ "
|
|
|
|
- else
|
|
|
|
- CURLLIBDIR=""
|
|
|
|
- fi
|
|
|
|
- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
|
|
|
|
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
|
|
|
|
- else
|
|
|
|
- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
|
|
|
|
- fi
|
2008-03-31 07:47:59 +00:00
|
|
|
- ;;
|
|
|
|
-
|
|
|
|
- --static-libs)
|
|
|
|
- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
|
2007-04-11 18:20:54 +00:00
|
|
|
+ pkg-config libcurl --libs
|
|
|
|
;;
|
2006-03-21 09:17:46 +00:00
|
|
|
|
2010-02-11 11:31:31 +00:00
|
|
|
--configure)
|
2010-04-21 19:09:46 +00:00
|
|
|
- echo @CONFIGURE_OPTIONS@
|
|
|
|
- ;;
|
|
|
|
+ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
|
|
|
|
+ ;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
echo "unknown option: $1"
|
|
|
|
--- a/libcurl.pc.in
|
|
|
|
+++ b/libcurl.pc.in
|
|
|
|
@@ -29,6 +29,7 @@ libdir=@libdir@
|
|
|
|
includedir=@includedir@
|
|
|
|
supported_protocols="@SUPPORT_PROTOCOLS@"
|
|
|
|
supported_features="@SUPPORT_FEATURES@"
|
|
|
|
+configure_options=@CONFIGURE_OPTIONS@
|
|
|
|
|
|
|
|
Name: libcurl
|
|
|
|
URL: http://curl.haxx.se/
|