Re: [libav-devel] [RFC] [PATCH] configure: Make sure config.h isn't accidentally included in builds for the host

2016-11-03 Thread Martin Storsjö
On Thu, 3 Nov 2016, Diego Biurrun wrote: On Thu, Nov 03, 2016 at 02:32:10PM +0200, Martin Storsjö wrote: In aacps_tablegen.h, only include libm.h if building for the target. If actual fallbacks are needed here (in practice, sinf and cosf, which are missing on Plan 9 - they are present even on

Re: [libav-devel] [RFC] [PATCH] configure: Make sure config.h isn't accidentally included in builds for the host

2016-11-03 Thread Diego Biurrun
On Thu, Nov 03, 2016 at 02:32:10PM +0200, Martin Storsjö wrote: > In aacps_tablegen.h, only include libm.h if building for the target. > > If actual fallbacks are needed here (in practice, sinf and cosf, > which are missing on Plan 9 - they are present even on MSVC), we need > to include libm.h,

[libav-devel] [RFC] [PATCH] configure: Make sure config.h isn't accidentally included in builds for the host

2016-11-03 Thread Martin Storsjö
In aacps_tablegen.h, only include libm.h if building for the target. If actual fallbacks are needed here (in practice, sinf and cosf, which are missing on Plan 9 - they are present even on MSVC), we need to include libm.h, but this relies on configure test results for the target. These test