diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9cda3d86c7..4315aa1cc4 100644 --- a/configure.in +++ b/configure.in @@ -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]) |