aboutsummaryrefslogtreecommitdiff
path: root/grp/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-01-31 16:00:06 +0000
committerUlrich Drepper <drepper@redhat.com>1998-01-31 16:00:06 +0000
commit6a844df675b81d6b9057db066446943792ba89fc (patch)
tree0a9f4875992cadca0ec0ffdfdf17a86c8143b803 /grp/Makefile
parentf54de3b555f1458c7200ac45c21038f39669dbac (diff)
downloadglibc-6a844df675b81d6b9057db066446943792ba89fc.zip
glibc-6a844df675b81d6b9057db066446943792ba89fc.tar.gz
glibc-6a844df675b81d6b9057db066446943792ba89fc.tar.bz2
Update.
1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com> * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and getgrgid_r.c if thread package is available. * pwd/Makefile: Likewise. * grp/getgrnam_r.c: Remove USE_NSCD definition. * grp/getgrgid_r.c: Likewise. * pwd/getpwnam_r.c: Likewise. * pwd/getpwuid_r.c: Likewise. 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com> * nss/getXXbyYY_r.c: If NSS function reports too small buffer return with error to allow user intervention. * nss/getXXent_r.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
Diffstat (limited to 'grp/Makefile')
-rw-r--r--grp/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/grp/Makefile b/grp/Makefile
index 8c63a4c..7f2734e 100644
--- a/grp/Makefile
+++ b/grp/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1991, 1992, 1996, 1997, 1998 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -29,3 +29,11 @@ routines := fgetgrent initgroups setgroups \
tests := testgrp
include ../Rules
+
+# We can later add the names of other thread packages here.
+ifeq (,$(findstring linuxthreads,$(add-ons)))
+
+CFLAGS-getgrgid_r.c = -DUSE_NSCD=1
+CFLAGS-getgrnam_r.c = -DUSE_NSCD=1
+
+endif