From c0a12b98f0f7f22a063fada5dcdeff44857b5d26 Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Wed, 17 Jun 2009 13:31:34 -0400
Subject: [PATCH 2/2] Add configure check for PCRE >= 7

---
 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 32cfbcf..bda7a6b 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])])
-- 
1.6.2.2

