From 4a6a9ed212758a1fc4d566296b3579e3988398be Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sat, 28 Mar 2009 01:21:25 +0100 Subject: ѕ3/configure: fix regexp for ld version recognition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jelmer Vernooij (commit 740c2c4366badc62d017881c9484ee5153b62f94 in master) (commit 172ecfae44768289b98c1bafa7aa2b89dbecc312 in v3-4-test) (cherry picked from commit c53c875a7d205ba5f6fdb196db81e7c89d04b83b) --- source/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/configure.in b/source/configure.in index 8a1f7fc70c9..68b41195fbf 100644 --- a/source/configure.in +++ b/source/configure.in @@ -250,7 +250,7 @@ if test "$ac_cv_prog_gnu_ld" = "yes"; then else AC_MSG_CHECKING(GNU ld release version) changequote(,)dnl - ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^.*[^0-9\.]\+\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'` + ac_cv_gnu_ld_vernr=`echo $ac_cv_gnu_ld_version | sed -n 's,^[^0-9]*\([1-9][0-9]*\.[0-9][0-9]*\).*$,\1,p'` ac_cv_gnu_ld_vernr_major=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 1` ac_cv_gnu_ld_vernr_minor=`echo $ac_cv_gnu_ld_vernr | cut -d '.' -f 2` changequote([,])dnl -- cgit