From 6c76be7f9d5c25d940b026310e2efec3d46b5d23 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 29 Mar 2017 10:43:11 +0300 Subject: [PATCH] server: make sure we test for sss_nss_getlistbycert Fixes https://pagure.io/freeipa/issue/6828 Reviewed-By: Christian Heimes Reviewed-By: Tomas Krizek --- server.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server.m4 b/server.m4 index 5d5333e194cb339d31576f54a70d96becadf9a87..346d73e906c5d0499e46fcc4da070007b2ff5973 100644 --- a/server.m4 +++ b/server.m4 @@ -29,6 +29,11 @@ DIRSRV_CFLAGS="$DIRSRV_CFLAGS $NSPR_CFLAGS" dnl -- sss_idmap is needed by the extdom exop -- PKG_CHECK_MODULES([SSSIDMAP], [sss_idmap]) PKG_CHECK_MODULES([SSSNSSIDMAP], [sss_nss_idmap >= 1.15.2]) +AC_CHECK_LIB([sss_nss_idmap], + [sss_nss_getlistbycert], + [], + [AC_MSG_ERROR([Required sss_nss_getlistbycert symbol in sss_nss_idmap not found])], + []) dnl -- sss_certmap and certauth.h are needed by the IPA KDB certauth plugin -- PKG_CHECK_EXISTS([sss_certmap], -- 2.12.2