From: Ben Reser Date: Mon, 7 Apr 2014 21:26:23 +0000 (+0000) Subject: Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0901efcd66a488a8efd05807bd7ee1cac39086;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/configure.in b/configure.in index 549416b72f2..e0d1094e3dc 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...])