-dnl Checks for special libraries for the tests/test-tls test.
-dnl On some systems, sched_yield is in librt, rather than in libpthread.
-LIBSCHED=
-if test $gl_threads_api = posix; then
- AC_CHECK_LIB(rt, sched_yield, [LIBSCHED=-lrt])
-fi
-AC_SUBST([LIBSCHED])