]> sourceware.org Git - glibc.git/blob - sysdeps/mach/hurd/configure
33d3e1fc0ff76891d6a1a083577c94f8823e5403
[glibc.git] / sysdeps / mach / hurd / configure
1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2
3 printf "%s\n" "#define NO_RTLD_HIDDEN 1" >>confdefs.h
4
5
6 if test -n "$sysheaders"; then
7 OLD_CPPFLAGS=$CPPFLAGS
8 CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
9 fi
10
11
12
13 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Hurd header version" >&5
14 printf %s "checking Hurd header version... " >&6; }
15 if test ${libc_cv_hurd_version+y}
16 then :
17 printf %s "(cached) " >&6
18 else $as_nop
19 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20 /* end confdefs.h. */
21 #include <hurd/version.h>
22 int
23 main (void)
24 {
25
26 #define NEED_VERSION 20020609
27 #if HURD_INTERFACE_VERSION < NEED_VERSION
28 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
29 #endif
30 ;
31 return 0;
32 }
33 _ACEOF
34 if ac_fn_c_try_cpp "$LINENO"
35 then :
36 libc_cv_hurd_version=ok
37 else $as_nop
38 libc_cv_hurd_version=bad
39 fi
40 rm -f conftest.err conftest.i conftest.$ac_ext
41 fi
42 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hurd_version" >&5
43 printf "%s\n" "$libc_cv_hurd_version" >&6; }
44 if test "x$libc_cv_hurd_version" != xok; then
45 as_fn_error $? "Hurd headers not installed or too old" "$LINENO" 5
46 fi
47
48 if test -n "$sysheaders"; then
49 CPPFLAGS=$OLD_CPPFLAGS
50 fi
51
52 # Hurd has libpthread as a separate library.
53 pthread_in_libc=no
54
This page took 0.041105 seconds and 5 git commands to generate.