URL: https://github.com/SSSD/sssd/pull/197 Title: #197: KCM responder
jhrozek commented: """ On Tue, Mar 21, 2017 at 09:26:23AM -0700, mzidek-rh wrote:
Actually we do check for libcurl in configure. The reproducer is:
$ sudo dnf remove libcurl-devel $ configure | grep curl configure: WARNING: The libcurl development library was not found. Some features will be disabled.
$ make
<snip> CC src/util/sssd_kcm-tev_curl.o CC src/responder/common/sssd_kcm-negcache_files.o CC src/responder/common/sssd_kcm-negcache.o /home/user/gitrepo/sssd/src/util/tev_curl.c:32:23: fatal error: curl/curl.h: No such file or directory #include <curl/curl.h>
So we try to build some parts with curl even if curl is not available.
Yes, this was because previously curl was only needed for tests. I changed the curl condition to error out and moved the check for libcurl to the section that is evaluated only if kcm is selected.
"""
See the full comment at https://github.com/SSSD/sssd/pull/197#issuecomment-288141611
sssd-devel@lists.fedorahosted.org