mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
m4/curl-compilers.m4: use proper quotes around string, not backticks
... when setting clang version to assume 3.7 Caused a lot of "integer expression expected" warnings by configure.
This commit is contained in:
parent
774d49af52
commit
b5cc7dd360
@ -89,7 +89,7 @@ AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [
|
|||||||
if test -z "$clangver"; then
|
if test -z "$clangver"; then
|
||||||
if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then
|
if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then
|
||||||
dnl Starting with XCode 7 / clang 3.7, Apple clang won't tell its upstream version
|
dnl Starting with XCode 7 / clang 3.7, Apple clang won't tell its upstream version
|
||||||
clangver=`3.7`
|
clangver="3.7"
|
||||||
else
|
else
|
||||||
clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'`
|
clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'`
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user