From c3889e5a101a075defe533d81f5296d5e680f639 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 15 Oct 2013 10:27:36 +0200 Subject: BUILD: Explicitly link libsss_ad.so with sasl libs If openldap is not built with sasl support libsss_ad.so will not be linked with libsasl2 although sasl_client_init is called by function ad_sasl_initialize. --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9934b50b9..93038204f 100644 --- a/configure.ac +++ b/configure.ac @@ -158,6 +158,7 @@ m4_include([src/external/cifsidmap.m4]) m4_include([src/external/signal.m4]) m4_include([src/external/inotify.m4]) m4_include([src/external/libndr_nbt.m4]) +m4_include([src/external/sasl.m4]) WITH_UNICODE_LIB if test x$unicode_lib = xlibunistring; then @@ -262,8 +263,6 @@ fi AM_CHECK_INOTIFY -AC_CHECK_HEADERS([sasl/sasl.h],,AC_MSG_ERROR([Could not find SASL headers])) - AC_CACHE_CHECK([whether compiler supports __attribute__((destructor))], sss_client_cv_attribute_destructor, [AC_COMPILE_IFELSE( -- cgit