URL: https://github.com/freeipa/freeipa/pull/669
Author: abbra
 Title: #669: server: make sure we test for sss_nss_getlistbycert
Action: opened

PR body:
"""
Fixes https://pagure.io/freeipa/issue/6828
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/669/head:pr669
git checkout pr669
From ffca2ba3b77e77bc89e80f48f4a2abe93b70732f Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <aboko...@redhat.com>
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
---
 server.m4 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/server.m4 b/server.m4
index 5d5333e..346d73e 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],
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to