cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

linking/using libcurl in apps: curl-config

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Apr 2001 16:30:05 +0200 (MET DST)

Hey libcurlers

In the same style as many other libs, I created a 'curl-config' tool today to
help applications to find/detect libcurl information. (It's in the CVS
already.)

curl-config is a tiny tool (shell script) that'll get installed on 'make
install' and that can be invoked with a few simple options in order to
extract information.

The information curl-config provides is meant to ease the use of libcurl.
Applications could typically invoke it to get to know which flags they need
to link with libcurl or which libcurl version that is currently installed.

A few example outputs:

% curl-config --prefix
/usr/local

% curl-config --version
libcurl 7.7.1

% curl-config --libs
-L/home/dast/athena/lib -L/usr/local/ssl/lib -lssl -lcrypto -lkrb -ldes
-lresolv -ldl -lsocket -lnsl

The curl-config is automatically generated by configure on build-time.

Is there anything else you think applications will need to know?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-04-17

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET