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