Samba 3.3.4 aclocal.m4 change for detecting DMAPI on AIX

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jun 18 11:21:54 GMT 2009


On Wed, Jun 03, 2009 at 10:35:43PM -0400, William Jojo wrote:
> If there is no objection, I'd like to recommend a minor
> change to the way DMAPI support is detected. 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. :-(
> 
> The other part of the problem is the inconsistency with
> which we could detect the proper DMAPI support for the
> clustered build.
> 
> Under 32-bit we'd pass the test on libxdsm.a and ignore
> the more proper libdmapi.a from GPFS which is what you
> really want.
> 
> Under 64-bit we'd fail the test on libxdsm.a due to
> missing 64-bit shared object and use the correct one out
> of, well, luck.
> 
> This patch checks for libdmapi.a first regardless of the
> object mode size.

Not sure, but could there be platforms with just the reverse
problem?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090618/9d7a64e6/attachment-0001.bin


More information about the samba-technical mailing list