Mercurial > hg > octave-kai > gnulib-hg
view modules/tls-tests @ 10264:ebb7ea0c94e8
Rename isnand.h to isnand-nolibm.h, similarly for isnanf.h.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Sat, 12 Jul 2008 10:41:34 -0700 (2008-07-12) |
parents | ae4587be462b |
children | f96e845fc36d |
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 dnl Solaris has sched_yield in librt, not in libpthread or libc. AC_CHECK_LIB(rt, sched_yield, [LIBSCHED=-lrt], [dnl Solaris 2.5.1, 2.6 has sched_yield in libposix4, not librt. AC_CHECK_LIB(posix4, sched_yield, [LIBSCHED=-lposix4])]) fi AC_SUBST([LIBSCHED]) Makefile.am: TESTS += test-tls check_PROGRAMS += test-tls test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @LIBSCHED@