diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-09-08 16:04:30 -0700 |
---|---|---|
committer | Petr Baudis <pasky@suse.cz> | 2009-09-18 20:10:05 +0200 |
commit | 44dbdf3777dae622641840855ca22888beb8115c (patch) | |
tree | 6f2737b5f069451e50901ecf0a70c2db54b79f07 | |
parent | 2efa76efeb80664784e51b5b7eea1fd4af6db49b (diff) | |
download | glibc-44dbdf3777dae622641840855ca22888beb8115c.tar.gz glibc-44dbdf3777dae622641840855ca22888beb8115c.tar.xz glibc-44dbdf3777dae622641840855ca22888beb8115c.zip |
Support binutils 2.100 and 3.0.
(cherry picked from commit 0549ce8ec1f66a41c59815e50dd48ffd74fabb52)
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 67793804ae..5927a241a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-09-05 H.J. Lu <hongjiu.lu@intel.com> + + * configure.in: Support binutils 2.100 and 3.0. + 2009-09-07 Ulrich Drepper <drepper@redhat.com> * locale/programs/ld-collate.c (struct locale_collate_t): Add diff --git a/configure b/configure index 2796424e35..fb5f07cf7a 100755 --- a/configure +++ b/configure @@ -4839,7 +4839,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[3-9]*|[2-9].[2-9]*) + 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; @@ -4902,7 +4902,7 @@ $as_echo_n "checking version of $LD... " >&6; } ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; - 2.1[3-9]*|[2-9].[2-9]*) + 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|3-9.*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; diff --git a/configure.in b/configure.in index 1660b2c479..4bd85015a2 100644 --- a/configure.in +++ b/configure.in @@ -897,10 +897,10 @@ AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in # Accept binutils 2.13 or newer. AC_CHECK_PROG_VER(AS, $AS, --version, [GNU assembler.* \([0-9]*\.[0-9.]*\)], - [2.1[3-9]*|[2-9].[2-9]*], AS=: critic_missing="$critic_missing as") + [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*], AS=: critic_missing="$critic_missing as") AC_CHECK_PROG_VER(LD, $LD, --version, [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], - [2.1[3-9]*|[2-9].[2-9]*], LD=: critic_missing="$critic_missing ld") + [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, LD=: critic_missing="$critic_missing ld") # We need the physical current working directory. We cannot use the # "pwd -P" shell builtin since that's not portable. Instead we try to |