From: Richard Henderson Date: Thu, 2 May 2002 01:14:38 +0000 (-0700) Subject: Not a good day... X-Git-Tag: releases/gcc-3.1.0~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65913e0632d88f1774aa6b505e7c79cc208fb220;p=thirdparty%2Fgcc.git Not a good day... From-SVN: r53030 --- diff --git a/gcc/configure b/gcc/configure index 6b80738ad8a1..cefc654fe95a 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7165,7 +7165,7 @@ elif test x$gcc_cv_as != x; then # the date string after the version number. ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1` if echo "$ld_ver" | grep GNU > /dev/null; then - ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,;p'` + ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` if test 0"$ld_date" -lt 20020404; then gcc_cv_as_hidden="no" fi diff --git a/gcc/configure.in b/gcc/configure.in index d9ac4af6d671..d06b73476bc0 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1507,7 +1507,7 @@ elif test x$gcc_cv_as != x; then ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1` if echo "$ld_ver" | grep GNU > /dev/null; then changequote(,)dnl - ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,;p'` + ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` changequote([,])dnl if test 0"$ld_date" -lt 20020404; then gcc_cv_as_hidden="no"