On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 18 Jun 2023 14:08:43 +0000 (15:08 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 18 Jun 2023 14:08:43 +0000 (15:08 +0100)
commite2fc3eaa960908e8f2015fd7448168d2d4d92a66
treedc357735567dfa091d550e99c87d1dbee3bb21cf
parent1e45ff2066b5ed34851fc4e01449cb9cd1cf6031
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