]> git.kaiwu.me - nginx.git/commit
Win32: simplified and improved handling of MSVC versions.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 13 Feb 2016 03:47:34 +0000 (06:47 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 13 Feb 2016 03:47:34 +0000 (06:47 +0300)
commit4cfd9ba3c18932a47eca176a79da31455e444cc3
tree62f3402c03581ee03d136d53aa31f8f9be0a0f43
parent822fc91b093b85a94ca54fc8c7e2d85fc5a4daf8
Win32: simplified and improved handling of MSVC versions.

Now we always set NGX_CC_NAME to "msvc", and additionally test compiler
version as reported by "cl" in auto/cc/msvc (the same version is also
available via the _MSC_VER define).  In particular, this approach allows
to properly check for C99 variadic macros support, which previously was
not used with MSVC versions not explicitly recognized.

Now unneeded wildcards in NGX_CC_NAME tests for msvc removed accordingly,
as well as unused wildcards for owc and icc.
auto/cc/msvc
auto/cc/name
auto/lib/md5/conf
auto/lib/md5/make
auto/lib/pcre/conf
auto/lib/pcre/make
auto/lib/sha1/conf
auto/lib/sha1/make
auto/lib/zlib/conf
auto/lib/zlib/make