summaryrefslogtreecommitdiffstats
path: root/server/util_pcre.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2014-07-23 21:01:45 +0200
committerRainer Jung <rjung@apache.org>2014-07-23 21:01:45 +0200
commit165f9ffcdd09426da19a57e1d8566452e8731462 (patch)
treeacd7158bff2799783555d9fbe6e2dcfe8effbf4c /server/util_pcre.c
parentClarify comment. (diff)
downloadapache2-165f9ffcdd09426da19a57e1d8566452e8731462.tar.xz
apache2-165f9ffcdd09426da19a57e1d8566452e8731462.zip
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
Diffstat (limited to 'server/util_pcre.c')
-rw-r--r--server/util_pcre.c5
1 files changed, 0 insertions, 5 deletions
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;