From 165f9ffcdd09426da19a57e1d8566452e8731462 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Wed, 23 Jul 2014 19:01:45 +0000 Subject: Check for correct minimum PCRE version in configure, do not check in source code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612921 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_pcre.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'server/util_pcre.c') diff --git a/server/util_pcre.c b/server/util_pcre.c index de7bdb3311..4d2adef25b 100644 --- a/server/util_pcre.c +++ b/server/util_pcre.c @@ -125,12 +125,7 @@ AP_DECLARE(int) ap_regcomp(ap_regex_t * preg, const char *pattern, int cflags) const char *errorptr; int erroffset; int errcode = 0; - /* PCRE_DUPNAMES is only present since version 6.7 of PCRE */ -#ifdef PCRE_DUPNAMES int options = PCRE_DUPNAMES; -#else -#error PCRE_DUPNAMES does not exist in this PCRE implementation; too old. -#endif if ((cflags & AP_REG_ICASE) != 0) options |= PCRE_CASELESS; -- cgit v1.2.3