URL: https://github.com/freeipa/freeipa/pull/5233 Author: rcritten Title: #5233: Wrap libpwquality PKG_CHECK_MODULES in ENABLE_SERVER test Action: opened
PR body: """ libpwquality is only needed when building a server. Don't test for it in a client build. https://pagure.io/freeipa/issue/6964 https://pagure.io/freeipa/issue/5948 https://pagure.io/freeipa/issue/2445 https://pagure.io/freeipa/issue/298 Signed-off-by: Rob Crittenden <rcrit...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/5233/head:pr5233 git checkout pr5233
From fbb8f727a85bd43b6b47c2bb152e2a221e6f7513 Mon Sep 17 00:00:00 2001 From: Rob Crittenden <rcrit...@redhat.com> Date: Fri, 6 Nov 2020 08:29:23 -0500 Subject: [PATCH] Wrap libpwquality PKG_CHECK_MODULES in ENABLE_SERVER test libpwquality is only needed when building a server. Don't test for it in a client build. https://pagure.io/freeipa/issue/6964 https://pagure.io/freeipa/issue/5948 https://pagure.io/freeipa/issue/2445 https://pagure.io/freeipa/issue/298 Signed-off-by: Rob Crittenden <rcrit...@redhat.com> --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index cda7d75af6c..ef1a1c6867e 100644 --- a/configure.ac +++ b/configure.ac @@ -116,7 +116,9 @@ PKG_CHECK_MODULES([CRYPTO], [libcrypto]) dnl --------------------------------------------------------------------------- dnl - Check for pwquality library dnl --------------------------------------------------------------------------- -PKG_CHECK_MODULES([PWQUALITY], [pwquality]) +AM_COND_IF([ENABLE_SERVER], [ + PKG_CHECK_MODULES([PWQUALITY], [pwquality]) +]) dnl --------------------------------------------------------------------------- dnl - Check for Python 3 @@ -670,12 +672,12 @@ echo " jslint: ${JSLINT} LDAP libs: ${LDAP_LIBS} OpenSSL crypto libs: ${CRYPTO_LIBS} - pwquality libs: ${PWQUALITY_LIBS} KRB5 libs: ${KRB5_LIBS} systemdsystemunitdir: ${systemdsystemunitdir}" AM_COND_IF([ENABLE_SERVER], [ echo "\ + pwquality libs: ${PWQUALITY_LIBS} KRAD libs: ${KRAD_LIBS} krb5rundir: ${krb5rundir} systemdtmpfilesdir: ${systemdtmpfilesdir}
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org