1cups-config(1)                   OpenPrinting                   cups-config(1)
2
3
4

NAME

6       cups-config  -  get cups api, compiler, directory, and link information
7       (deprecated).
8

SYNOPSIS

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

DESCRIPTION

22       The cups-config command allows application developers to determine  the
23       necessary  command-line options for the compiler and linker, as well as
24       the installation directories  for  filters,  configuration  files,  and
25       drivers.   All  values are reported to the standard output.  Note: This
26       command is deprecated and will be removed in a future version of  CUPS.
27       The pkg-config(1) command should be used instead.
28

OPTIONS

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

EXAMPLES

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

DEPRECATED OPTIONS

79       The following options are deprecated but continue to work for backwards
80       compatibility:
81
82       --image
83            Formerly  used  to add the CUPS imaging library to the list of li‐
84            braries.
85

SEE ALSO

87       cups(1), pkg-config(1), CUPS Online Help (http://localhost:631/help)
88
90       Copyright © 2021-2022 by OpenPrinting.
91
92
93
942021-03-10                           CUPS                       cups-config(1)
Impressum