Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.
[platform/upstream/glibc.git] / sysdeps / mach / hurd / configure.in
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
2
3 dnl We need this setting because of the need for PLT calls in ld.so.
4 AC_DEFINE([NO_HIDDEN])
5
6 # Don't bother trying to generate any glue code to be compatible with the
7 # existing system library, because we are the only system library.
8 inhibit_glue=yes
9
10 case "$machine" in
11   i386*)
12     # The default oldest ABI is 2.2.6.
13     # We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
14     if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
15       libc_cv_gcc_unwind_find_fde=yes
16     fi
17     ;;
18 esac
19
20 AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl
21 AC_TRY_COMPILE(dnl
22 [#include <hurd/version.h>], [
23 #define NEED_VERSION 20020609
24 #if HURD_INTERFACE_VERSION < NEED_VERSION
25 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
26 #endif],
27                libc_cv_hurd_version=ok,
28                libc_cv_hurd_version=bad)])
29 if test "x$libc_cv_hurd_version" != xok; then
30   AC_MSG_ERROR(Hurd headers not installed or too old)
31 fi