diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index 031dbe038ed..46fa58244ce 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -520,6 +520,7 @@ AC_DEFUN([WITH_LIBNL], AC_MSG_ERROR([Libnl required, but not available]) fi fi + AM_CONDITIONAL([HAVE_LIBNL], [test x"$HAVE_LIBNL" = x1]) ]) AC_DEFUN([WITH_NOLOGIN_SHELL], diff --git a/src/man/Makefile.am b/src/man/Makefile.am index 13a1d286641..96544788ef2 100644 --- a/src/man/Makefile.am +++ b/src/man/Makefile.am @@ -71,9 +71,16 @@ endif else SSSD_NON_ROOT_USER_CONDS = ;without_non_root_user_support endif +if HAVE_LIBNL +LIBNL_CONDS = ;have_libnl +endif -CONDS = with_false$(SUDO_CONDS)$(AUTOFS_CONDS)$(SSH_CONDS)$(SSH_KNOWN_HOSTS_PROXY_CONDS)$(PAC_RESPONDER_CONDS)$(IFP_CONDS)$(GPO_CONDS)$(SYSTEMD_CONDS)$(KCM_CONDS)$(STAP_CONDS)$(KCM_RENEWAL_CONDS)$(LOCKFREE_CLIENT_CONDS)$(HAVE_INOTIFY_CONDS)$(PASSKEY_CONDS)$(FILES_PROVIDER_CONDS)$(SSSD_NON_ROOT_USER_CONDS)$(SSSD_CONF_SERVICE_USER_CONDS)$(ENUM_CONDS) +CONDS = with_false$(SUDO_CONDS)$(AUTOFS_CONDS)$(SSH_CONDS)$(SSH_KNOWN_HOSTS_PROXY_CONDS) +CONDS += $(PAC_RESPONDER_CONDS)$(IFP_CONDS)$(GPO_CONDS)$(SYSTEMD_CONDS)$(KCM_CONDS) +CONDS += $(STAP_CONDS)$(KCM_RENEWAL_CONDS)$(LOCKFREE_CLIENT_CONDS)$(HAVE_INOTIFY_CONDS) +CONDS += $(PASSKEY_CONDS)$(FILES_PROVIDER_CONDS)$(SSSD_NON_ROOT_USER_CONDS) +CONDS += $(SSSD_CONF_SERVICE_USER_CONDS)$(ENUM_CONDS)$(LIBNL_CONDS) #Special Rules: diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index f53fcb35df0..694f3c713a7 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -617,7 +617,7 @@ - + disable_netlink (boolean)