From 45e93b29d1016f1cc2c76e30ec9fbb5144452d59 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 17 Jun 2009 13:31:34 -0400 Subject: Add configure check for PCRE >= 7 --- server/external/libpcre.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/external') diff --git a/server/external/libpcre.m4 b/server/external/libpcre.m4 index 32cfbcf8..bda7a6b6 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])]) -- cgit