diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-03-04 16:40:36 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-05-16 15:47:26 +0200 |
commit | a2e417f38c57ed87c956ddcecf4dafca93842b65 (patch) | |
tree | 33cb120c44f34b531cf1ea7474e14c51bfdc87e4 /src/tests/dlopen-tests.c | |
parent | f333ca01311000475db0fbd059243d05f9a90e96 (diff) | |
download | sssd-a2e417f38c57ed87c956ddcecf4dafca93842b65.tar.gz sssd-a2e417f38c57ed87c956ddcecf4dafca93842b65.tar.xz sssd-a2e417f38c57ed87c956ddcecf4dafca93842b65.zip |
BUILD: Make samba4 libraries optional
Samba 4 libraries are necessary for building {ad, ipa} provider,
but samba4 needn't be available on older distributions.
This patch add possibility to build SSSD without {ad, ipa} provider
and thus without Samba 4 libraries.
The script configure have new argument --with-samba with default value yes.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/tests/dlopen-tests.c')
-rw-r--r-- | src/tests/dlopen-tests.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/dlopen-tests.c b/src/tests/dlopen-tests.c index 2396aee8a..dc9062501 100644 --- a/src/tests/dlopen-tests.c +++ b/src/tests/dlopen-tests.c @@ -74,10 +74,12 @@ struct so { LIBPFX"libsss_util.so", NULL } }, { "libsss_simple.so", { LIBPFX"libdlopen_test_providers.so", LIBPFX"libsss_simple.so", NULL } }, +#ifdef BUILD_SAMBA { "libsss_ad.so", { LIBPFX"libdlopen_test_providers.so", LIBPFX"libsss_ad.so", NULL } }, { "libsss_ipa.so", { LIBPFX"libdlopen_test_providers.so", LIBPFX"libsss_ipa.so", NULL } }, +#endif /* BUILD_SAMBA */ { "libsss_krb5.so", { LIBPFX"libdlopen_test_providers.so", LIBPFX"libsss_krb5.so", NULL } }, { "libsss_krb5_common.so", { LIBPFX"libdlopen_test_providers.so", |