mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* modules/lock-tests (TESTS): Use $(EXEEXT). * modules/tls-tests: Likewise. * modules/argp-tests: Likewise. (check_PROGRAMS): New var, replacing... (noinst_PROGRAMS, test_argp_SOURCES): Remove.
20 lines
431 B
Plaintext
20 lines
431 B
Plaintext
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)
|
|
|