configure.in (ld_vers): Portability [sed].
* configure.in (ld_vers): Portability [sed]. * configure: Regenerate with autoconf213. From-SVN: r68515
This commit is contained in:
parent
28ba16e320
commit
beda34712f
|
@ -1,3 +1,8 @@
|
|||
2003-06-25 Loren James Rittle <ljrittle@acm.org>
|
||||
|
||||
* configure.in (ld_vers): Portability [sed].
|
||||
* configure: Regenerate with autoconf213.
|
||||
|
||||
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* doc/extend.texi: Document new builtin functions for Intel
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1839,7 +1839,13 @@ 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_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([ ].*\|\)$,\1,p'`
|
||||
ld_vers=`echo $ld_ver | sed -n \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,p' \
|
||||
-e 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[ ].*$,\1,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
|
||||
if test -n "$ld_date"; then
|
||||
|
|
Loading…
Reference in New Issue