Skip to content

Commit

Permalink
Added an examples section with examples I made up for the web page
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Apr 20, 2001
1 parent a2072a1 commit 2dfd2c6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/curl-config.1
Original file line number Diff line number Diff line change
Expand Up @@ -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".
.IP "--version"
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"
.BR curl (1)

0 comments on commit 2dfd2c6

Please sign in to comment.