List valgrind support when it is enabled.

This commit is contained in:
Philip.Hazel 2016-11-03 18:25:51 +00:00
parent 30cf6b6954
commit fb231d30fe
2 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,8 @@ obsolete these days and in any case had become very haphazard.
20. Add strerror() to pcre2test for failed file opening. 20. Add strerror() to pcre2test for failed file opening.
21. Make pcre2test -C list valgrind support when it is enabled.
Version 10.22 29-July-2016 Version 10.22 29-July-2016
-------------------------- --------------------------

View File

@ -7174,6 +7174,9 @@ printf(" 16-bit support\n");
#ifdef SUPPORT_PCRE2_32 #ifdef SUPPORT_PCRE2_32
printf(" 32-bit support\n"); printf(" 32-bit support\n");
#endif #endif
#ifdef SUPPORT_VALGRIND
printf(" Valgrind support\n");
#endif
(void)PCRE2_CONFIG(PCRE2_CONFIG_UNICODE, &optval); (void)PCRE2_CONFIG(PCRE2_CONFIG_UNICODE, &optval);
if (optval != 0) if (optval != 0)