summary refs log tree commit diff
path: root/linuxthreads/sysdeps/pthread
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 /linuxthreads/sysdeps/pthread
parent7437cbd1129b948de2c22c5d0cb853777ba6631e (diff)
downloadglibc-2067577c713671471ec03c52425625d69a19d1b4.tar.gz
glibc-2067577c713671471ec03c52425625d69a19d1b4.tar.xz
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 'linuxthreads/sysdeps/pthread')
-rw-r--r--linuxthreads/sysdeps/pthread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/Makefile b/linuxthreads/sysdeps/pthread/Makefile
index a0d3315235..6b92fbf47f 100644
--- a/linuxthreads/sysdeps/pthread/Makefile
+++ b/linuxthreads/sysdeps/pthread/Makefile
@@ -7,3 +7,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