]> granicus.if.org Git - apache/blobdiff - configure.in
Fixing h2 proxy link header mapping to substitute correctly again after r1831231...
[apache] / configure.in
index 9cda3d86c70c1f80d66332311fd1fd63f3f93644..4315aa1cc4474bf665fe65f25916777a9495e78c 100644 (file)
@@ -284,10 +284,14 @@ save_CPPFLAGS="$CPPFLAGS"
 CPPFLAGS="$CPPFLAGS $PCRE_INCLUDES"
 AC_EGREP_CPP(yes,
 [
+#ifdef HAVE_PCRE2
+yes
+#else
 #include <pcre.h>
 #ifdef PCRE_DUPNAMES
 yes
 #endif
+#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])