aboutsummaryrefslogtreecommitdiff
path: root/docs/curl-config.1
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-04-20 14:45:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-04-20 14:45:15 +0000
commit2dfd2c642d6dd5a9275dac848104b0dcc0a0f1d2 (patch)
tree01adde51fa74128901a4a24e32d4819f491a0c8d /docs/curl-config.1
parenta2072a1fd031535f0e5bf5b30fe5cae7490a6c28 (diff)
Added an examples section with examples I made up for the web page
Diffstat (limited to 'docs/curl-config.1')
-rw-r--r--docs/curl-config.120
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/curl-config.1 b/docs/curl-config.1
index 812edf71e..c37537961 100644
--- a/docs/curl-config.1
+++ b/docs/curl-config.1
@@ -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)