mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
600c13bf72
* sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function): Set to no. * sysdeps/mach/hurd/configure: Refresh.
33 lines
984 B
Plaintext
33 lines
984 B
Plaintext
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
|
|
|
|
dnl We need this setting because of the need for PLT calls in ld.so.
|
|
dnl See Roland's comment in
|
|
dnl https://sourceware.org/bugzilla/show_bug.cgi?id=15605
|
|
AC_DEFINE([NO_HIDDEN])
|
|
|
|
if test -n "$sysheaders"; then
|
|
OLD_CPPFLAGS=$CPPFLAGS
|
|
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
|
fi
|
|
|
|
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
|
|
|
|
if test -n "$sysheaders"; then
|
|
CPPFLAGS=$OLD_CPPFLAGS
|
|
fi
|
|
|
|
dnl ifunc does not work yet for static binaries
|
|
dnl http://www.gnu.org/software/hurd/open_issues/ifunc.html
|
|
libc_cv_ld_gnu_indirect_function=no
|