]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/docs/curl-config.1
Various Mac OS X tweaks to get this to build. Probably breaking things.
[icculus/iodoom3.git] / neo / curl / docs / curl-config.1
1 .\" You can view this file with:
2 .\" nroff -man curl-config.1
3 .\" Written by Daniel Stenberg
4 .\"
5 .TH curl-config 1 "8 Oct 2002" "Curl 7.10" "curl-config manual"
6 .SH NAME
7 curl-config \- Get information about a libcurl installation
8 .SH SYNOPSIS
9 .B curl-config [options]
10 .SH DESCRIPTION
11 .B curl-config
12 displays information about a previous curl and libcurl installation.
13 .SH OPTIONS
14 .IP "--ca"
15 Displays the built-in path to the CA cert bundle this libcurl uses.
16 .IP "--cc"
17 Displays the compiler used to build libcurl.
18 .IP "--cflags"
19 Set of compiler options (CFLAGS) to use when compiling files that use
20 libcurl. Currently that is only thw include path to the curl include files.
21 .IP "--feature"
22 Lists what particular main features the installed libcurl was built with. At
23 the time of writing, this list may include SSL, KRB4 or IPv6. Do not assume
24 any particular order. The keywords will be separated by newlines. There may be
25 none, one or several keywords in the list.
26 .IP "--help"
27 Displays the available options.
28 .IP "--libs"
29 Shows the complete set of libs and other linker options you will need in order
30 to link your application with libcurl.
31 .IP "--prefix"
32 This is the prefix used when libcurl was installed. Libcurl is then installed
33 in $prefix/lib and its header files are installed in $prefix/include and so
34 on. The prefix is set with "configure --prefix".
35 .IP "--version"
36 Outputs version information about the installed libcurl.
37 .IP "--vernum"
38 Outputs version information about the installed libcurl, in numerical mode.
39 This outputs the version number, in hexadecimal, with 8 bits for each part;
40 major, minor, patch. So that libcurl 7.7.4 would appear as 070704 and libcurl
41 12.13.14 would appear as 0c0d0e...
42 .SH "EXAMPLES"
43 What linker options do I need when I link with libcurl?
44
45   $ curl-config --libs
46
47 What compiler options do I need when I compile using libcurl functions?
48
49   $ curl-config --cflags
50
51 How do I know if libcurl was built with SSL support?
52
53   $ curl-config --feature | grep SSL
54
55 What's the installed libcurl version?
56
57   $ curl-config --version
58
59 How do I build a single file with a one-line command?
60
61   $ `curl-config --cc --cflags --libs` -o example example.c
62
63 .SH "SEE ALSO"
64 .BR curl (1)