]> sourceware.org Git - glibc.git/blob - sysdeps/mach/hurd/configure
Add pthread-in-libc, libpthread-routines-var, librt-routines-var
[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_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 { $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 ()
22 {
23
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;
30 }
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
36 fi
37 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38 fi
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
43 fi
44
45 if test -n "$sysheaders"; then
46 CPPFLAGS=$OLD_CPPFLAGS
47 fi
48
49 # Hurd has libpthread as a separate library.
50 pthread_in_libc=no
This page took 0.045916 seconds and 6 git commands to generate.