Update.
This commit is contained in:
parent
d5b6c81799
commit
46086bc896
29
sysdeps/unix/sysv/linux/configure
vendored
29
sysdeps/unix/sysv/linux/configure
vendored
@ -20,14 +20,29 @@ if test -n "$sysheaders"; then
|
|||||||
OLD_CPPFLAGS=$CPPFLAGS
|
OLD_CPPFLAGS=$CPPFLAGS
|
||||||
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
CPPFLAGS="$CPPFLAGS $SYSINCLUDES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "$as_me:$LINENO: checking for egrep" >&5
|
||||||
|
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
||||||
|
if test "${ac_cv_prog_egrep+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
||||||
|
then ac_cv_prog_egrep='grep -E'
|
||||||
|
else ac_cv_prog_egrep='egrep'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
||||||
|
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
||||||
|
EGREP=$ac_cv_prog_egrep
|
||||||
|
|
||||||
|
|
||||||
echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5
|
echo "$as_me:$LINENO: checking installed Linux kernel header files" >&5
|
||||||
echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6
|
echo $ECHO_N "checking installed Linux kernel header files... $ECHO_C" >&6
|
||||||
if test "${libc_cv_linux2010+set}" = set; then
|
if test "${libc_cv_linux2010+set}" = set; then
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
else
|
else
|
||||||
|
cat >conftest.$ac_ext <<_ACEOF
|
||||||
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
#line $LINENO "configure"
|
#line $LINENO "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
@ -36,7 +51,7 @@ eat flaming death
|
|||||||
#endif
|
#endif
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
egrep "eat flaming death" >/dev/null 2>&1; then
|
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
||||||
libc_cv_linux2010='TOO OLD!'
|
libc_cv_linux2010='TOO OLD!'
|
||||||
else
|
else
|
||||||
libc_cv_linux2010='2.0.10 or later'
|
libc_cv_linux2010='2.0.10 or later'
|
||||||
@ -86,7 +101,7 @@ case "$machine" in
|
|||||||
arch_minimum_kernel=2.4.0
|
arch_minimum_kernel=2.4.0
|
||||||
;;
|
;;
|
||||||
hppa*)
|
hppa*)
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
arch_minimum_kernel=2.4.19
|
arch_minimum_kernel=2.4.19
|
||||||
;;
|
;;
|
||||||
m68k*)
|
m68k*)
|
||||||
@ -102,7 +117,7 @@ case "$machine" in
|
|||||||
arch_minimum_kernel=2.0.10
|
arch_minimum_kernel=2.0.10
|
||||||
;;
|
;;
|
||||||
powerpc/powerpc64)
|
powerpc/powerpc64)
|
||||||
arch_minimum_kernel=2.4.19
|
arch_minimum_kernel=2.4.21
|
||||||
;;
|
;;
|
||||||
s390/s390-32)
|
s390/s390-32)
|
||||||
libc_cv_gcc_unwind_find_fde=yes
|
libc_cv_gcc_unwind_find_fde=yes
|
||||||
@ -157,7 +172,7 @@ eat flaming death
|
|||||||
#endif
|
#endif
|
||||||
_ACEOF
|
_ACEOF
|
||||||
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
||||||
egrep "eat flaming death" >/dev/null 2>&1; then
|
$EGREP "eat flaming death" >/dev/null 2>&1; then
|
||||||
libc_minimum_kernel='too old!'
|
libc_minimum_kernel='too old!'
|
||||||
else
|
else
|
||||||
libc_minimum_kernel=ok
|
libc_minimum_kernel=ok
|
||||||
|
Loading…
x
Reference in New Issue
Block a user