aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/configure
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-06 09:21:36 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-06 09:21:36 +0000
commit7f2826c8361156ee387b5f1cfb5f4513c0af5554 (patch)
tree2c622f0554f3af8758ca1bdbce833e79c6d2ad0b /sysdeps/unix/sysv/linux/configure
parent513eb02f81cc5cd1eee48fe51d7fc5bd2c53ca9f (diff)
downloadglibc-7f2826c8361156ee387b5f1cfb5f4513c0af5554.tar
glibc-7f2826c8361156ee387b5f1cfb5f4513c0af5554.tar.gz
glibc-7f2826c8361156ee387b5f1cfb5f4513c0af5554.tar.bz2
glibc-7f2826c8361156ee387b5f1cfb5f4513c0af5554.zip
Update.
* manual/libc-texinfo.sh: Add note for the FDL. * manual/argp.texi (Argp Example 4): Fix texinfo warning. * manual/libc.texinfo: Regenerated. * manual/fdl.texi: Fix node.
Diffstat (limited to 'sysdeps/unix/sysv/linux/configure')
-rw-r--r--sysdeps/unix/sysv/linux/configure38
1 files changed, 20 insertions, 18 deletions
diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure
index f852718906..b1a8df8deb 100644
--- a/sysdeps/unix/sysv/linux/configure
+++ b/sysdeps/unix/sysv/linux/configure
@@ -52,11 +52,8 @@ 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
+ alpha*)
+ arch_minimum_kernel=2.1.100
;;
ia64*)
arch_minimum_kernel=2.4.0
@@ -64,6 +61,12 @@ case "$machine" in
hppa*)
arch_minimum_kernel=2.3.99
;;
+ mips*)
+ arch_minimum_kernel=2.2.15
+ ;;
+ sh*)
+ arch_minimum_kernel=2.3.99
+ ;;
*)
arch_minimum_kernel=2.0.10
;;
@@ -85,11 +88,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:89: checking for kernel header at least $minimum_kernel" >&5
+echo "configure:92: 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 93 "configure"
+#line 96 "configure"
#include "confdefs.h"
#include <linux/version.h>
#if LINUX_VERSION_CODE < $decnum
@@ -154,27 +157,26 @@ fi
case $add_ons in
# It is available. Good.
*linuxthreads*)
- message=
+ linuxthreads_missing=
;;
*)
- message="\
-*** WARNING: Are you sure you do not want to use the \`linuxthreads'
-*** add-on?"
+ linuxthreads_missing=yes
;;
esac
-if test "$message"; then
+if test "$linuxthreads_missing"; then
if test $enable_sanity = yes; then
echo "\
-*** You should not compile the GNU libc without the \`linuxthreads'
-*** add-on. Not using them risks being incompatible with the
-*** libraries of other systems. Consider getting the add-on and restarting
-*** the configuration.
+*** On GNU/Linux systems it is normal to compile GNU libc with the
+*** \`linuxthreads' add-on. Without that, the library will be
+*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter \`--disable-sanity-checks'."
exit 1
else
- echo "$message"
+ echo "\
+*** WARNING: Are you sure you do not want to use the \`linuxthreads'
+*** add-on?"
fi
fi
@@ -205,7 +207,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:209: checking for symlinks in ${ac_prefix}/include" >&5
+echo "configure:211: checking for symlinks in ${ac_prefix}/include" >&5
ac_message=
if test -L ${ac_prefix}/include/net; then
ac_message="$ac_message