1PCRE-CONFIG(1) General Commands Manual PCRE-CONFIG(1)
2
3
4
6 pcre-config - program to return PCRE configuration
7
9
10 pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
11 [--libs-posix] [--cflags] [--cflags-posix]
12
14
15 pcre-config returns the configuration of the installed PCRE libraries
16 and the options required to compile a program to use them.
17
19
20 --prefix Writes the directory prefix used in the PCRE installation for
21 architecture independent files (/usr on many systems,
22 /usr/local on some systems) to the standard output.
23
24 --exec-prefix
25 Writes the directory prefix used in the PCRE installation for
26 architecture dependent files (normally the same as --prefix)
27 to the standard output.
28
29 --version Writes the version number of the installed PCRE libraries to
30 the standard output.
31
32 --libs Writes to the standard output the command line options
33 required to link with PCRE (-lpcre on many systems).
34
35 --libs-posix
36 Writes to the standard output the command line options
37 required to link with the PCRE posix emulation library
38 (-lpcreposix -lpcre on many systems).
39
40 --cflags Writes to the standard output the command line options
41 required to compile files that use PCRE (this may include
42 some -I options, but is blank on many systems).
43
44 --cflags-posix
45 Writes to the standard output the command line options
46 required to compile files that use the PCRE posix emulation
47 library (this may include some -I options, but is blank on
48 many systems).
49
51
52 pcre(3)
53
55
56 This manual page was originally written by Mark Baker for the Debian
57 GNU/Linux system. It has been slightly revised as a generic PCRE man
58 page.
59
61
62 Last updated: 18 April 2007
63
64
65
66 PCRE-CONFIG(1)