From b9345737b11074382b7bde28d5eaeca7a2cab821 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 18 Jan 2012 16:25:19 +0000 Subject: Add PCRE_CONFIG_JITTARGET output to pcretest -C. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@890 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- ChangeLog | 2 ++ pcretest.c | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1