2 .\" cups-config man page for CUPS.
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
7 .\" Licensed under Apache License v2.0. See the file "LICENSE" for more information.
9 .TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc."
11 cups\-config \- get cups api, compiler, directory, and link information.
49 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.
50 All values are reported to the standard output.
52 The \fBcups-config\fR command accepts the following command-line options:
55 Reports the current API version (major.minor).
58 Reports a system-specific build number.
61 Reports the necessary compiler options.
64 Reports the default CUPS data directory.
67 Reports the program usage message.
70 When used with \fI\-\-libs\fR, adds the CUPS imaging library to the
74 Reports the necessary linker options.
77 Reports the necessary libraries to link to.
80 Reports the default CUPS binary directory, where filters and backends are stored.
83 Reports the default CUPS configuration file directory.
86 When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
89 Reports the full version number of the CUPS installation (major.minor.patch).
91 Show the currently installed version of CUPS:
94 cups-config \-\-version
97 Compile a simple one-file CUPS filter:
100 cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\
101 `cups\-config \-\-libs`
105 CUPS Online Help (http://localhost:631/help)
107 Copyright \[co] 2007-2018 by Apple Inc.