From de19b8588682c0c7992b5e3e8ed1423938f9e2c5 Mon Sep 17 00:00:00 2001 From: ph10 Date: Thu, 3 Nov 2016 18:25:51 +0000 Subject: [PATCH] List valgrind support when it is enabled. --- ChangeLog | 2 ++ src/pcre2test.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index de7b6b8..ff32e44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -145,6 +145,8 @@ obsolete these days and in any case had become very haphazard. 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 -------------------------- diff --git a/src/pcre2test.c b/src/pcre2test.c index 307886b..6cf673c 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -7174,6 +7174,9 @@ printf(" 16-bit support\n"); #ifdef SUPPORT_PCRE2_32 printf(" 32-bit support\n"); #endif +#ifdef SUPPORT_VALGRIND +printf(" Valgrind support\n"); +#endif (void)PCRE2_CONFIG(PCRE2_CONFIG_UNICODE, &optval); if (optval != 0)