mirror of https://github.com/moparisthebest/curl
Added an examples section with examples I made up for the web page
This commit is contained in:
parent
a2072a1fd0
commit
2dfd2c642d
|
@ -30,5 +30,25 @@ in $prefix/lib and its header files are installed in $prefix/include and so
|
||||||
on. The prefix is set with "configure --prefix".
|
on. The prefix is set with "configure --prefix".
|
||||||
.IP "--version"
|
.IP "--version"
|
||||||
Outputs version information about the installed libcurl.
|
Outputs version information about the installed libcurl.
|
||||||
|
.SH "EXAMPLES"
|
||||||
|
What is the path to the curl header files?
|
||||||
|
|
||||||
|
echo `curl-config --prefix`/include
|
||||||
|
|
||||||
|
What is the path to libcurl?
|
||||||
|
|
||||||
|
echo `curl-config --prefix`/lib
|
||||||
|
|
||||||
|
What other linker options do I need when I link with libcurl?
|
||||||
|
|
||||||
|
curl-config --libs
|
||||||
|
|
||||||
|
How do I know if libcurl was built with SSL support?
|
||||||
|
|
||||||
|
curl-config --feature | grep SSL
|
||||||
|
|
||||||
|
What's the installed libcurl version?
|
||||||
|
|
||||||
|
curl-config --version
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR curl (1)
|
.BR curl (1)
|
||||||
|
|
Loading…
Reference in New Issue