about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure')
-rw-r--r--sysdeps/unix/sysv/linux/configure16
1 files changed, 12 insertions, 4 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