/[pcre]/code/trunk/doc/pcrebuild.3
ViewVC logotype

Diff of /code/trunk/doc/pcrebuild.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 195 by ph10, Mon Jul 30 13:23:28 2007 UTC revision 289 by ph10, Sun Dec 23 12:17:20 2007 UTC
# Line 5  PCRE - Perl-compatible regular expressio Line 5  PCRE - Perl-compatible regular expressio
5  .rs  .rs
6  .sp  .sp
7  This document describes the optional features of PCRE that can be selected when  This document describes the optional features of PCRE that can be selected when
8  the library is compiled. They are all selected, or deselected, by providing  the library is compiled. It assumes use of the \fBconfigure\fP script, where
9  options to the \fBconfigure\fP script that is run before the \fBmake\fP  the optional features are selected or deselected by providing options to
10  command. The complete list of options for \fBconfigure\fP (which includes the  \fBconfigure\fP before running the \fBmake\fP command. However, the same
11  standard ones such as the selection of the installation directory) can be  options can be selected in both Unix-like and non-Unix-like environments using
12  obtained by running  the GUI facility of \fBCMakeSetup\fP if you are using \fBCMake\fP instead of
13    \fBconfigure\fP to build PCRE.
14    .P
15    The complete list of options for \fBconfigure\fP (which includes the standard
16    ones such as the selection of the installation directory) can be obtained by
17    running
18  .sp  .sp
19    ./configure --help    ./configure --help
20  .sp  .sp
# Line 96  Whatever line ending convention is selec Line 101  Whatever line ending convention is selec
101  overridden when the library functions are called. At build time it is  overridden when the library functions are called. At build time it is
102  conventional to use the standard for your operating system.  conventional to use the standard for your operating system.
103  .  .
104    .SH "WHAT \eR MATCHES"
105    .rs
106    .sp
107    By default, the sequence \eR in a pattern matches any Unicode newline sequence,
108    whatever has been selected as the line ending sequence. If you specify
109    .sp
110      --enable-bsr-anycrlf
111    .sp
112    the default is changed so that \eR matches only CR, LF, or CRLF. Whatever is
113    selected when PCRE is built can be overridden when the library functions are
114    called.
115    .
116  .SH "BUILDING SHARED AND STATIC LIBRARIES"  .SH "BUILDING SHARED AND STATIC LIBRARIES"
117  .rs  .rs
118  .sp  .sp
# Line 236  EBCDIC environment by adding Line 253  EBCDIC environment by adding
253    --enable-ebcdic    --enable-ebcdic
254  .sp  .sp
255  to the \fBconfigure\fP command. This setting implies  to the \fBconfigure\fP command. This setting implies
256  --enable-rebuild-chartables. You should only use it if you know that you are in  --enable-rebuild-chartables. You should only use it if you know that you are in
257  an EBCDIC environment (for example, an IBM mainframe operating system).  an EBCDIC environment (for example, an IBM mainframe operating system).
258  .  .
259    .SH "PCREGREP OPTIONS FOR COMPRESSED FILE SUPPORT"
260    .rs
261    .sp
262    By default, \fBpcregrep\fP reads all files as plain text. You can build it so
263    that it recognizes files whose names end in \fB.gz\fP or \fB.bz2\fP, and reads
264    them with \fBlibz\fP or \fBlibbz2\fP, respectively, by adding one or both of
265    .sp
266      --enable-pcregrep-libz
267      --enable-pcregrep-libbz2
268    .sp
269    to the \fBconfigure\fP command. These options naturally require that the
270    relevant libraries are installed on your system. Configuration will fail if
271    they are not.
272    .
273    .SH "PCRETEST OPTION FOR LIBREADLINE SUPPORT"
274    .rs
275    .sp
276    If you add
277    .sp
278      --enable-pcretest-libreadline
279    .sp
280    to the \fBconfigure\fP command, \fBpcretest\fP is linked with the
281    \fBlibreadline\fP library, and when its input is from a terminal, it reads it
282    using the \fBreadline()\fP function. This provides line-editing and history
283    facilities. Note that \fBlibreadline\fP is GPL-licenced, so if you distribute a
284    binary of \fBpcretest\fP linked in this way, there may be licensing issues.
285    .
286  .  .
287  .SH "SEE ALSO"  .SH "SEE ALSO"
288  .rs  .rs
# Line 260  Cambridge CB2 3QH, England. Line 304  Cambridge CB2 3QH, England.
304  .rs  .rs
305  .sp  .sp
306  .nf  .nf
307  Last updated: 30 July 2007  Last updated: 18 December 2007
308  Copyright (c) 1997-2007 University of Cambridge.  Copyright (c) 1997-2007 University of Cambridge.
309  .fi  .fi

Legend:
Removed from v.195  
changed lines
  Added in v.289

  ViewVC Help
Powered by ViewVC 1.1.5