summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2012-08-22 12:58:18 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-22 12:58:18 -0700
commit07e515506660b1d0c1934dc0ac0e2ac5e7a4a760 (patch)
tree91ee4cf9802e5cc6f4460e2a91411e62d149f597 /configure
parent35a5b08bd4a5fc34d171480f32b9a235a94ff692 (diff)
downloadglibc-07e515506660b1d0c1934dc0ac0e2ac5e7a4a760.tar.gz
Fix sed configure check for newer sed --version output.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9dddf3c58f..a573bfec00 100755
--- a/configure
+++ b/configure
@@ -4963,7 +4963,7 @@ else
# Found it, now check the version.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
$as_echo_n "checking version of $SED... " >&6; }
- ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
+ ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
3.0[2-9]*|3.[1-9]*|[4-9]*)