summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-15 10:27:36 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-17 13:43:24 +0200
commit8baaed19714438fa83a26b18978a20b5d5169a3d (patch)
treeb2a61a5dfa4993980fdf321f83df84d2aaa6f6c0
parent2105a6a63cb74bf009fb6e723e74f6ec075e1238 (diff)
downloadsssd-8baaed19714438fa83a26b18978a20b5d5169a3d.tar.gz
sssd-8baaed19714438fa83a26b18978a20b5d5169a3d.tar.bz2
sssd-8baaed19714438fa83a26b18978a20b5d5169a3d.zip
BUILD: Link libsss_ad.so to sasl libs
This is for the sasl_client_init symbol. Introducted in commit fb945a2c.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 98a298ea..801c327e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1721,12 +1721,14 @@ libsss_ad_la_CFLAGS = \
$(AM_CFLAGS) \
$(SYSTEMD_LOGIN_CFLAGS) \
$(LDAP_CFLAGS) \
+ $(SASL_CFLAGS) \
$(DHASH_CFLAGS) \
$(KRB5_CFLAGS) \
$(NDR_NBT_CFLAGS)
libsss_ad_la_LIBADD = \
$(SYSTEMD_LOGIN_LIBS) \
$(OPENLDAP_LIBS) \
+ $(SASL_LIBS) \
$(DHASH_LIBS) \
$(KEYUTILS_LIBS) \
$(KRB5_LIBS) \
diff --git a/configure.ac b/configure.ac
index 9934b50b..a46e26d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -262,7 +262,7 @@ fi
AM_CHECK_INOTIFY
-AC_CHECK_HEADERS([sasl/sasl.h],,AC_MSG_ERROR([Could not find SASL headers]))
+PKG_CHECK_MODULES([SASL], [libsasl2], [], [AC_MSG_ERROR([Could not find SASL library])])
AC_CACHE_CHECK([whether compiler supports __attribute__((destructor))],
sss_client_cv_attribute_destructor,