blob: afbd3a0182ef160a4e67ef53143b4bee42a2cc4a [file] [log] [blame]
Tristan Matthews04616462013-11-14 16:09:34 -05001.TH PCRE-CONFIG 1
2.SH NAME
3pcre-config - program to return PCRE configuration
4.SH SYNOPSIS
5.rs
6.sp
7.B pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
8.ti +5n
9.B [--libs-posix] [--cflags] [--cflags-posix]
10.
11.
12.SH DESCRIPTION
13.rs
14.sp
15\fBpcre-config\fP returns the configuration of the installed PCRE
16libraries and the options required to compile a program to use them.
17.
18.
19.SH OPTIONS
20.rs
21.TP 10
22\fB--prefix\fP
23Writes the directory prefix used in the PCRE installation for architecture
24independent files (\fI/usr\fP on many systems, \fI/usr/local\fP on some
25systems) to the standard output.
26.TP 10
27\fB--exec-prefix\fP
28Writes the directory prefix used in the PCRE installation for architecture
29dependent files (normally the same as \fB--prefix\fP) to the standard output.
30.TP 10
31\fB--version\fP
32Writes the version number of the installed PCRE libraries to the standard
33output.
34.TP 10
35\fB--libs\fP
36Writes to the standard output the command line options required to link
37with PCRE (\fB-lpcre\fP on many systems).
38.TP 10
39\fB--libs-posix\fP
40Writes to the standard output the command line options required to link with
41the PCRE posix emulation library (\fB-lpcreposix\fP \fB-lpcre\fP on many
42systems).
43.TP 10
44\fB--cflags\fP
45Writes to the standard output the command line options required to compile
46files that use PCRE (this may include some \fB-I\fP options, but is blank on
47many systems).
48.TP 10
49\fB--cflags-posix\fP
50Writes to the standard output the command line options required to compile
51files that use the PCRE posix emulation library (this may include some \fB-I\fP
52options, but is blank on many systems).
53.
54.
55.SH "SEE ALSO"
56.rs
57.sp
58\fBpcre(3)\fP
59.
60.
61.SH AUTHOR
62.rs
63.sp
64This manual page was originally written by Mark Baker for the Debian GNU/Linux
65system. It has been slightly revised as a generic PCRE man page.
66.
67.
68.SH REVISION
69.rs
70.sp
71.nf
72Last updated: 18 April 2007
73.fi