On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Mon, 1 Aug 2022 10:32:23 +0000 (11:32 +0100)
committerPino Toscano <pino@debian.org>
Mon, 1 Aug 2022 10:32:23 +0000 (11:32 +0100)
commita9b88c4a36abcc4a843b15f510e439177a8c552e
treee0da53242450765d6dd3f71cb77388254cb28ab8
parent49ab5444f5693779dee57c9adb6d5b7c7150f7b6
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