[Darwin, config] Fix version number extraction to portable method
authorIain Sandoe <iain@codesourcery.com>
Mon, 28 Nov 2016 10:29:19 +0000 (10:29 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Mon, 28 Nov 2016 10:29:19 +0000 (10:29 +0000)
commitc6d01ef8ca2f24527046f29a563e07a071e587b3
tree09e841696e773b79fda5d9b34ac8b5b947f23a0b
parent42aa1173f256069d5933b9a3ed4a8c5c99871ca7
[Darwin, config] Fix version number extraction to portable method

The method used in the applied patch caused configuration errors on freeBSD and hppa.

2016-11-28  Iain Sandoe  <iain@codesourcery.com>

PR target/71767
* configure.ac (with_ld64): Use portable method to extract the
major part of the version number.
* configure: Regenerated.

From-SVN: r242912
gcc/ChangeLog
gcc/configure
gcc/configure.ac