Brice Goglin, on Tue 05 Apr 2016 10:39:29 +0200, wrote: > Le 05/04/2016 10:26, Samuel Thibault a écrit : > > The bug here is that that HWLOC_CHECK_DECL assumed that availability > > of the function was tested before, i.e. > >> conftest.c(96) : fatal error C1083: Cannot open include file: 'sched.h': No > >> such file or directory > > was unexpected. > > Adding a check for sched.h availability before CHECK_DECL() might be > enough for Jonathan's case. I am not sure I want to change this m4 code > in v1.11.3 since it has been working fine for years.
Well, we can as well just use AC_CHECK_DECL in v1.11.3, it'll just get the same result as what the code currently expects, and not the bug. Samuel