cups-config
get cups api, compiler, directory, and link information.
- Provided by: libcups2-dev (Version: 2.1.3-4ubuntu0.11)
- Source: cups
- Report a bug
get cups api, compiler, directory, and link information.
cups-config --api-version
cups-config --build
cups-config --cflags
cups-config --datadir
cups-config --help
cups-config --ldflags
cups-config [ --image ] [ --static ] --libs
cups-config --serverbin
cups-config --serverroot
cups-config --version
The cups-config 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. All values are reported to the standard output.
The cups-config command accepts the following command-line options:
Show the currently installed version of CUPS:
cups-config --version
Compile a simple one-file CUPS filter:
cc `cups-config --cflags --ldflags` -o filter filter.c \
`cups-config --libs`
cups(1), CUPS Online Help (http://localhost:631/help)
Copyright © 2007-2015 by Apple Inc.