From dffd10032d4cad723b9ff000e8f70143546979ac Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 17 Jan 2002 17:22:51 +0000 Subject: * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and PowerPC, sync with 2.2 branch. --- sysdeps/unix/sysv/linux/configure | 16 ++++++++++++---- sysdeps/unix/sysv/linux/configure.in | 10 +++++++++- 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 < #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 -- cgit 1.4.1