Re-introduce check for sufficient PCRE version.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1612945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Guenter Knauf
2014-07-23 21:15:06 +00:00
parent 1aa6158bda
commit 700dd72569

View File

@ -48,6 +48,11 @@ POSSIBILITY OF SUCH DAMAGE.
#include "apr_tables.h"
#include "pcre.h"
/* PCRE_DUPNAMES is only present since version 6.7 of PCRE */
#ifndef PCRE_DUPNAMES
#error PCRE Version 6.7 or later required!
#else
#define APR_WANT_STRFUNC
#include "apr_want.h"
@ -308,4 +313,6 @@ AP_DECLARE(int) ap_regname(const ap_regex_t *preg,
return namecount;
}
#endif /* PCRE_DUPNAMES defined */
/* End of pcreposix.c */