summaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index fbde2e6e556..948bfc2acd3 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -1337,7 +1337,7 @@ EOF
as_ver=`echo $as_ver | sed -e 's/.* //'`
as_major=`echo $as_ver | sed 's/\..*//'`
changequote(,)dnl
- as_minor=`echo $as_ver | sed 's/[^.]*.\([^.]*\).*/\1/'`
+ as_minor=`echo $as_ver | sed 's/[^.]*.\([0-9]*\).*/\1/'`
changequote([,])dnl
if test $as_major -eq 2 -a $as_minor -lt 11; then
gcc_cv_as_leb128="no"