diff options
-rw-r--r-- | server/external/libpcre.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/external/libpcre.m4 b/server/external/libpcre.m4 index 32cfbcf80..bda7a6b6e 100644 --- a/server/external/libpcre.m4 +++ b/server/external/libpcre.m4 @@ -3,5 +3,7 @@ AC_SUBST(PCRE_OBJ) AC_SUBST(PCRE_LIBS) AC_SUBST(PCRE_CFLAGS) +PKG_CHECK_MODULES(PCRE, libpcre >= 7) + AC_CHECK_HEADERS(pcre.h) AC_CHECK_LIB(pcre, pcre_compile, [ PCRE_LIBS="-lpcre" ], [AC_MSG_ERROR([PCRE is required])]) |