view modules/tls-tests @ 7368:a7abebdb07f4

* gnulib-tool (func_import, func_create_testdir): Fix typos in 2006-09-18 patch.
author Eric Blake <ebb9@byu.net>
date Mon, 25 Sep 2006 21:20:54 +0000
parents 2d9c9ba7cf8d
children d31f3019f697
line wrap: on
line source

Files:
tests/test-tls.c

Depends-on:

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$(EXEEXT)
check_PROGRAMS += test-tls
test_tls_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD)