On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 18 Sep 2022 21:11:48 +0000 (22:11 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 18 Sep 2022 21:11:48 +0000 (22:11 +0100)
commit1b6c44abfbe049efabb65795c1ba425d0a4ae518
tree0f39b2675baa30637f73ed9746f6654605e050f5
parenta104b94b9635d294a4831e250de00016bdf659aa
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/ioslaves/file/ConfigureChecks.cmake