From 80d149de6b075d5875bc395a6743e5df53fbcd1f Mon Sep 17 00:00:00 2001 From: Ben Reser Date: Mon, 7 Apr 2014 21:26:23 +0000 Subject: Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in the default includes path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1585590 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 549416b72f..e0d1094e3d 100644 --- a/configure.in +++ b/configure.in @@ -272,6 +272,8 @@ APR_ADDTO(INCLUDES, $APU_INCLUDES) dnl Add in path to PCRE includes APR_ADDTO(INCLUDES, $PCRE_INCLUDES) +save_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$CPPFLAGS $PCRE_INCLUDES" AC_EGREP_CPP(yes, [ #include @@ -282,6 +284,7 @@ yes if test "$pcre_have_dupnames" != "yes"; then AC_MSG_ERROR([pcre version does not support PCRE_DUPNAMES]) fi +CPPFLAGS="$save_CPPFLAGS" AC_MSG_NOTICE([]) AC_MSG_NOTICE([Applying OS-specific hints for httpd...]) -- cgit v1.2.1