about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-01-17 17:22:51 +0000
committerAndreas Jaeger <aj@suse.de>2002-01-17 17:22:51 +0000
commitdffd10032d4cad723b9ff000e8f70143546979ac (patch)
tree58fd95b72a0f425107e43376e2866417f0c2f05f /sysdeps
parent0308a4751c79429781f9441c771fe3024c2ac5ec (diff)
downloadglibc-dffd10032d4cad723b9ff000e8f70143546979ac.tar.gz
glibc-dffd10032d4cad723b9ff000e8f70143546979ac.tar.xz
glibc-dffd10032d4cad723b9ff000e8f70143546979ac.zip
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/configure16
-rw-r--r--sysdeps/unix/sysv/linux/configure.in10
2 files changed, 21 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index 72fa8430ac..da71c04f9b 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -70,10 +70,18 @@ case "$machine" in
     arch_minimum_kernel=2.2.15
     libc_cv_gcc_unwind_find_fde=yes
     ;;
-  powerpc)
+  powerpc*)
     libc_cv_gcc_unwind_find_fde=yes
     arch_minimum_kernel=2.0.10
     ;;
+  s390/s390-32)
+    libc_cv_gcc_unwind_find_fde=yes
+    arch_minimum_kernel=2.2.10
+    ;;
+  s390/s390-64)
+    libc_cv_gcc_unwind_find_fde=yes
+    arch_minimum_kernel=2.4.0
+    ;;
   sh*)
     arch_minimum_kernel=2.3.99
     libc_cv_gcc_unwind_find_fde=yes
@@ -106,11 +114,11 @@ fi
 
 if test -n "$minimum_kernel"; then
   echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
-echo "configure:110: checking for kernel header at least $minimum_kernel" >&5
+echo "configure:118: checking for kernel header at least $minimum_kernel" >&5
   decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
   abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`;
   cat > conftest.$ac_ext <<EOF
-#line 114 "configure"
+#line 122 "configure"
 #include "confdefs.h"
 #include <linux/version.h>
 #if LINUX_VERSION_CODE < $decnum
@@ -240,7 +248,7 @@ if test $host = $build; then
     ac_prefix=$ac_default_prefix
   fi
   echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
-echo "configure:244: checking for symlinks in ${ac_prefix}/include" >&5
+echo "configure:252: checking for symlinks in ${ac_prefix}/include" >&5
   ac_message=
   if test -L ${ac_prefix}/include/net; then
     ac_message="$ac_message
diff --git a/sysdeps/unix/sysv/linux/configure.in b/sysdeps/unix/sysv/linux/configure.in
index 709d8e913f..127c5fec38 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -57,10 +57,18 @@ case "$machine" in
     arch_minimum_kernel=2.2.15
     libc_cv_gcc_unwind_find_fde=yes
     ;;
-  powerpc)
+  powerpc*)
     libc_cv_gcc_unwind_find_fde=yes
     arch_minimum_kernel=2.0.10
     ;;
+  s390/s390-32)
+    libc_cv_gcc_unwind_find_fde=yes
+    arch_minimum_kernel=2.2.10
+    ;;
+  s390/s390-64)
+    libc_cv_gcc_unwind_find_fde=yes
+    arch_minimum_kernel=2.4.0
+    ;;
   sh*)
     arch_minimum_kernel=2.3.99
     libc_cv_gcc_unwind_find_fde=yes