This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (54): configure and -D_LIBC_REENTRANT
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 20 Sep 2002 16:19:40 +0200 (CEST)
- Subject: FreeBSD port (54): configure and -D_LIBC_REENTRANT
Hi,
linuxthreads/sysdeps/unix/sysv/linux/configure
adds -D_LIBC_REENTRANT to the DEFINES. For FreeBSD I need to copy this to
linuxthreads/sysdeps/unix/bsd/bsd4.4/freebsd/configure.
But _LIBC_REENTRANT is needed on any platform using linuxthreads, be it
Linux, FreeBSD or any other. So here is a generalization of this configure
bit.
ChangeLog:
2002-09-17 Bruno Haible <bruno@clisp.org>
* sysdeps/pthread/configure: New file, moved here from
linuxthreads/sysdeps/unix/sysv/linux/configure.
linuxthreads/ChangeLog:
2002-09-17 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/configure: Remove file.
rm -f linuxthreads/sysdeps/unix/sysv/linux/configure
*** /dev/null Fri Sep 20 02:00:52 2002
--- glibc-20020910/sysdeps/pthread/configure Fri Jul 12 23:20:09 2002
***************
*** 0 ****
--- 1,4 ----
+ # Local configure fragment for sysdeps/pthread.
+
+ # GNU libc on any platform with pthread support is reentrant.
+ DEFINES="$DEFINES -D_LIBC_REENTRANT"