2 .\" cups-config man page for CUPS.
4 .\" Copyright © 2007-2019 by Apple Inc.
5 .\" Copyright © 1997-2006 by Easy Software Products.
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more
10 .TH cups-config 1 "CUPS" "26 April 2019" "Apple Inc."
12 cups\-config \- get cups api, compiler, directory, and link information.
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.
53 The \fBcups-config\fR command accepts the following command-line options:
56 Reports the current API version (major.minor).
59 Reports a system-specific build number.
62 Reports the necessary compiler options.
65 Reports the default CUPS data directory.
68 Reports the program usage message.
71 Reports the necessary linker options.
74 Reports the necessary libraries to link to.
77 Reports the default CUPS binary directory, where filters and backends are stored.
80 Reports the default CUPS configuration file directory.
83 When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
86 Reports the full version number of the CUPS installation (major.minor.patch).
88 Show the currently installed version of CUPS:
91 cups-config \-\-version
94 Compile a simple one-file CUPS filter:
97 cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\
98 `cups\-config \-\-libs`
100 .SH DEPRECATED OPTIONS
101 The following options are deprecated but continue to work for backwards compatibility:
104 Formerly used to add the CUPS imaging library to the list of libraries.
107 CUPS Online Help (http://localhost:631/help)
109 Copyright \[co] 2007-2019 by Apple Inc.