summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);