mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
ipa-kdb: support Samba 4.20 private libraries
Samba 4.20 will change name extension of the private libraries from 'samba4' to 'private-samba'. Detect private extension through configure step and make sure to use the right library name in Makefile. Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
7f849956df
commit
bd04dc28c8
2 files changed
+9
-1
No files matched your search
@@ -182,6 +182,14 @@ AC_CHECK_LIB([smbldap],[smbldap_set_bind_callback],
|
||||
[AC_DEFINE([HAVE_SMBLDAP_SET_BIND_CALLBACK], [1], [struct smbldap_state is opaque])],
|
||||
[AC_MSG_WARN([libsmbldap is not opaque, not using smbldap_set_bind_callback])],
|
||||
[$SAMBA40EXTRA_LIBPATH])
|
||||
AC_CHECK_LIB([samba-security-private-samba],[dom_sid_string],
|
||||
[SAMBA_SECURITY_LIBS=samba-security-private-samba],
|
||||
[AC_CHECK_LIB([samba-security-samba4],[dom_sid_string],
|
||||
[SAMBA_SECURITY_LIBS=samba-security-samba4],
|
||||
[AC_MSG_ERROR([Cannot find private samba-security library])],
|
||||
[$SAMBA40EXTRA_LIBPATH])],
|
||||
[$SAMBA40EXTRA_LIBPATH])
|
||||
AC_SUBST(SAMBA_SECURITY_LIBS)
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Check for libunistring
|
||||
|
||||
Reference in new issue
Block a user