summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
Diffstat (limited to 'src/external')
-rw-r--r--src/external/libndr_nbt.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/src/external/libndr_nbt.m4 b/src/external/libndr_nbt.m4
index d4d94f2d6..bb4f89f13 100644
--- a/src/external/libndr_nbt.m4
+++ b/src/external/libndr_nbt.m4
@@ -1,5 +1,12 @@
AC_SUBST(NDR_NBT_CFLAGS)
AC_SUBST(NDR_NBT_LIBS)
-PKG_CHECK_MODULES(NDR_NBT, ndr_nbt, ,
- AC_MSG_ERROR("Please install Samba 4 development libraries")) \ No newline at end of file
+if test x"$with_samba" = xyes; then
+ PKG_CHECK_MODULES(NDR_NBT, ndr_nbt, ,
+ AC_MSG_ERROR([[Please install Samba 4 development libraries.
+Samba 4 libraries are necessary for building ad and ipa provider.
+If you do not want to build these providers it is possible to build SSSD
+without them. In this case, you will need to execute configure script
+with argument --without-samba
+ ]]))
+fi