On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Thu, 23 May 2024 21:34:42 +0000 (23:34 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 23 May 2024 21:34:42 +0000 (23:34 +0200)
commite8a48c26f9a12b00c8237790b6c9b0fb9214dedd
treed1bd60e499d79e25153e95aa699118ad26e3dac0
parente2fd7304f73c43025d6c5b94ec36c00e65b99e48
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