1cups-config(1)                    Apple Inc.                    cups-config(1)
2
3
4

NAME

6       cups-config - get cups api, compiler, directory, and link information.
7

SYNOPSIS

9       cups-config --api-version
10       cups-config --build
11       cups-config --cflags
12       cups-config --datadir
13       cups-config --help
14       cups-config --ldflags
15       cups-config [ --image ] [ --static ] --libs
16       cups-config --serverbin
17       cups-config --serverroot
18       cups-config --version
19

DESCRIPTION

21       The  cups-config command allows application developers to determine the
22       necessary command-line options for the compiler and linker, as well  as
23       the  installation  directories  for  filters,  configuration files, and
24       drivers.  All values are reported to the standard output.
25

OPTIONS

27       The cups-config command accepts the following command-line options:
28
29       --api-version
30            Reports the current API version (major.minor).
31
32       --build
33            Reports a system-specific build number.
34
35       --cflags
36            Reports the necessary compiler options.
37
38       --datadir
39            Reports the default CUPS data directory.
40
41       --help
42            Reports the program usage message.
43
44       --image
45            When used with --libs, adds the CUPS imaging library to  the  list
46            of libraries.
47
48       --ldflags
49            Reports the necessary linker options.
50
51       --libs
52            Reports the necessary libraries to link to.
53
54       --serverbin
55            Reports the default CUPS binary directory, where filters and back‐
56            ends are stored.
57
58       --serverroot
59            Reports the default CUPS configuration file directory.
60
61       --static
62            When used with --libs, reports the static libraries instead of the
63            default (shared) libraries.
64
65       --version
66            Reports   the   full  version  number  of  the  CUPS  installation
67            (major.minor.patch).
68

EXAMPLES

70       Show the currently installed version of CUPS:
71
72           cups-config --version
73
74       Compile a simple one-file CUPS filter:
75
76           cc `cups-config --cflags --ldflags` -o filter filter.c \
77               `cups-config --libs`
78

SEE ALSO

80       cups(1), CUPS Online Help (http://localhost:631/help)
81
83       Copyright © 2007-2017 by Apple Inc.
84
85
86
8715 April 2014                        CUPS                       cups-config(1)
Impressum