2 .\" cups-config man page for CUPS.
4 .\" Copyright 2007-2014 by Apple Inc.
5 .\" Copyright 1997-2006 by Easy Software Products.
7 .\" These coded instructions, statements, and computer programs are the
8 .\" property of Apple Inc. and are protected by Federal copyright
9 .\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10 .\" which should have been included with this file. If this file is
11 .\" file is missing or damaged, see the license at "http://www.cups.org/".
13 .TH cups-config 1 "CUPS" "15 April 2014" "Apple Inc."
15 cups\-config \- get cups api, compiler, directory, and link information.
53 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.
54 All values are reported to the standard output.
56 The \fBcups-config\fR command accepts the following command-line options:
59 Reports the current API version (major.minor).
62 Reports a system-specific build number.
65 Reports the necessary compiler options.
68 Reports the default CUPS data directory.
71 Reports the program usage message.
74 When used with \fI\-\-libs\fR, adds the CUPS imaging library to the
78 Reports the necessary linker options.
81 Reports the necessary libraries to link to.
84 Reports the default CUPS binary directory, where filters and backends are stored.
87 Reports the default CUPS configuration file directory.
90 When used with \fI\-\-libs\fR, reports the static libraries instead of the default (shared) libraries.
93 Reports the full version number of the CUPS installation (major.minor.patch).
95 Show the currently installed version of CUPS:
98 cups-config \-\-version
101 Compile a simple one-file CUPS filter:
104 cc `cups\-config \-\-cflags \-\-ldflags` \-o filter filter.c \\
105 `cups\-config \-\-libs`
109 CUPS Online Help (http://localhost:631/help)
111 Copyright \[co] 2007-2016 by Apple Inc.