Re: [Pixman] [PATCH] build: Ensure config.h does not undefine `sqrtf`

2016-10-06 Thread Peter TB Brett
On 06/10/2016 12:29, Siarhei Siamashka wrote: The patch I provided makes it considerably easier for other users in our position to get pixman to build correctly, by making it clearer what's going on when reading "config.h" in order to make appropriate edits. Just a side note. We still can't

Re: [Pixman] [PATCH] build: Ensure config.h does not undefine `sqrtf`

2016-10-06 Thread Siarhei Siamashka
On Thu, 6 Oct 2016 11:32:00 +0100 Peter TB Brett wrote: > On 06/10/2016 05:25, Siarhei Siamashka wrote: > > On Mon, 26 Sep 2016 10:46:50 +0100 > > Peter TB Brett wrote: > > > >> When compiling for Windows using MSVC, `sqrtf` is a macro. > >>

Re: [Pixman] [PATCH] build: Ensure config.h does not undefine `sqrtf`

2016-10-06 Thread Peter TB Brett
On 06/10/2016 05:25, Siarhei Siamashka wrote: On Mon, 26 Sep 2016 10:46:50 +0100 Peter TB Brett wrote: When compiling for Windows using MSVC, `sqrtf` is a macro. Previously, `configure` was detecting `sqrtf`'s availability, but then undefining it in `config.h`,

Re: [Pixman] [PATCH] build: Ensure config.h does not undefine `sqrtf`

2016-10-05 Thread Siarhei Siamashka
On Mon, 26 Sep 2016 10:46:50 +0100 Peter TB Brett wrote: > When compiling for Windows using MSVC, `sqrtf` is a macro. > Previously, `configure` was detecting `sqrtf`'s availability, but then > undefining it in `config.h`, resulting in link failures. > > This patch modifies

[Pixman] [PATCH] build: Ensure config.h does not undefine `sqrtf`

2016-09-26 Thread Peter TB Brett
When compiling for Windows using MSVC, `sqrtf` is a macro. Previously, `configure` was detecting `sqrtf`'s availability, but then undefining it in `config.h`, resulting in link failures. This patch modifies `configure` to use `HAVE_SQRTF` as a feature macro for the `sqrtf()` function, and adds