13 |
.sp |
.sp |
14 |
./configure --help |
./configure --help |
15 |
.sp |
.sp |
16 |
The following sections describe certain options whose names begin with --enable |
The following sections include descriptions of options whose names begin with |
17 |
or --disable. These settings specify changes to the defaults for the |
--enable or --disable. These settings specify changes to the defaults for the |
18 |
\fBconfigure\fP command. Because of the way that \fBconfigure\fP works, |
\fBconfigure\fP command. Because of the way that \fBconfigure\fP works, |
19 |
--enable and --disable always come in pairs, so the complementary option always |
--enable and --disable always come in pairs, so the complementary option always |
20 |
exists as well, but as it specifies the default, it is not described. |
exists as well, but as it specifies the default, it is not described. |
56 |
to the \fBconfigure\fP command. This implies UTF-8 support, even if you have |
to the \fBconfigure\fP command. This implies UTF-8 support, even if you have |
57 |
not explicitly requested it. |
not explicitly requested it. |
58 |
.P |
.P |
59 |
Including Unicode property support adds around 90K of tables to the PCRE |
Including Unicode property support adds around 30K of tables to the PCRE |
60 |
library, approximately doubling its size. Only the general category properties |
library. Only the general category properties such as \fILu\fP and \fINd\fP are |
61 |
such as \fILu\fP and \fINd\fP are supported. Details are given in the |
supported. Details are given in the |
62 |
.\" HREF |
.\" HREF |
63 |
\fBpcrepattern\fP |
\fBpcrepattern\fP |
64 |
.\" |
.\" |
81 |
.sp |
.sp |
82 |
--enable-newline-is-crlf |
--enable-newline-is-crlf |
83 |
.sp |
.sp |
84 |
to the \fBconfigure\fP command. Whatever line ending convention is selected |
to the \fBconfigure\fP command. There is a fourth option, specified by |
85 |
when PCRE is built can be overridden when the library functions are called. At |
.sp |
86 |
build time it is conventional to use the standard for your operating system. |
--enable-newline-is-any |
87 |
|
.sp |
88 |
|
which causes PCRE to recognize any Unicode newline sequence. |
89 |
|
.P |
90 |
|
Whatever line ending convention is selected when PCRE is built can be |
91 |
|
overridden when the library functions are called. At build time it is |
92 |
|
conventional to use the standard for your operating system. |
93 |
. |
. |
94 |
.SH "BUILDING SHARED AND STATIC LIBRARIES" |
.SH "BUILDING SHARED AND STATIC LIBRARIES" |
95 |
.rs |
.rs |
137 |
to the \fBconfigure\fP command. The value given must be 2, 3, or 4. Using |
to the \fBconfigure\fP command. The value given must be 2, 3, or 4. Using |
138 |
longer offsets slows down the operation of PCRE because it has to load |
longer offsets slows down the operation of PCRE because it has to load |
139 |
additional bytes when handling them. |
additional bytes when handling them. |
|
.P |
|
|
If you build PCRE with an increased link size, test 2 (and test 5 if you are |
|
|
using UTF-8) will fail. Part of the output of these tests is a representation |
|
|
of the compiled pattern, and this changes with the link size. |
|
140 |
. |
. |
141 |
.SH "AVOIDING EXCESSIVE STACK USAGE" |
.SH "AVOIDING EXCESSIVE STACK USAGE" |
142 |
.rs |
.rs |
198 |
.sp |
.sp |
199 |
to the \fBconfigure\fP command. This value can also be overridden at run time. |
to the \fBconfigure\fP command. This value can also be overridden at run time. |
200 |
. |
. |
201 |
|
.SH "CREATING CHARACTER TABLES AT BUILD TIME" |
202 |
|
.rs |
203 |
|
.sp |
204 |
|
PCRE uses fixed tables for processing characters whose code values are less |
205 |
|
than 256. By default, PCRE is built with a set of tables that are distributed |
206 |
|
in the file \fIpcre_chartables.c.dist\fP. These tables are for ASCII codes |
207 |
|
only. If you add |
208 |
|
.sp |
209 |
|
--enable-rebuild-chartables |
210 |
|
.sp |
211 |
|
to the \fBconfigure\fP command, the distributed tables are no longer used. |
212 |
|
Instead, a program called \fBdftables\fP is compiled and run. This outputs the |
213 |
|
source for new set of tables, created in the default locale of your C runtime |
214 |
|
system. (This method of replacing the tables does not work if you are cross |
215 |
|
compiling, because \fBdftables\fP is run on the local host. If you need to |
216 |
|
create alternative tables when cross compiling, you will have to do so "by |
217 |
|
hand".) |
218 |
|
. |
219 |
.SH "USING EBCDIC CODE" |
.SH "USING EBCDIC CODE" |
220 |
.rs |
.rs |
221 |
.sp |
.sp |
225 |
.sp |
.sp |
226 |
--enable-ebcdic |
--enable-ebcdic |
227 |
.sp |
.sp |
228 |
to the \fBconfigure\fP command. |
to the \fBconfigure\fP command. This setting implies |
229 |
.P |
--enable-rebuild-chartables. |
230 |
.in 0 |
. |
231 |
Last updated: 06 June 2006 |
. |
232 |
.br |
.SH "SEE ALSO" |
233 |
Copyright (c) 1997-2006 University of Cambridge. |
.rs |
234 |
|
.sp |
235 |
|
\fBpcreapi\fP(3), \fBpcre_config\fP(3). |
236 |
|
. |
237 |
|
. |
238 |
|
.SH AUTHOR |
239 |
|
.rs |
240 |
|
.sp |
241 |
|
.nf |
242 |
|
Philip Hazel |
243 |
|
University Computing Service |
244 |
|
Cambridge CB2 3QH, England. |
245 |
|
.fi |
246 |
|
. |
247 |
|
. |
248 |
|
.SH REVISION |
249 |
|
.rs |
250 |
|
.sp |
251 |
|
.nf |
252 |
|
Last updated: 20 March 2007 |
253 |
|
Copyright (c) 1997-2007 University of Cambridge. |
254 |
|
.fi |