1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00
curl/m4
Marcel Raad e5d6aa8d61
curl-compilers.m4: fix unknown-warning-option on Apple clang
Since 5598b0bd63, clang -v is used to
detect the clang version. The version number was expected to come after
the word "version". For Apple clang, this doesn't work as it has its
own versioning scheme.
The version number is now first searched after the string
"based on LLVM". This works for Apple clang before version 7, and also
for e.g. Ubuntu's clang up to version 3.7. If it's not found and the
version string contains "Apple LLVM version", clang version 3.7 is
assumed, which is the version that comes with Xcode 7. Otherwise, the
version number is still expected after the word "version", which works
for very old Apple clang versions.

Ref: https://trac.macports.org/wiki/XcodeVersionInfo
Fixes https://github.com/curl/curl/issues/1606
Closes https://github.com/curl/curl/pull/1607
2017-06-24 11:10:38 +02:00
..
.gitignore configure: libtool 1.5 tweaks 2011-12-15 18:01:00 +01:00
ax_code_coverage.m4 build: provide easy code coverage measuring 2017-06-02 13:15:06 +02:00
curl-compilers.m4 curl-compilers.m4: fix unknown-warning-option on Apple clang 2017-06-24 11:10:38 +02:00
curl-confopts.m4 configure: stop prepending to LDFLAGS, CPPFLAGS 2017-04-25 03:25:41 -04:00
curl-functions.m4 configure/CURL_CHECK_FUNC_POLL: disable poll completely on mac 2016-10-18 23:03:27 +02:00
curl-openssl.m4 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
curl-override.m4 spelling fixes 2017-03-26 23:56:23 +02:00
curl-reentrant.m4 URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
xc-am-iface.m4 xc-am-iface.m4: comments refinement 2013-07-18 16:03:15 +02:00
xc-cc-check.m4 configure: warn on bad env variable use, don't error 2013-08-05 09:31:59 +02:00
xc-lt-iface.m4 spelling fixes 2017-03-26 23:56:23 +02:00
xc-translit.m4 xc-translit.m4 fix quoting 2011-06-21 00:03:44 +02:00
xc-val-flgs.m4 Revert "configure: don't error out on variable confusions, just warn" 2013-08-05 09:28:44 +02:00
zz40-xc-ovr.m4 zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2 2013-01-30 16:57:43 +01:00
zz50-xc-ovr.m4 spelling fixes 2017-03-26 23:56:23 +02:00
zz60-xc-ovr.m4 zz60-xc-ovr.m4: tighten XC_OVR_ZZ60 macro placement requirements 2013-01-23 16:08:31 +01:00