DOKK / manpages / debian 12 / libpcre3-dev / pcre-config.1.en
PCRE-CONFIG(1) General Commands Manual PCRE-CONFIG(1)

pcre-config - program to return PCRE configuration

pcre-config [--prefix] [--exec-prefix] [--version] [--libs] [--libs-posix] [--cflags] [--cflags-posix]

pcre-config returns the configuration of the installed PCRE libraries: the options required to compile a program to use them.

Writes the directory prefix used in the PCRE installation for architecture independent files (e.g. /usr) to standard output.
Writes the directory prefix used in the PCRE installation for architecture dependent files (normally the same as --prefix) to standard output.
Writes the version of PCRE installed to standard output.
Writes to standard output the command line options required to link with PCRE (e.g. -lpcre).
Writes to standard output the command line options required to link with the PCRE POSIX emulation library (e.g. -lpcreposix -lpcre).
Writes to standard output the command line options required to compile files that use PCRE (this often includes some -I options, but is blank on debian systems).
Writes to standard output the command line options required to compile files that use the PCRE POSIX emulation library (this often includes some -I options, but is blank on debian systems). Suppress printing of filenames when searching multiple files.

This manual page was written by Mark Baker <mark@mnb.org.uk>, for the Debian GNU/Linux system (but may be used by others).

pcre(3)