1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -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:
Daniel Stenberg 2017-08-16 00:03:54 +02:00
parent 774d49af52
commit b5cc7dd360
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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