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