linking/using libcurl in apps: curl-config
Date: Tue, 17 Apr 2001 16:30:05 +0200 (MET DST)
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
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
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
% curl-config --version
% 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-libraryReceived on 2001-04-17