summaryrefslogtreecommitdiff
path: root/NON-AUTOTOOLS-BUILD
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-06 16:55:38 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-06 16:55:38 +0000
commit5e9ca2415c9fdc4d7bd7ea34c233d1397f2f9a06 (patch)
tree28847122a8f7e1e366cc1bfbd9c83ec23c3342b7 /NON-AUTOTOOLS-BUILD
parent19379abdaea366a1e688b56e463a88d7a8fdef7f (diff)
downloadpcre-5e9ca2415c9fdc4d7bd7ea34c233d1397f2f9a06.tar.gz
Set config.h NEWLINE values appropriately for EBCDIC, adding
--enable-ebcdic-nl25 (and CMake equivalent) for the alternate NL encoding. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1028 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'NON-AUTOTOOLS-BUILD')
-rw-r--r--NON-AUTOTOOLS-BUILD15
1 files changed, 10 insertions, 5 deletions
diff --git a/NON-AUTOTOOLS-BUILD b/NON-AUTOTOOLS-BUILD
index fd738be..4f9e0af 100644
--- a/NON-AUTOTOOLS-BUILD
+++ b/NON-AUTOTOOLS-BUILD
@@ -55,10 +55,15 @@ can skip ahead to the CMake section.
(1) Copy or rename the file config.h.generic as config.h, and edit the macro
settings that it contains to whatever is appropriate for your environment.
- In particular, if you want to force a specific value for newline, you can
- define the NEWLINE macro. When you compile any of the PCRE modules, you
- must specify -DHAVE_CONFIG_H to your compiler so that config.h is included
- in the sources.
+
+ In particular, you can alter the definition of the NEWLINE macro to
+ specify what character(s) you want to be interpreted as line terminators.
+ In an EBCDIC environment, you MUST change NEWLINE, because its default
+ value is 10, an ASCII LF. The usual EBCDIC newline character is 21 (0x15,
+ NL), though in some cases it may be 37 (0x25).
+
+ When you compile any of the PCRE modules, you must specify -DHAVE_CONFIG_H
+ to your compiler so that config.h is included in the sources.
An alternative approach is not to edit config.h, but to use -D on the
compiler command line to make any changes that you need to the
@@ -588,4 +593,4 @@ build.log file in the root of the package also.
==========================
-Last Updated: 31 August 2012
+Last Updated: 04 September 2012