diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/external/libsmbclient.m4 | 5 | ||||
-rw-r--r-- | src/external/samba.m4 (renamed from src/external/libndr_nbt.m4) | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/external/libsmbclient.m4 b/src/external/libsmbclient.m4 deleted file mode 100644 index 060b5ee14..000000000 --- a/src/external/libsmbclient.m4 +++ /dev/null @@ -1,5 +0,0 @@ -AC_SUBST(SMBCLIENT_CFLAGS) -AC_SUBST(SMBCLIENT_LIBS) - -PKG_CHECK_MODULES(SMBCLIENT, smbclient, , - AC_MSG_ERROR("Please install libsmbclient development libraries")) diff --git a/src/external/libndr_nbt.m4 b/src/external/samba.m4 index bb4f89f13..735cc5a18 100644 --- a/src/external/libndr_nbt.m4 +++ b/src/external/samba.m4 @@ -1,5 +1,7 @@ AC_SUBST(NDR_NBT_CFLAGS) AC_SUBST(NDR_NBT_LIBS) +AC_SUBST(SMBCLIENT_CFLAGS) +AC_SUBST(SMBCLIENT_LIBS) if test x"$with_samba" = xyes; then PKG_CHECK_MODULES(NDR_NBT, ndr_nbt, , @@ -9,4 +11,12 @@ 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 ]])) + + PKG_CHECK_MODULES(SMBCLIENT, smbclient, , + AC_MSG_ERROR([[Please install libsmbclient development libraries. +libsmbclient 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 |