Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/lock-tests @ 6654:2d9c9ba7cf8d
* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
* 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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 25 Feb 2006 05:07:39 +0000 |
parents | b79b3ca35615 |
children | d31f3019f697 |
rev | line source |
---|---|
6114 | 1 Files: |
2 tests/test-lock.c | |
3 | |
4 Depends-on: | |
5 | |
6 configure.ac: | |
7 dnl Checks for special libraries for the tests/test-lock test. | |
8 dnl On some systems, sched_yield is in librt, rather than in libpthread. | |
9 LIBSCHED= | |
10 if test $gl_threads_api = posix; then | |
11 AC_CHECK_LIB(rt, sched_yield, [LIBSCHED=-lrt]) | |
12 fi | |
13 AC_SUBST([LIBSCHED]) | |
14 | |
15 Makefile.am: | |
6654
2d9c9ba7cf8d
* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
Paul Eggert <eggert@cs.ucla.edu>
parents:
6584
diff
changeset
|
16 TESTS += test-lock$(EXEEXT) |
6584 | 17 check_PROGRAMS += test-lock |
6114 | 18 test_lock_LDADD = @LIBMULTITHREAD@ @LIBSCHED@ $(LDADD) |
19 |