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       --ldflags
45            Reports the necessary linker options.
46
47       --libs
48            Reports the necessary libraries to link to.
49
50       --serverbin
51            Reports the default CUPS binary directory, where filters and back‐
52            ends are stored.
53
54       --serverroot
55            Reports the default CUPS configuration file directory.
56
57       --static
58            When used with --libs, reports the static libraries instead of the
59            default (shared) libraries.
60
61       --version
62            Reports  the  full  version  number  of  the   CUPS   installation
63            (major.minor.patch).
64

EXAMPLES

66       Show the currently installed version of CUPS:
67
68           cups-config --version
69
70       Compile a simple one-file CUPS filter:
71
72           cc `cups-config --cflags --ldflags` -o filter filter.c \
73               `cups-config --libs`
74

DEPRECATED OPTIONS

76       The following options are deprecated but continue to work for backwards
77       compatibility:
78
79       --image
80            Formerly used to add the CUPS  imaging  library  to  the  list  of
81            libraries.
82

SEE ALSO

84       cups(1), CUPS Online Help (http://localhost:631/help)
85
87       Copyright © 2007-2019 by Apple Inc.
88
89
90
9126 April 2019                        CUPS                       cups-config(1)
Impressum