From 17018382203c6f1d6af851eda9b3e097a72d2f7a Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Tue, 15 Jul 2014 08:49:45 +0000 Subject: [PATCH] Enable pcre2grep tests. --- Makefile.am | 8 ++++---- src/config.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index f58e817..7c7f680 100644 --- a/Makefile.am +++ b/Makefile.am @@ -489,10 +489,10 @@ endif # WITH_GCOV ## When the 8-bit library is configured, pcre2grep will have been built. -#if WIDH_PCRE8 -#TESTS += RunGrepTest -#dist_noinst_SCRIPTS += RunGrepTest -#endif # WITH_PCRE8 +if WITH_PCRE8 +TESTS += RunGrepTest +dist_noinst_SCRIPTS += RunGrepTest +endif # WITH_PCRE8 ## Distribute all the test data files diff --git a/src/config.h b/src/config.h index 04314a0..b81449e 100644 --- a/src/config.h +++ b/src/config.h @@ -259,13 +259,13 @@ sure both macros are undefined; an emulation function will then be used. */ #define SUPPORT_LIBZ /**/ /* Define to any value to enable the 16 bit PCRE2 library. */ -/* #undef SUPPORT_PCRE16 */ +#define SUPPORT_PCRE16 /**/ /* Define to any value to enable JIT support in pcre2grep. */ /* #undef SUPPORT_PCRE2GREP_JIT */ /* Define to any value to enable the 32 bit PCRE2 library. */ -/* #undef SUPPORT_PCRE32 */ +#define SUPPORT_PCRE32 /**/ /* Define to any value to enable the 8 bit PCRE2 library. */ #define SUPPORT_PCRE8 /**/