aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-06-21 12:39:22 +0000
committerAndreas Jaeger <aj@suse.de>2000-06-21 12:39:22 +0000
commit3e1f480ef8b2597264f9553041fef860d749c5d9 (patch)
tree81e6e7d7148cf2365b63216afcace11796c9643a /sysdeps/unix/sysv/linux
parentae0d72a53c42dec333fd9c0c136722af49d433b3 (diff)
downloadglibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar
glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.gz
glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.tar.bz2
glibc-3e1f480ef8b2597264f9553041fef860d749c5d9.zip
* tst-trans.c: Include <stdlib.h> and <string.h>.
2000-06-21 Andreas Jaeger <aj@suse.de> * tst-trans.c: Include <stdlib.h> and <string.h>.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/configure9
-rw-r--r--sysdeps/unix/sysv/linux/configure.in3
2 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index 1a3d18c7dd..c1d811da21 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -52,6 +52,9 @@ fi
# kernel headers are young enough. Additionally we have minimal
# kernel versions for some architectures.
case "$machine" in
+ mips*)
+ arch_minimum_kernel=2.2.15
+ ;;
sh*)
arch_minimum_kernel=2.3.99
;;
@@ -79,10 +82,10 @@ fi
if test -n "$minimum_kernel"; then
echo $ac_n "checking for kernel header at least $minimum_kernel""... $ac_c" 1>&6
-echo "configure:83: checking for kernel header at least $minimum_kernel" >&5
+echo "configure:86: 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)/'`;
cat > conftest.$ac_ext <<EOF
-#line 86 "configure"
+#line 89 "configure"
#include "confdefs.h"
#include <linux/version.h>
#if LINUX_VERSION_CODE < $decnum
@@ -194,7 +197,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:198: checking for symlinks in ${ac_prefix}/include" >&5
+echo "configure:201: 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 d379421a80..05b58e9e79 100644
--- a/sysdeps/unix/sysv/linux/configure.in
+++ b/sysdeps/unix/sysv/linux/configure.in
@@ -39,6 +39,9 @@ fi
# kernel headers are young enough. Additionally we have minimal
# kernel versions for some architectures.
case "$machine" in
+ mips*)
+ arch_minimum_kernel=2.2.15
+ ;;
sh*)
arch_minimum_kernel=2.3.99
;;