diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-10-12 11:01:02 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-10-18 10:47:59 +0200 |
commit | 01072fc8f2833e9316f534875c75714803384377 (patch) | |
tree | c8273ced7717a03012a9a6b534696fd6f745618b /daemons/ipa-sam | |
parent | 7b801682a64b2ba132ba9892831f8c3f5a51caf8 (diff) | |
download | freeipa-01072fc8f2833e9316f534875c75714803384377.tar.gz freeipa-01072fc8f2833e9316f534875c75714803384377.tar.xz freeipa-01072fc8f2833e9316f534875c75714803384377.zip |
Build: modernize crypto library detection
Use package config instead of checking headers.
Package config is faster because it does not invoke compiler
and guarantees proper linking flags because these are provided
by package maintainer instead of hardcoded into build system.
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'daemons/ipa-sam')
-rw-r--r-- | daemons/ipa-sam/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemons/ipa-sam/Makefile.am b/daemons/ipa-sam/Makefile.am index ea14661b6..c32149341 100644 --- a/daemons/ipa-sam/Makefile.am +++ b/daemons/ipa-sam/Makefile.am @@ -23,6 +23,7 @@ AM_CPPFLAGS = \ -DLDAPIDIR=\""$(localstatedir)/run"\" \ -DHAVE_LDAP \ -I $(KRB5_UTIL_DIR) \ + $(CRYPTO_CFLAGS) \ $(LDAP_CFLAGS) \ $(KRB5_CFLAGS) \ $(WARN_CFLAGS) \ @@ -48,10 +49,10 @@ ipasam_la_LDFLAGS = \ $(NULL) ipasam_la_LIBADD = \ + $(CRYPTO_LIBS) \ $(LDAP_LIBS) \ $(KRB5_LIBS) \ $(TALLOC_LIBS) \ - $(SSL_LIBS) \ $(SAMBAUTIL_LIBS) \ $(NDR_LIBS) \ $(SAMBA40EXTRA_LIBS) \ |