summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-18 16:25:19 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-01-18 16:25:19 +0000
commitb9345737b11074382b7bde28d5eaeca7a2cab821 (patch)
tree91acbb36fba53ca4dfd85f63832589b2afa289ef
parent245d838636173d69992fb9a99710896c6a610616 (diff)
downloadpcre-b9345737b11074382b7bde28d5eaeca7a2cab821.tar.gz
Add PCRE_CONFIG_JITTARGET output to pcretest -C.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@890 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--ChangeLog2
-rw-r--r--pcretest.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a7573c9..fa91e40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,6 +51,8 @@ Version 8.30
13. Applied Dmitry V. Levin's patch for a more portable method for linking with
-lreadline.
+
+14. ZH added PCRE_CONFIG_JITTARGET; added it's output to pcretest -C.
Version 8.21 12-Dec-2011
diff --git a/pcretest.c b/pcretest.c
index 9d4c299..3e3ffa8 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -2410,7 +2410,11 @@ are set, either both UTFs are supported or both are not supported. */
printf(" %sUnicode properties support\n", rc? "" : "No ");
(void)PCRE_CONFIG(PCRE_CONFIG_JIT, &rc);
if (rc)
- printf(" Just-in-time compiler support\n");
+ {
+ const char *arch;
+ (void)PCRE_CONFIG(PCRE_CONFIG_JITTARGET, &arch);
+ printf(" Just-in-time compiler support: %s\n", arch);
+ }
else
printf(" No just-in-time compiler support\n");
(void)PCRE_CONFIG(PCRE_CONFIG_NEWLINE, &rc);