1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
3 # GNU libc on the Hurd is always reentrant.
4 DEFINES="$DEFINES -D_LIBC_REENTRANT"
6 cat >>confdefs.h <<\_ACEOF
11 # Don't bother trying to generate any glue code to be compatible with the
12 # existing system library, because we are the only system library.
15 if test "x$prefix" != x; then
16 { $as_echo "$as_me:$LINENO: WARNING: --prefix= (empty) is required for GNU/Hurd to work normally" >&5
17 $as_echo "$as_me: WARNING: --prefix= (empty) is required for GNU/Hurd to work normally" >&2;}
22 # The default oldest ABI is 2.2.6.
23 # We only need a "yes" here if the oldest ABI supported will be < 2.2.6.
24 if test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.6"; then
25 libc_cv_gcc_unwind_find_fde=yes
31 { $as_echo "$as_me:$LINENO: checking Hurd header version" >&5
32 $as_echo_n "checking Hurd header version... " >&6; }
33 if test "${libc_cv_hurd_version+set}" = set; then
34 $as_echo_n "(cached) " >&6
36 cat >conftest.$ac_ext <<_ACEOF
39 cat confdefs.h >>conftest.$ac_ext
40 cat >>conftest.$ac_ext <<_ACEOF
42 #include <hurd/version.h>
47 #define NEED_VERSION 20020609
48 #if HURD_INTERFACE_VERSION < NEED_VERSION
49 # error Hurd version too old: HURD_INTERFACE_VERSION < NEED_VERSION
55 rm -f conftest.$ac_objext
56 if { (ac_try="$ac_compile"
58 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59 *) ac_try_echo=$ac_try;;
61 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
62 $as_echo "$ac_try_echo") >&5
63 (eval "$ac_compile") 2>conftest.er1
65 grep -v '^ *+' conftest.er1 >conftest.err
68 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
69 (exit $ac_status); } && {
70 test -z "$ac_c_werror_flag" ||
71 test ! -s conftest.err
72 } && test -s conftest.$ac_objext; then
73 libc_cv_hurd_version=ok
75 $as_echo "$as_me: failed program was:" >&5
76 sed 's/^/| /' conftest.$ac_ext >&5
78 libc_cv_hurd_version=bad
81 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83 { $as_echo "$as_me:$LINENO: result: $libc_cv_hurd_version" >&5
84 $as_echo "$libc_cv_hurd_version" >&6; }
85 if test "x$libc_cv_hurd_version" != xok; then
86 { { $as_echo "$as_me:$LINENO: error: Hurd headers not installed or too old" >&5
87 $as_echo "$as_me: error: Hurd headers not installed or too old" >&2;}
88 { (exit 1); exit 1; }; }