Don't search for linuxhtreads in add-ons, use have-thread-library to
authordrepper <drepper>
Sun, 18 Oct 1998 14:44:51 +0000 (14:44 +0000)
committerdrepper <drepper>
Sun, 18 Oct 1998 14:44:51 +0000 (14:44 +0000)
determine whether threads are available.

grp/Makefile

index 0d13495..282aeb7 100644 (file)
@@ -30,8 +30,7 @@ tests := testgrp
 
 include ../Rules
 
-# We can later add the names of other thread packages here.
-ifneq (,$(findstring linuxthreads,$(add-ons)))
+ifeq ($(have-thread-library),yes)
 
 CFLAGS-getgrgid_r.c = -DUSE_NSCD=1
 CFLAGS-getgrnam_r.c = -DUSE_NSCD=1