1PCRE-CONFIG(1)                                                  PCRE-CONFIG(1)
2
3
4
5NAME
6       pcre-config - program to return PCRE configuration
7
8SYNOPSIS
9
10       pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
11            [--libs16] [--libs-cpp] [--libs-posix] [--cflags]
12            [--cflags-posix]
13
14
15DESCRIPTION
16
17       pcre-config  returns  the configuration of the installed PCRE libraries
18       and the options required to compile a program to use them. Some of  the
19       options  apply only to the 8-bit or 16-bit libraries, respectively, and
20       are not available if only one of those libraries has been built. If  an
21       unavailable option is encountered, the "usage" information is output.
22
23
24OPTIONS
25
26       --prefix  Writes the directory prefix used in the PCRE installation for
27                 architecture  independent  files  (/usr  on   many   systems,
28                 /usr/local on some systems) to the standard output.
29
30       --exec-prefix
31                 Writes the directory prefix used in the PCRE installation for
32                 architecture dependent files (normally the same as  --prefix)
33                 to the standard output.
34
35       --version Writes  the version number of the installed PCRE libraries to
36                 the standard output.
37
38       --libs    Writes to  the  standard  output  the  command  line  options
39                 required  to link with the 8-bit PCRE library (-lpcre on many
40                 systems).
41
42       --libs16  Writes to  the  standard  output  the  command  line  options
43                 required  to  link  with the 16-bit PCRE library (-lpcre16 on
44                 many systems).
45
46       --libs-cpp
47                 Writes to  the  standard  output  the  command  line  options
48                 required  to  link with PCRE's C++ wrapper library (-lpcrecpp
49                 -lpcre on many systems).
50
51       --libs-posix
52                 Writes to  the  standard  output  the  command  line  options
53                 required  to  link  with  PCRE's  POSIX  API  wrapper library
54                 (-lpcreposix -lpcre on many systems).
55
56       --cflags  Writes to  the  standard  output  the  command  line  options
57                 required  to  compile  files  that use PCRE (this may include
58                 some -I options, but is blank on many systems).
59
60       --cflags-posix
61                 Writes to  the  standard  output  the  command  line  options
62                 required  to  compile files that use PCRE's POSIX API wrapper
63                 library (this may include some -I options, but  is  blank  on
64                 many systems).
65
66
67SEE ALSO
68
69       pcre(3)
70
71
72AUTHOR
73
74       This  manual  page  was originally written by Mark Baker for the Debian
75       GNU/Linux system. It has been subsequently revised as  a  generic  PCRE
76       man page.
77
78
79REVISION
80
81       Last updated: 01 January 2012
82