From a0529d925ccffde34bc7e0c4b73c173e0eebec70 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 19 Mar 2014 15:23:35 +0000 Subject: Check if PCRE_DUPNAMES exists at configure time git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1579259 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 937cd441f4..549416b72f 100644 --- a/configure.in +++ b/configure.in @@ -272,6 +272,17 @@ APR_ADDTO(INCLUDES, $APU_INCLUDES) dnl Add in path to PCRE includes APR_ADDTO(INCLUDES, $PCRE_INCLUDES) +AC_EGREP_CPP(yes, +[ +#include +#ifdef PCRE_DUPNAMES +yes +#endif +],pcre_have_dupnames=yes,pcre_have_dupnames=no) +if test "$pcre_have_dupnames" != "yes"; then + AC_MSG_ERROR([pcre version does not support PCRE_DUPNAMES]) +fi + AC_MSG_NOTICE([]) AC_MSG_NOTICE([Applying OS-specific hints for httpd...]) AC_MSG_NOTICE([]) -- cgit v1.2.3