aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-12 22:33:22 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-12 22:33:22 +0000
commit2067577c713671471ec03c52425625d69a19d1b4 (patch)
treec775b263f40a8f0df5dd225780d8124a04bd1614 /nptl
parent7437cbd1129b948de2c22c5d0cb853777ba6631e (diff)
downloadglibc-2067577c713671471ec03c52425625d69a19d1b4.tar
glibc-2067577c713671471ec03c52425625d69a19d1b4.tar.gz
glibc-2067577c713671471ec03c52425625d69a19d1b4.tar.bz2
glibc-2067577c713671471ec03c52425625d69a19d1b4.zip
Update.
* sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION. * posix/conststr.c: Handle these new values. * posix/getconf.c: Likewise. * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sysdeps/pthread/Makefile6
2 files changed, 9 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index ef1a4fe229..182d66bef6 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-12 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/pthread/Makefile: Define CFLAGS-confstr.c.
+
2003-02-10 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-cancel8.
diff --git a/nptl/sysdeps/pthread/Makefile b/nptl/sysdeps/pthread/Makefile
index fade787877..17f18cb928 100644
--- a/nptl/sysdeps/pthread/Makefile
+++ b/nptl/sysdeps/pthread/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -31,3 +31,7 @@ else
$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
endif
endif
+
+ifeq ($(subdir),posix)
+CFLAGS-confstr.c += -DLIBPTHREAD_VERSION="\"$(shell sed 's/\(.*\) by .*/\1/' ../nptl/Banner)\""
+endif