This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (3): make check without linuxthreads
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 8 Jul 2002 13:58:36 +0200 (CEST)
- Subject: FreeBSD port (3): make check without linuxthreads
Hi,
Since the aio implementation relies on pthreads, a build without
linuxthreads needs to skip the aio tests.
2002-07-06 Bruno Haible <bruno@clisp.org>
* rt/Makefile (tests): Don't add tst-aio* in a single-threaded build.
diff -r -c3 glibc-20020627.bak/rt/Makefile glibc-20020627/rt/Makefile
--- glibc-20020627.bak/rt/Makefile Sat Oct 20 20:12:02 2001
+++ glibc-20020627/rt/Makefile Fri Jul 5 01:17:06 2002
@@ -38,8 +38,10 @@
$(clock-routines) $(timer-routines) \
$(shm-routines)
-tests := tst-shm tst-clock tst-timer \
- tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
+tests := tst-shm tst-clock tst-timer
+ifeq ($(have-thread-library),yes)
+tests += tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6
+endif
extra-libs := librt
extra-libs-others := $(extra-libs)