summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 651346ecd8..1f758a967d 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4360,7 +4360,7 @@ gccver=`$CC -dumpversion`;
4360if [ $uname = "Darwin" ]; then 4360if [ $uname = "Darwin" ]; then
4361 ldver=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'` 4361 ldver=`$LD -v 2>&1 | sed -e 's/[^0-9.-]//g'`
4362else 4362else
4363 ldver=`$LD --version | head -n 1 | sed -e 's/\ /\n/g' | tail -n 1` 4363 ldver=`$LD --version | sed -n '1p' | sed -e 's/.* \([0-9]*\)\.\([0-9]*\).*/\1\2/'`
4364fi 4364fi
4365 4365
4366# Convert LD version to a number major*100 + minor 4366# Convert LD version to a number major*100 + minor