FreeBSD port (54): configure and -D_LIBC_REENTRANT

Bruno Haible bruno@clisp.org
Fri Sep 20 07:18:00 GMT 2002


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"



More information about the Libc-alpha mailing list