summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-03-28 01:21:25 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-04-22 16:05:36 +0200
commit740c2c4366badc62d017881c9484ee5153b62f94 (patch)
tree150adee0c89f3c5a4f003f201d8a933a52c62006
parent40793e776332664ab16f3eb642deaf040fe5591d (diff)
downloadsamba-740c2c4366badc62d017881c9484ee5153b62f94.tar.gz
samba-740c2c4366badc62d017881c9484ee5153b62f94.tar.bz2
samba-740c2c4366badc62d017881c9484ee5153b62f94.zip
ѕ3/configure: fix regexp for ld version recognition
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 663c3a8361..4ed9e68d0d 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -284,7 +284,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