summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-06-19 11:51:22 +0200
committerBjörn Jacke <bj@sernet.de>2009-06-19 11:56:33 +0200
commit862ae382b80ef158317193ffbbbc9580a50e011c (patch)
treedadeaf729bc52be6c0d753b649cc4c446c2bb502
parente6cb82a7dad2122d39d115eb8431a948dd142301 (diff)
downloadsamba-862ae382b80ef158317193ffbbbc9580a50e011c.tar.gz
samba-862ae382b80ef158317193ffbbbc9580a50e011c.tar.bz2
samba-862ae382b80ef158317193ffbbbc9580a50e011c.zip
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.
-rw-r--r--source3/m4/aclocal.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/m4/aclocal.m4 b/source3/m4/aclocal.m4
index 3b120e2564..29033b7966 100644
--- a/source3/m4/aclocal.m4
+++ b/source3/m4/aclocal.m4
@@ -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