On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 6 Aug 2022 04:49:04 +0000 (05:49 +0100)
committerPino Toscano <pino@debian.org>
Sat, 6 Aug 2022 04:49:04 +0000 (05:49 +0100)
commitf0c0b20c34a601126b1aae75a3b01d2c7ac5b01b
treebcb07ee77d800eccaaf58c472f13ede192ccdb86
parent5bbd11c30100aabeb8b9cca38909b656d58e5506
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