cups-config(1) — Linux manual page


cups-config(1)                 Apple Inc.                 cups-config(1)

NAME         top

       cups-config - get cups api, compiler, directory, and link

SYNOPSIS         top

       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         top

       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         top

       The cups-config command accepts the following command-line

            Reports the current API version (major.minor).

            Reports a system-specific build number.

            Reports the necessary compiler options.

            Reports the default CUPS data directory.

            Reports the program usage message.

            Reports the necessary linker options.

            Reports the necessary libraries to link to.

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

            Reports the default CUPS configuration file directory.

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

            Reports the full version number of the CUPS installation

EXAMPLES         top

       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`


       The following options are deprecated but continue to work for
       backwards compatibility:

            Formerly used to add the CUPS imaging library to the list of

SEE ALSO         top

       cups(1), CUPS Online Help (http://localhost:631/help)

COPYRIGHT         top

       Copyright © 2007-2019 by Apple Inc.

COLOPHON         top

       This page is part of the CUPS (a standards-based, open source
       printing system) project.  Information about the project can be
       found at ⟨⟩.  If you have a bug report for
       this manual page, see ⟨⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2021-08-27.  (At that time,
       the date of the most recent commit that was found in the
       repository was 2021-08-24.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

26 April 2019                     CUPS                    cups-config(1)

Pages that refer to this page: ippeveprinter(1)