mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Update configure.ac for binutils 2.25
Commit 073e8fa773
requires binutils 2.25
or later to build glibc:
* configure.ac (AS): Require binutils 2.25 or later.
(LD): Likewise.
But it only updated LD version check in configure.ac. This patch adds
the missing AS version check.
* configure.ac (AS): Require binutils 2.25 or later.
* configure: Regenerated.
This commit is contained in:
parent
8f8349870f
commit
b4396163aa
@ -1,3 +1,8 @@
|
||||
2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* configure.ac (AS): Require binutils 2.25 or later.
|
||||
* configure: Regenerated.
|
||||
|
||||
2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
[BZ #22207]
|
||||
|
4
configure
vendored
4
configure
vendored
@ -4615,7 +4615,7 @@ $as_echo "$libc_cv_prog_ld_gnu" >&6; }
|
||||
gnu_ld=$libc_cv_prog_ld_gnu
|
||||
|
||||
|
||||
# Accept binutils 2.22 or newer.
|
||||
# Accept binutils 2.25 or newer.
|
||||
for ac_prog in $AS
|
||||
do
|
||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||
@ -4667,7 +4667,7 @@ $as_echo_n "checking version of $AS... " >&6; }
|
||||
ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||
case $ac_prog_version in
|
||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||
2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
|
||||
2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
|
||||
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
||||
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
||||
|
||||
|
@ -1078,10 +1078,10 @@ AC_PROG_LN_S
|
||||
|
||||
LIBC_PROG_BINUTILS
|
||||
|
||||
# Accept binutils 2.22 or newer.
|
||||
# Accept binutils 2.25 or newer.
|
||||
AC_CHECK_PROG_VER(AS, $AS, --version,
|
||||
[GNU assembler.* \([0-9]*\.[0-9.]*\)],
|
||||
[2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
|
||||
[2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
|
||||
AS=: critic_missing="$critic_missing as")
|
||||
|
||||
if test -n "`$LD --version | sed -n 's/^GNU \(gold\).*$/\1/p'`"; then
|
||||
|
Loading…
Reference in New Issue
Block a user