Quoting Daniel Stone (2018-01-19 08:50:17) > Hi, > > On 19 January 2018 at 16:26, Emil Velikov <emil.l.veli...@gmail.com> wrote: > > On 18 January 2018 at 21:30, Dylan Baker <dy...@pnwbakers.com> wrote: > >> I'm willing to defer to you on this, if you think that checking headers for > >> ETIME is too fragile then we can leave it (you definitely have more > >> experience > >> in these things). I'm just concerned it's going to turn into an endless > >> whack-a-mole game. > > > > I'll kindly ask Greg to open a bug with FreeBSD on the topic - they > > seemed positive on the Elf topic. > > Alternatively we can catch most of the fallout via a > > check_compile("#include <errno.h>\n main() {return ETIME;}") > > > > Not sure of Meson has an equivalent though. > > You can do cc.compiles('...') as you said, or as Dylan mentioned > up-thread, the far more direct: > cc.has.header_symbol('errno.h', 'ETIME') > > Cheers, > Daniel
I should really read whole threads before I start responding...
signature.asc
Description: signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev