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 { echo "$as_me:$LINENO: WARNING: --prefix= (empty) is required for GNU/Hurd to work normally" >&5
17 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 echo "$as_me:$LINENO: checking Hurd header version" >&5
32 echo $ECHO_N "checking Hurd header version... $ECHO_C" >&6
33 if test "${libc_cv_hurd_version+set}" = set; then
34 echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57 (eval $ac_compile) 2>conftest.er1
59 grep -v '^ *+' conftest.er1 >conftest.err
62 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63 (exit $ac_status); } &&
64 { ac_try='test -z "$ac_c_werror_flag"
65 || test ! -s conftest.err'
66 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70 (exit $ac_status); }; } &&
71 { ac_try='test -s conftest.$ac_objext'
72 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76 (exit $ac_status); }; }; then
77 libc_cv_hurd_version=ok
79 echo "$as_me: failed program was:" >&5
80 sed 's/^/| /' conftest.$ac_ext >&5
82 libc_cv_hurd_version=bad
84 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86 echo "$as_me:$LINENO: result: $libc_cv_hurd_version" >&5
87 echo "${ECHO_T}$libc_cv_hurd_version" >&6
88 if test "x$libc_cv_hurd_version" != xok; then
89 { { echo "$as_me:$LINENO: error: Hurd headers not installed or too old" >&5
90 echo "$as_me: error: Hurd headers not installed or too old" >&2;}
91 { (exit 1); exit 1; }; }