httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1585590 - /httpd/httpd/trunk/configure.in
Date Mon, 07 Apr 2014 21:26:24 GMT
Author: breser
Date: Mon Apr  7 21:26:23 2014
New Revision: 1585590

URL: http://svn.apache.org/r1585590
Log:
Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in
the default includes path.

Modified:
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1585590&r1=1585589&r2=1585590&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Mon Apr  7 21:26:23 2014
@@ -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 <pcre.h>
@@ -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...])



Mime
View raw message