]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/mach/hurd/configure
rename configure.in to configure.ac
[thirdparty/glibc.git] / sysdeps / mach / hurd / configure
1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2
3 $as_echo "#define NO_HIDDEN 1" >>confdefs.h
4
5
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
9
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
19
20
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 ()
31 {
32
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;
39 }
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
45 fi
46 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47 fi
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
52 fi