about summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-11 04:30:20 +0000
committerRoland McGrath <roland@gnu.org>2001-12-11 04:30:20 +0000
commite3261c59dd45f246491541c3cb1676c629754f1f (patch)
tree13492edea579d181836119c46e925089fdcec3e0 /sysdeps/mach
parent1b1135980418c7825be04b835d09037d1c27bcaa (diff)
downloadglibc-e3261c59dd45f246491541c3cb1676c629754f1f.tar.gz
glibc-e3261c59dd45f246491541c3cb1676c629754f1f.tar.xz
glibc-e3261c59dd45f246491541c3cb1676c629754f1f.zip
2001-12-10 Roland McGrath <roland@frob.com>
	* 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.
Diffstat (limited to 'sysdeps/mach')
-rwxr-xr-xsysdeps/mach/hurd/configure9
-rw-r--r--sysdeps/mach/hurd/configure.in9
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
     ;;