mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
configure: fix --disable-server with certauth plugin
Resolves https://pagure.io/freeipa/issue/6816 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Pavel Vomacka
parent
c4156041fe
commit
054f1bd78b
12
configure.ac
12
configure.ac
@@ -224,6 +224,18 @@ AM_COND_IF([ENABLE_SERVER], [
|
||||
m4_include(server.m4)
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check if IPA certauth plugin can be build
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AM_CONDITIONAL([BUILD_IPA_CERTAUTH_PLUGIN],
|
||||
[test x$have_certauth_plugin = xyes -a x"$SSSCERTMAP_LIBS" != x])
|
||||
AM_COND_IF([BUILD_IPA_CERTAUTH_PLUGIN], [
|
||||
AM_COND_IF([ENABLE_SERVER],
|
||||
[AC_MSG_NOTICE([Build IPA KDB certauth plugin])],
|
||||
[AC_MSG_WARN([Cannot build IPA KDB certauth plugin])])
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for program paths
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
@@ -37,11 +37,6 @@ PKG_CHECK_EXISTS([sss_certmap],
|
||||
AC_CHECK_HEADER([krb5/certauth_plugin.h],
|
||||
[have_certauth_plugin=yes],
|
||||
[have_certauth_plugin=no])
|
||||
AM_CONDITIONAL([BUILD_IPA_CERTAUTH_PLUGIN],
|
||||
[test x$have_certauth_plugin = xyes -a x"$SSSCERTMAP_LIBS" != x])
|
||||
AM_COND_IF([BUILD_IPA_CERTAUTH_PLUGIN],
|
||||
[AC_MSG_NOTICE([Build IPA KDB certauth plugin])],
|
||||
[AC_MSG_WARN([Cannot build IPA KDB certauth plugin])])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl - Check for KRB5 krad
|
||||
|
||||
Reference in New Issue
Block a user