about summary refs log tree commit diff
path: root/sysdeps/s390/configure.ac
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.vnet.ibm.com>2014-04-16 12:58:02 +0200
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-04-16 13:04:33 +0200
commit4fa8bc3b357150b1977f7701f96cef2590a400a7 (patch)
tree9a0fba214d7ba56451779f5223f67a660c10d91f /sysdeps/s390/configure.ac
parent8ea587db2b0bb5cd3e527982f7a1499748a987c3 (diff)
downloadglibc-4fa8bc3b357150b1977f7701f96cef2590a400a7.tar.gz
glibc-4fa8bc3b357150b1977f7701f96cef2590a400a7.tar.xz
glibc-4fa8bc3b357150b1977f7701f96cef2590a400a7.zip
[BZ #14770] S/390: Require Binutils >= 2.24 for target S/390.
Diffstat (limited to 'sysdeps/s390/configure.ac')
-rw-r--r--sysdeps/s390/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/s390/configure.ac b/sysdeps/s390/configure.ac
index b5af4e12fc..59cfdd132a 100644
--- a/sysdeps/s390/configure.ac
+++ b/sysdeps/s390/configure.ac
@@ -4,3 +4,11 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 dnl It is always possible to access static and hidden symbols in an
 dnl position independent way.
 AC_DEFINE(PI_STATIC_AND_HIDDEN)
+
+dnl Accept as 2.24 or newer.
+AC_CHECK_PROG_VER(AS, $AS, --version,
+		  [GNU assembler.* \([0-9]*\.[0-9.]*\)],
+		  [2.2[4-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], critic_missing="$critic_missing The program AS is required in version >= 2.24 for target S390.")
+
+test -n "$critic_missing" && AC_MSG_ERROR([
+*** $critic_missing])