summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-09-25 18:01:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-09-25 18:01:34 -0700
commitb4396163aa8666f970aaf43eaca25f3a92b18c1b (patch)
tree66238b62ad94ac60a3e86c9138a532a44d319ce6 /configure.ac
parent8f8349870fbcd822b0bdbd3200bc0245f812dae4 (diff)
downloadglibc-b4396163aa8666f970aaf43eaca25f3a92b18c1b.tar.gz
glibc-b4396163aa8666f970aaf43eaca25f3a92b18c1b.tar.xz
glibc-b4396163aa8666f970aaf43eaca25f3a92b18c1b.zip
Update configure.ac for binutils 2.25
Commit 073e8fa7739ed453d6854b834f290c263a6cdb9f 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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 2c6308883c..d412104d8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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