Revert not defining NO_HIDDEN on hurd
[glibc.git] / sysdeps / mach / hurd / configure.ac
blobaf9a9ea05211c45a3f25e8affc9dc0f3da6842cb
1 GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
3 dnl We need this setting because of the need for PLT calls in ld.so.
4 AC_DEFINE([NO_HIDDEN])
6 if test -n "$sysheaders"; then
7   OLD_CPPFLAGS=$CPPFLAGS
8   CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
9 fi
11 AC_CACHE_CHECK(Hurd header version, libc_cv_hurd_version, [dnl
12 AC_TRY_COMPILE(dnl
13 [#include <hurd/version.h>], [
14 #define NEED_VERSION 20020609
15 #if HURD_INTERFACE_VERSION < NEED_VERSION
16 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
17 #endif],
18                libc_cv_hurd_version=ok,
19                libc_cv_hurd_version=bad)])
20 if test "x$libc_cv_hurd_version" != xok; then
21   AC_MSG_ERROR(Hurd headers not installed or too old)
24 if test -n "$sysheaders"; then
25   CPPFLAGS=$OLD_CPPFLAGS