mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 17:11:06 +00:00
953296cb7f
* sysdeps/mach/hurd/configure.in: Move `retcode' check to ... * sysdeps/mach/configure.in: ... here. * sysdeps/mach/hurd/configure: Regenerated. * sysdeps/mach/configure.in: Regenerated.
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
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])
|
|
|
|
# Don't bother trying to generate any glue code to be compatible with the
|
|
# existing system library, because we are the only system library.
|
|
inhibit_glue=yes
|
|
|
|
if test "x$prefix" != x; then
|
|
AC_MSG_WARN([--prefix= (empty) is required for GNU/Hurd to work normally])
|
|
fi
|
|
|
|
case "$machine" in
|
|
i386*)
|
|
# The default oldest ABI is 2.2.6.
|
|
# We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
|
|
if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
|
|
libc_cv_gcc_unwind_find_fde=yes
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl
|
|
AC_TRY_COMPILE(dnl
|
|
[#include <hurd/version.h>], [
|
|
#define NEED_VERSION 20020609
|
|
#if HURD_INTERFACE_VERSION < NEED_VERSION
|
|
# error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
|
|
#endif],
|
|
libc_cv_hurd_version=ok,
|
|
libc_cv_hurd_version=bad)])
|
|
if test "x$libc_cv_hurd_version" != xok; then
|
|
AC_MSG_ERROR(Hurd headers not installed or too old)
|
|
fi
|