[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] OpenEXR "make check" failing on Solaris
From: |
Laurent Blume |
Subject: |
Re: [Openexr-devel] OpenEXR "make check" failing on Solaris |
Date: |
Tue, 13 Aug 2013 22:43:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 |
On 13/08/13 20:15, Piotr Stanczyk wrote:
Thanks Laurent. I'll fold the patch in, are you on the develop
branch?
Oh, sorry, I didn't specify: I merely downloaded the 2.0.1 tarball, for
both.
I have found that Solaris 11 does include posix_memalign().
So with more investigation, I think that bit should be added to
configure.ac:
dnl Check for posix_memalign() support
AC_CHECK_FUNCS(posix_memalign, [
AC_DEFINE(HAVE_POSIX_MEMALIGN, 1,
[Define to 1 if you have the posix_memalign() function.])])
And then the patch would have this instead of __sun:
void* ptr = 0;
+#if defined(HAVE_POSIX_MEMALIGN,)
posix_memalign(&ptr, alignment, size);
Sorry, I ve not managed to test it, I did a CVS checkout but I lack some
bits (and knowledge of the thing).
Laurent