On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 4 May 2024 22:15:41 +0000 (00:15 +0200)
committerPatrick Franz <deltaone@debian.org>
Sat, 4 May 2024 22:15:41 +0000 (00:15 +0200)
commitdbd9b773884b7a912c8b60c0402d8d99e01f022c
treedf71623f0da34d8b5c9459b98576ff97f8f6b908
parent48366ea7f8ef647929b45128d14a2763ab59a32d
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