FreeBSD port (3): make check without linuxthreads

Bruno Haible bruno@clisp.org
Mon Jul 8 04:56:00 GMT 2002


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)



More information about the Libc-alpha mailing list