mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Improve consistency of --enable-kernel and default builds.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2012-05-14 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
|
||||
set if not set by the user. Do not allow for being unset.
|
||||
* sysdeps/unix/sysv/linux/configure: Regenerated.
|
||||
|
||||
2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
|
||||
|
4
sysdeps/unix/sysv/linux/configure
vendored
4
sysdeps/unix/sysv/linux/configure
vendored
@ -331,12 +331,9 @@ $as_echo "$as_me: WARNING: minimum kernel version reset to $arch_minimum_kernel"
|
||||
minimum_kernel=$arch_minimum_kernel
|
||||
fi
|
||||
else
|
||||
if test $arch_minimum_kernel != '2.2.0'; then
|
||||
minimum_kernel=$arch_minimum_kernel
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$minimum_kernel"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel header at least $minimum_kernel" >&5
|
||||
$as_echo_n "checking for kernel header at least $minimum_kernel... " >&6; }
|
||||
decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
|
||||
@ -371,7 +368,6 @@ _ACEOF
|
||||
as_fn_error $? "*** The available kernel headers are older than the requested
|
||||
*** compatible kernel version" "$LINENO" 5
|
||||
fi
|
||||
fi
|
||||
|
||||
# The result of the above test for the use of the FDE code is invalid if
|
||||
# the user overrides the decision about the minimum ABI.
|
||||
|
@ -87,12 +87,9 @@ if test -n "$minimum_kernel"; then
|
||||
minimum_kernel=$arch_minimum_kernel
|
||||
fi
|
||||
else
|
||||
if test $arch_minimum_kernel != '2.2.0'; then
|
||||
minimum_kernel=$arch_minimum_kernel
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$minimum_kernel"; then
|
||||
AC_MSG_CHECKING(for kernel header at least $minimum_kernel)
|
||||
changequote(,)dnl
|
||||
decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`;
|
||||
@ -110,7 +107,6 @@ eat flaming death
|
||||
AC_MSG_ERROR([*** The available kernel headers are older than the requested
|
||||
*** compatible kernel version])
|
||||
fi
|
||||
fi
|
||||
|
||||
# The result of the above test for the use of the FDE code is invalid if
|
||||
# the user overrides the decision about the minimum ABI.
|
||||
|
Reference in New Issue
Block a user