From e3261c59dd45f246491541c3cb1676c629754f1f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 11 Dec 2001 04:30:20 +0000 Subject: [PATCH] 2001-12-10 Roland McGrath * sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Fix conditionals so this is set by default for stdio and not for libio. * sysdeps/mach/hurd/configure: Regenerated. --- sysdeps/mach/hurd/configure | 9 ++++++++- sysdeps/mach/hurd/configure.in | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/sysdeps/mach/hurd/configure b/sysdeps/mach/hurd/configure index 6289cacda4..0bf301305e 100755 --- a/sysdeps/mach/hurd/configure +++ b/sysdeps/mach/hurd/configure @@ -12,7 +12,14 @@ fi case "$machine" in i386*) - if test -z "$oldest_abi" || test "$oldest_abi" \< "2.2.5"; then + # 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 ;; diff --git a/sysdeps/mach/hurd/configure.in b/sysdeps/mach/hurd/configure.in index 06a90d27f8..9d023dfe32 100644 --- a/sysdeps/mach/hurd/configure.in +++ b/sysdeps/mach/hurd/configure.in @@ -14,7 +14,14 @@ fi case "$machine" in i386*) - if test -z "$oldest_abi" || test "$oldest_abi" \< "2.2.5"; then + # 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 ;;