Add missing magic to GLIBC_PROVIDES.
[glibc.git] / sysdeps / mach / hurd / configure
blob84948a549cf8b12b53154d99994d105f252d6549
1 # This file is generated from configure.in by Autoconf.  DO NOT EDIT!
3 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
6 # Don't bother trying to generate any glue code to be compatible with the
7 # existing system library, because we are the only system library.
8 inhibit_glue=yes
10 case "$machine" in
11   i386*)
12     # The default oldest ABI is 2.2.6.
13     # We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
14     if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
15       libc_cv_gcc_unwind_find_fde=yes
16     fi
17     ;;
18 esac
21 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
22 $as_echo_n "checking Hurd header version... " >&6; }
23 if ${libc_cv_hurd_version+:} false; then :
24   $as_echo_n "(cached) " >&6
25 else
26   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27 /* end confdefs.h.  */
28 #include <hurd/version.h>
29 int
30 main ()
33 #define NEED_VERSION 20020609
34 #if HURD_INTERFACE_VERSION < NEED_VERSION
35 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
36 #endif
37   ;
38   return 0;
40 _ACEOF
41 if ac_fn_c_try_compile "$LINENO"; then :
42   libc_cv_hurd_version=ok
43 else
44   libc_cv_hurd_version=bad
46 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
49 $as_echo "$libc_cv_hurd_version" >&6; }
50 if test "x$libc_cv_hurd_version" != xok; then
51   as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5