Revert not defining NO_HIDDEN on hurd
[glibc.git] / sysdeps / mach / hurd / configure
blob3d155a450ea525a24fe4261d34a0b672b12634c8
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
3 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
6 if test -n "$sysheaders"; then
7   OLD_CPPFLAGS=$CPPFLAGS
8   CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
9 fi
12 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
13 $as_echo_n "checking Hurd header version... " >&6; }
14 if ${libc_cv_hurd_version+:} false; then :
15   $as_echo_n "(cached) " >&6
16 else
17   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18 /* end confdefs.h.  */
19 #include <hurd/version.h>
20 int
21 main ()
24 #define NEED_VERSION 20020609
25 #if HURD_INTERFACE_VERSION < NEED_VERSION
26 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
27 #endif
28   ;
29   return 0;
31 _ACEOF
32 if ac_fn_c_try_compile "$LINENO"; then :
33   libc_cv_hurd_version=ok
34 else
35   libc_cv_hurd_version=bad
37 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
40 $as_echo "$libc_cv_hurd_version" >&6; }
41 if test "x$libc_cv_hurd_version" != xok; then
42   as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5
45 if test -n "$sysheaders"; then
46   CPPFLAGS=$OLD_CPPFLAGS