]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cups-config.man
Merge pull request #5317 from nils-van-zuijlen/typo-fr
[thirdparty/cups.git] / man / cups-config.man
CommitLineData
ef416fc2 1.\"
7131e285 2.\" cups-config man page for CUPS.
ef416fc2 3.\"
7131e285
MS
4.\" Copyright 2007-2014 by Apple Inc.
5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
e3101897 7.\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
ef416fc2 8.\"
7131e285 9.TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc."
ef416fc2 10.SH NAME
7131e285 11cups\-config \- get cups api, compiler, directory, and link information.
ef416fc2 12.SH SYNOPSIS
7131e285
MS
13.B cups\-config
14.I \-\-api\-version
ef416fc2 15.br
7131e285
MS
16.B cups\-config
17.I \-\-build
e4572d57 18.br
7131e285
MS
19.B cups\-config
20.I \-\-cflags
ef416fc2 21.br
7131e285
MS
22.B cups\-config
23.I \-\-datadir
ef416fc2 24.br
7131e285
MS
25.B cups\-config
26.I \-\-help
ef416fc2 27.br
7131e285
MS
28.B cups\-config
29.I \-\-ldflags
ef416fc2 30.br
7131e285 31.B cups\-config
ef416fc2 32[
7131e285 33.I \-\-image
ef416fc2 34] [
7131e285
MS
35.I \-\-static
36]
37.I \-\-libs
ef416fc2 38.br
7131e285
MS
39.B cups\-config
40.I \-\-serverbin
ef416fc2 41.br
7131e285
MS
42.B cups\-config
43.I \-\-serverroot
ef416fc2 44.br
45.B cups-config
7131e285 46.I \-\-version
ef416fc2 47.br
48.SH DESCRIPTION
7131e285
MS
49The \fBcups-config\fR command allows application developers to determine the necessary command-line options for the compiler and linker, as well as the installation directories for filters, configuration files, and drivers.
50All values are reported to the standard output.
bd7854cb 51.SH OPTIONS
7131e285 52The \fBcups-config\fR command accepts the following command-line options:
bd7854cb 53.TP 5
7131e285
MS
54.B \-\-api-version
55Reports the current API version (major.minor).
bd7854cb 56.TP 5
7131e285
MS
57.B \-\-build
58Reports a system-specific build number.
e4572d57 59.TP 5
7131e285
MS
60.B \-\-cflags
61Reports the necessary compiler options.
bd7854cb 62.TP 5
7131e285
MS
63.B \-\-datadir
64Reports the default CUPS data directory.
bd7854cb 65.TP 5
7131e285
MS
66.B \-\-help
67Reports the program usage message.
bd7854cb 68.TP 5
7131e285
MS
69.B \-\-image
70When used with \fI\-\-libs\fR, adds the CUPS imaging library to the
71list of libraries.
bd7854cb 72.TP 5
7131e285
MS
73.B \-\-ldflags
74Reports the necessary linker options.
bd7854cb 75.TP 5
7131e285
MS
76.B \-\-libs
77Reports the necessary libraries to link to.
bd7854cb 78.TP 5
7131e285
MS
79.B \-\-serverbin
80Reports the default CUPS binary directory, where filters and backends are stored.
bd7854cb 81.TP 5
7131e285
MS
82.B \-\-serverroot
83Reports the default CUPS configuration file directory.
bd7854cb 84.TP 5
7131e285
MS
85.B \-\-static
86When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
bd7854cb 87.TP 5
7131e285
MS
88.B \-\-version
89Reports the full version number of the CUPS installation (major.minor.patch).
90.SH EXAMPLES
91Show the currently installed version of CUPS:
92.nf
93
94 cups-config \-\-version
95
96.fi
97Compile a simple one-file CUPS filter:
98.nf
99
100 cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\
101 `cups\-config \-\-libs`
102.fi
ef416fc2 103.SH SEE ALSO
7131e285
MS
104.BR cups (1),
105CUPS Online Help (http://localhost:631/help)
ef416fc2 106.SH COPYRIGHT
f61dfc0d 107Copyright \[co] 2007-2018 by Apple Inc.