Unix and Linux Discussions Tagged with cups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
1,254 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
15,474 |
Solaris |
|
|
|
2 |
1,404 |
UNIX for Advanced & Expert Users |
|
|
|
14 |
6,347 |
UNIX for Advanced & Expert Users |
|
|
|
9 |
4,711 |
Solaris |
|
|
|
1 |
2,934 |
Red Hat |
|
|
|
3 |
2,865 |
Debian |
|
|
|
4 |
2,296 |
Shell Programming and Scripting |
|
|
|
1 |
9,059 |
Linux |
|
|
|
0 |
978 |
Security Advisories (RSS) |
|
|
|
0 |
1,040 |
Security Advisories (RSS) |
|
|
|
8 |
5,264 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,227 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
6,316 |
Linux |
|
|
|
0 |
972 |
Security Advisories (RSS) |
|
|
|
0 |
1,300 |
Security Advisories (RSS) |
|
|
|
0 |
889 |
Security Advisories (RSS) |
|
|
|
0 |
944 |
Software Releases - RSS News |
|
|
|
0 |
865 |
Security Advisories (RSS) |
|
|
|
0 |
883 |
Security Advisories (RSS) |
|
|
|
0 |
870 |
Security Advisories (RSS) |
|
|
|
2 |
3,822 |
UNIX for Dummies Questions & Answers |
cups-config(1) Apple Inc. cups-config(1)
NAME
cups-config - get cups api, compiler, directory, and link information.
SYNOPSIS
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
DESCRIPTION
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.
OPTIONS
The cups-config command accepts the following command-line options:
--api-version
Reports the current API version (major.minor).
--build
Reports a system-specific build number.
--cflags
Reports the necessary compiler options.
--datadir
Reports the default CUPS data directory.
--help
Reports the program usage message.
--image
When used with --libs, adds the CUPS imaging library to the list of libraries.
--ldflags
Reports the necessary linker options.
--libs
Reports the necessary libraries to link to.
--serverbin
Reports the default CUPS binary directory, where filters and backends are stored.
--serverroot
Reports the default CUPS configuration file directory.
--static
When used with --libs, reports the static libraries instead of the default (shared) libraries.
--version
Reports the full version number of the CUPS installation (major.minor.patch).
EXAMPLES
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`
SEE ALSO
cups(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
15 April 2014 CUPS cups-config(1)