mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
s3:dmapi: prefer dmapi libs from gpfs over system libs
Patch from William Jojo sent to samba-technical: This is based on some pain felt when building 32-bit and 64-bit Clustered Samba on AIX with GPFS support. Part of the problem lies in AIX only providing 32-bit shared object in libxdsm.a(shr.o). So without libdmapi.a from gpfs.base, you get no DMAPI support under 64-bit.
This commit is contained in:
parent
e6cb82a7da
commit
862ae382b8
8
source3/m4/aclocal.m4
vendored
8
source3/m4/aclocal.m4
vendored
@ -694,13 +694,13 @@ AC_DEFUN([SMB_CHECK_DMAPI],
|
||||
fi
|
||||
|
||||
if test x"$samba_dmapi_libs" = x"" ; then
|
||||
AC_CHECK_LIB(xdsm, dm_get_eventlist,
|
||||
[samba_dmapi_libs="-lxdsm"], [])
|
||||
AC_CHECK_LIB(dmapi, dm_get_eventlist,
|
||||
[samba_dmapi_libs="-ldmapi"], [])
|
||||
fi
|
||||
|
||||
if test x"$samba_dmapi_libs" = x"" ; then
|
||||
AC_CHECK_LIB(dmapi, dm_get_eventlist,
|
||||
[samba_dmapi_libs="-ldmapi"], [])
|
||||
AC_CHECK_LIB(xdsm, dm_get_eventlist,
|
||||
[samba_dmapi_libs="-lxdsm"], [])
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user