source: libcaca/trunk/doc/caca-config.1 @ 1356

Last change on this file since 1356 was 1356, checked in by Sam Hocevar, 13 years ago
  • Mention caca-config being deprecated in its manpage, and removed mention of --plugin-libs from it. The option is still here but does the same as --libs.
File size: 2.0 KB
Line 
1.TH caca-config 1 "2003-11-22" "libcaca"
2.SH NAME
3caca-config \- script to get information about the installed version of libcaca
4.SH SYNOPSIS
5.B caca-config
6[ --prefix=
7.IR DIR ]
8[ --exec-prefix=
9.IR DIR ]
10[ --version ] [ --libs ] [ --cflags ]
11.SH DESCRIPTION
12.B caca-config
13is a tool that is used to configure and determine the compiler and linker
14flags that should be used to compile and link progams, libraries, and
15plugins that use libcaca.
16
17The use of
18.B caca-config
19is deprecated. The more generic tool
20.B pkg-config
21should be used instead.
22.SH OPTIONS
23.TP
24.B --cflags
25Print the compiler flags that are necessary to compile a program or library
26that uses libcaca.
27.TP
28.BI --exec-prefix= DIR
29If specified, use
30.I DIR
31instead of the installation exec prefix that libcaca was build with when
32computing the output for the --cflags and --libs options.
33This option must be specified before any of the --cflags and --libs options.
34.TP
35.B --libs
36Print the linker flags that are necessary to link a program or library
37that uses libcaca.
38.TP
39.BI --prefix= DIR
40If specified, use PREFIX instead of the installation prefix that libcaca
41was built with when computing the output for the --cflags and --libs
42options.  This option is also used for the exec prefix if --exec-prefix
43was not specified.  This option must be specified before any of the --cflags
44and --libs options.
45.TP
46.B --version
47Prints the currently installed version of libcaca on standard output.
48.SH EXAMPLES
49.TP
50gcc -o main.o $(caca-config --cflags) -c main.c
51is how you might use
52.B caca-config
53to compile a C source file for an executable program.
54.TP
55gcc -o my_app $(caca-config --libs) main.o util.o
56is how you might use
57.B caca-config
58to link compiled objects into an executable program.
59.SH SEE ALSO
60pkg-config(1)
61.SH AUTHOR
62The libcaca library was written by Sam Hocevar <sam@zoy.org>.
63.PP
64This manual page was written for sdl-config by Branden Robinson, originally
65for Progeny Linux Systems, Inc., and the Debian Project. It was adapted to
66libcaca by Sam Hocevar.
Note: See TracBrowser for help on using the repository browser.