summaryrefslogtreecommitdiff
path: root/pcretest.c
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 /pcretest.c
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
Diffstat (limited to 'pcretest.c')
-rw-r--r--pcretest.c6
1 files changed, 5 insertions, 1 deletions
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);