mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and
PowerPC, sync with 2.2 branch.
This commit is contained in:
parent
0308a4751c
commit
dffd10032d
16
sysdeps/unix/sysv/linux/configure
vendored
16
sysdeps/unix/sysv/linux/configure
vendored
@ -70,10 +70,18 @@ case "$machine" in
|
|||||||
arch_minimum_kernel=2.2.15
|
arch_minimum_kernel=2.2.15
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
;;
|
;;
|
||||||
powerpc)
|
powerpc*)
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
arch_minimum_kernel=2.0.10
|
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*)
|
sh*)
|
||||||
arch_minimum_kernel=2.3.99
|
arch_minimum_kernel=2.3.99
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
@ -106,11 +114,11 @@ fi
|
|||||||
|
|
||||||
if test -n "$minimum_kernel"; then
|
if test -n "$minimum_kernel"; then
|
||||||
echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
|
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)/'`;
|
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/'`;
|
abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`;
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 114 "configure"
|
#line 122 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#if LINUX_VERSION_CODE < $decnum
|
#if LINUX_VERSION_CODE < $decnum
|
||||||
@ -240,7 +248,7 @@ if test $host = $build; then
|
|||||||
ac_prefix=$ac_default_prefix
|
ac_prefix=$ac_default_prefix
|
||||||
fi
|
fi
|
||||||
echo $ac_n "checking for symlinks in ${ac_prefix}/include""... $ac_c" 1>&6
|
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=
|
ac_message=
|
||||||
if test -L ${ac_prefix}/include/net; then
|
if test -L ${ac_prefix}/include/net; then
|
||||||
ac_message="$ac_message
|
ac_message="$ac_message
|
||||||
|
@ -57,10 +57,18 @@ case "$machine" in
|
|||||||
arch_minimum_kernel=2.2.15
|
arch_minimum_kernel=2.2.15
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
;;
|
;;
|
||||||
powerpc)
|
powerpc*)
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
arch_minimum_kernel=2.0.10
|
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*)
|
sh*)
|
||||||
arch_minimum_kernel=2.3.99
|
arch_minimum_kernel=2.3.99
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user