1 curl-config.in | 22 ++++------------------
3 2 files changed, 5 insertions(+), 18 deletions(-)
5 diff --git a/curl-config.in b/curl-config.in
6 index ebda129..b404827 100644
9 @@ -43,7 +43,6 @@ Available values for OPTION include:
10 --libs library linking information
11 --prefix curl install prefix
12 --protocols newline separated list of enabled protocols
13 - --static-libs static libcurl library linking information
14 --version output version information
15 --vernum output the version information as a number (hexadecimal)
17 @@ -74,7 +73,7 @@ while test $# -gt 0; do
26 @@ -136,25 +135,12 @@ while test $# -gt 0; do
30 - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
31 - CURLLIBDIR="-L@libdir@ "
35 - if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
36 - echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
38 - echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
43 - echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
44 + pkg-config libcurl --libs
48 - echo @CONFIGURE_OPTIONS@
50 + pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
54 echo "unknown option: $1"
57 @@ -29,6 +29,7 @@ libdir=@libdir@
58 includedir=@includedir@
59 supported_protocols="@SUPPORT_PROTOCOLS@"
60 supported_features="@SUPPORT_FEATURES@"
61 +configure_options=@CONFIGURE_OPTIONS@
64 URL: http://curl.haxx.se/