1PCRE2-CONFIG(1)             General Commands Manual            PCRE2-CONFIG(1)
2
3
4
5NAME
6       pcre2-config - program to return PCRE2 configuration
7
8SYNOPSIS
9
10       pcre2-config [--prefix] [--exec-prefix] [--version]
11                    [--libs8] [--libs16] [--libs32] [--libs-posix]
12                    [--cflags] [--cflags-posix]
13
14
15DESCRIPTION
16
17       pcre2-config returns the configuration of the installed PCRE2 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, or 32-bit libraries, re-
20       spectively, and are not available for  libraries  that  have  not  been
21       built. If an unavailable option is encountered, the "usage" information
22       is output.
23
24
25OPTIONS
26
27       --prefix  Writes the directory prefix used in  the  PCRE2  installation
28                 for  architecture  independent  files  (/usr on many systems,
29                 /usr/local on some systems) to the standard output.
30
31       --exec-prefix
32                 Writes the directory prefix used in  the  PCRE2  installation
33                 for architecture dependent files (normally the same as --pre-
34                 fix) to the standard output.
35
36       --version Writes the version number of the installed PCRE2 libraries to
37                 the standard output.
38
39       --libs8   Writes  to  the  standard output the command line options re-
40                 quired to link with the 8-bit  PCRE2  library  (-lpcre2-8  on
41                 many systems).
42
43       --libs16  Writes  to  the  standard output the command line options re-
44                 quired to link with the 16-bit PCRE2 library  (-lpcre2-16  on
45                 many systems).
46
47       --libs32  Writes  to  the  standard output the command line options re-
48                 quired to link with the 32-bit PCRE2 library  (-lpcre2-32  on
49                 many systems).
50
51       --libs-posix
52                 Writes  to  the  standard output the command line options re-
53                 quired  to  link  with  PCRE2's  POSIX  API  wrapper  library
54                 (-lpcre2-posix -lpcre2-8 on many systems).
55
56       --cflags  Writes  to  the  standard output the command line options re-
57                 quired to compile files that use PCRE2 (this may include some
58                 -I options, but is blank on many systems).
59
60       --cflags-posix
61                 Writes  to  the  standard output the command line options re-
62                 quired to compile files that use PCRE2'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       pcre2(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 PCRE2
76       man page.
77
78
79REVISION
80
81       Last updated: 28 September 2014
82