From c75ccd4c3a84993ea392f23f2cf75f7274e22cc1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Aug 2012 09:35:15 -0700 Subject: Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. --- sysdeps/mach/hurd/Makeconfig | 3 +++ sysdeps/mach/hurd/configure.in | 3 --- sysdeps/pthread/Makeconfig | 2 ++ sysdeps/pthread/configure | 3 --- 4 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 sysdeps/pthread/Makeconfig delete mode 100644 sysdeps/pthread/configure (limited to 'sysdeps') diff --git a/sysdeps/mach/hurd/Makeconfig b/sysdeps/mach/hurd/Makeconfig index 1b65bb0..fe3b7c5 100644 --- a/sysdeps/mach/hurd/Makeconfig +++ b/sysdeps/mach/hurd/Makeconfig @@ -2,3 +2,6 @@ # See Makefile in this directory for the rule that builds this. # We must define this variable earlier than sysdeps Makefiles are included. static-start-installed-name = crt0.o + +# GNU libc on the Hurd is always reentrant. +libc-reentrant = yes diff --git a/sysdeps/mach/hurd/configure.in b/sysdeps/mach/hurd/configure.in index 6220142..ad915a5 100644 --- a/sysdeps/mach/hurd/configure.in +++ b/sysdeps/mach/hurd/configure.in @@ -1,8 +1,5 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# GNU libc on the Hurd is always reentrant. -DEFINES="$DEFINES -D_LIBC_REENTRANT" - dnl We need this setting because of the need for PLT calls in ld.so. AC_DEFINE([NO_HIDDEN]) diff --git a/sysdeps/pthread/Makeconfig b/sysdeps/pthread/Makeconfig new file mode 100644 index 0000000..2b564ea --- /dev/null +++ b/sysdeps/pthread/Makeconfig @@ -0,0 +1,2 @@ +# Compile libc code to do internal locking. +libc-reentrant = yes diff --git a/sysdeps/pthread/configure b/sysdeps/pthread/configure deleted file mode 100644 index e39d311..0000000 --- a/sysdeps/pthread/configure +++ /dev/null @@ -1,3 +0,0 @@ -# Local configure fragment for sysdeps/pthread. - -DEFINES="$DEFINES -D_LIBC_REENTRANT" -- cgit v1.1