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-15 11:48:27 +0200
commite52db861c63a01d3f20420585e696c05981577c6 (patch)
tree92c6bec5c08f59b6484808d55e13b4cf8b50525a
parentc3b1e99007d5f0069fbbd32a3df799d71ea4882e (diff)
downloadsssd-e52db861c63a01d3f20420585e696c05981577c6.tar.gz
sssd-e52db861c63a01d3f20420585e696c05981577c6.tar.bz2
sssd-e52db861c63a01d3f20420585e696c05981577c6.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,