• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

cups-config man page for CUPS.

Copyright © 2007-2019 by Apple Inc.
Copyright © 1997-2006 by Easy Software Products.

Licensed under Apache License v2.0. See the file "LICENSE" for more
information.

cups-config 1 "CUPS" "26 April 2019" "Apple Inc."
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:

5 --api-version Reports the current API version (major.minor).

5 --build Reports a system-specific build number.

5 --cflags Reports the necessary compiler options.

5 --datadir Reports the default CUPS data directory.

5 --help Reports the program usage message.

5 --ldflags Reports the necessary linker options.

5 --libs Reports the necessary libraries to link to.

5 --serverbin Reports the default CUPS binary directory, where filters and backends are stored.

5 --serverroot Reports the default CUPS configuration file directory.

5 --static When used with --libs, reports the static libraries instead of the default (shared) libraries.

5 --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`
DEPRECATED OPTIONS
The following options are deprecated but continue to work for backwards compatibility:

5 --image Formerly used to add the CUPS imaging library to the list of libraries.

SEE ALSO
cups (1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright \[co] 2007-2019 by Apple Inc.