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 |
.\" |
.\" |
83 |
.sp |
.sp |
84 |
to the \fBconfigure\fP command. There is a fourth option, specified by |
to the \fBconfigure\fP command. There is a fourth option, specified by |
85 |
.sp |
.sp |
86 |
|
--enable-newline-is-anycrlf |
87 |
|
.sp |
88 |
|
which causes PCRE to recognize any of the three sequences CR, LF, or CRLF as |
89 |
|
indicating a line ending. Finally, a fifth option, specified by |
90 |
|
.sp |
91 |
--enable-newline-is-any |
--enable-newline-is-any |
92 |
.sp |
.sp |
93 |
which causes PCRE to recognize any Unicode newline sequence. |
causes PCRE to recognize any Unicode newline sequence. |
94 |
.P |
.P |
95 |
Whatever line ending convention is selected when PCRE is built can be |
Whatever line ending convention is selected when PCRE is built can be |
96 |
overridden when the library functions are called. At build time it is |
overridden when the library functions are called. At build time it is |
142 |
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 |
143 |
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 |
144 |
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. |
|
145 |
. |
. |
146 |
.SH "AVOIDING EXCESSIVE STACK USAGE" |
.SH "AVOIDING EXCESSIVE STACK USAGE" |
147 |
.rs |
.rs |
203 |
.sp |
.sp |
204 |
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. |
205 |
. |
. |
206 |
|
.SH "CREATING CHARACTER TABLES AT BUILD TIME" |
207 |
|
.rs |
208 |
|
.sp |
209 |
|
PCRE uses fixed tables for processing characters whose code values are less |
210 |
|
than 256. By default, PCRE is built with a set of tables that are distributed |
211 |
|
in the file \fIpcre_chartables.c.dist\fP. These tables are for ASCII codes |
212 |
|
only. If you add |
213 |
|
.sp |
214 |
|
--enable-rebuild-chartables |
215 |
|
.sp |
216 |
|
to the \fBconfigure\fP command, the distributed tables are no longer used. |
217 |
|
Instead, a program called \fBdftables\fP is compiled and run. This outputs the |
218 |
|
source for new set of tables, created in the default locale of your C runtime |
219 |
|
system. (This method of replacing the tables does not work if you are cross |
220 |
|
compiling, because \fBdftables\fP is run on the local host. If you need to |
221 |
|
create alternative tables when cross compiling, you will have to do so "by |
222 |
|
hand".) |
223 |
|
. |
224 |
.SH "USING EBCDIC CODE" |
.SH "USING EBCDIC CODE" |
225 |
.rs |
.rs |
226 |
.sp |
.sp |
230 |
.sp |
.sp |
231 |
--enable-ebcdic |
--enable-ebcdic |
232 |
.sp |
.sp |
233 |
to the \fBconfigure\fP command. |
to the \fBconfigure\fP command. This setting implies |
234 |
|
--enable-rebuild-chartables. |
235 |
. |
. |
236 |
. |
. |
237 |
.SH "SEE ALSO" |
.SH "SEE ALSO" |
238 |
.rs |
.rs |
239 |
.sp |
.sp |
240 |
\fBpcreapi\fP(3), \fBpcre_config\fP(3). |
\fBpcreapi\fP(3), \fBpcre_config\fP(3). |
241 |
.P |
. |
242 |
.in 0 |
. |
243 |
Last updated: 30 November 2006 |
.SH AUTHOR |
244 |
.br |
.rs |
245 |
Copyright (c) 1997-2006 University of Cambridge. |
.sp |
246 |
|
.nf |
247 |
|
Philip Hazel |
248 |
|
University Computing Service |
249 |
|
Cambridge CB2 3QH, England. |
250 |
|
.fi |
251 |
|
. |
252 |
|
. |
253 |
|
.SH REVISION |
254 |
|
.rs |
255 |
|
.sp |
256 |
|
.nf |
257 |
|
Last updated: 16 April 2007 |
258 |
|
Copyright (c) 1997-2007 University of Cambridge. |
259 |
|
.fi |