summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-06-17 13:31:34 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-06-18 08:42:27 -0400
commit45e93b29d1016f1cc2c76e30ec9fbb5144452d59 (patch)
tree3ba32e9b5449210e147c84e862f058b8169b5d46
parent30feee751c936eef877539e62654a49d575940ae (diff)
downloadsssd-45e93b29d1016f1cc2c76e30ec9fbb5144452d59.tar.gz
sssd-45e93b29d1016f1cc2c76e30ec9fbb5144452d59.tar.bz2
sssd-45e93b29d1016f1cc2c76e30ec9fbb5144452d59.zip
Add configure check for PCRE >= 7
-rw-r--r--server/external/libpcre.m42
1 files changed, 2 insertions, 0 deletions
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])])