1GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. 2 3dnl We need this setting because of the need for PLT calls in ld.so. 4dnl See Roland's comment in 5dnl https://sourceware.org/bugzilla/show_bug.cgi?id=15605 6AC_DEFINE([NO_RTLD_HIDDEN]) 7 8if test -n "$sysheaders"; then 9 OLD_CPPFLAGS=$CPPFLAGS 10 CPPFLAGS="$CPPFLAGS $SYSINCLUDES" 11fi 12 13AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl 14AC_PREPROC_IFELSE([AC_LANG_PROGRAM(dnl 15[[#include <hurd/version.h>]], [[ 16#define NEED_VERSION 20020609 17#if HURD_INTERFACE_VERSION < NEED_VERSION 18# error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION 19#endif]])], 20 [libc_cv_hurd_version=ok], 21 [libc_cv_hurd_version=bad])]) 22if test "x$libc_cv_hurd_version" != xok; then 23 AC_MSG_ERROR(Hurd headers not installed or too old) 24fi 25 26if test -n "$sysheaders"; then 27 CPPFLAGS=$OLD_CPPFLAGS 28fi 29 30# Hurd has libpthread as a separate library. 31pthread_in_libc=no 32