X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ftls-tests;h=107cfe45f65e73106072a080bc12920f441dc74d;hb=d3042e83ace41dcd72fdf8d5173ddf55ac645459;hp=7868519c1031eaca6a8d3c1864e052b60525dcba;hpb=563ea91ac9156e83e5a6dfed3510aaa3bf67c6ad;p=gnulib.git diff --git a/modules/tls-tests b/modules/tls-tests index 7868519c1..107cfe45f 100644 --- a/modules/tls-tests +++ b/modules/tls-tests @@ -2,18 +2,13 @@ Files: tests/test-tls.c Depends-on: +thread +yield configure.ac: -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]) Makefile.am: TESTS += test-tls check_PROGRAMS += test-tls -test_tls_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD) +test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@