about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/configure
blob: 0bf301305e90443bc209c8601008c1c26c8bbde7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
# GNU libc on the Hurd is always reentrant.
DEFINES="$DEFINES -D_LIBC_REENTRANT"

# Don't bother trying to generate any glue code to be compatible with the
# existing system library, because we are the only system library.
inhibit_glue=yes

if test "x$prefix" != x; then
  echo "configure: warning: --prefix= (empty) is required for GNU/Hurd to work normally" 1>&2
fi

case "$machine" in
  i386*)
    # With --enable-libio, the default oldest ABI is 2.5.5;
    # without --enable-libio, the default oldest ABI is 2.0.
    # We only need a "yes" here if the oldest ABI supported will be < 2.2.5.
    if if test "$stdio" = libio; then
         test "$oldest_abi" != default && test "$oldest_abi" \< "2.2.5"
       else
         test "$oldest_abi" = default || test "$oldest_abi" \< "2.2.5"
       fi; then
      libc_cv_gcc_unwind_find_fde=yes
    fi
    ;;
esac