HomeClusterLabs Projects

Build: configure: Use REQUIRE_FUNC for sched_{get,set}scheduler.

Description

Build: configure: Use REQUIRE_FUNC for sched_{get,set}scheduler.

We've been searching for these functions in librt, but
lib/services/Makefile.am (the only library that uses these functions)
doesn't add -lrt to the linker flags anywhere. Thus, any platform where
these functions would be found in librt would fail to build. We can
therefore get rid of the search and just use REQUIRE_FUNC.

Related T876

Details

Provenance
clumensAuthored on Mon, Oct 14, 5:30 PM
Parents
rP60cc1fdec5d6: Build: configure: Use AC_SEARCH_LIBS for basic libraries.
Branches
Unknown
Tags
Unknown