1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
3 # GNU libc on the Hurd is always reentrant.
4 DEFINES="$DEFINES -D_LIBC_REENTRANT"
6 dnl We need this setting because of the need for PLT calls in ld.so.
9 # Don't bother trying to generate any glue code to be compatible with the
10 # existing system library, because we are the only system library.
13 if test "x$prefix" != x; then
14 AC_MSG_WARN([--prefix= (empty) is required for GNU/Hurd to work normally])
19 # The default oldest ABI is 2.2.6.
20 # We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
21 if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
22 libc_cv_gcc_unwind_find_fde=yes
27 AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl
29 [#include <hurd/version.h>], [
30 #define NEED_VERSION 20020609
31 #if HURD_INTERFACE_VERSION < NEED_VERSION
32 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
34 libc_cv_hurd_version=ok,
35 libc_cv_hurd_version=bad)])
36 if test "x$libc_cv_hurd_version" != xok; then
37 AC_MSG_ERROR(Hurd headers not installed or too old)