gecko/build/autoconf
Ehsan Akhgari 07aa9a5e86 Bug 1021378 - Add support for clang-cl to the build system; r=glandium
This patch does two things: 1. Treat clang on Windows explicitly as MSVC. There
are some places in our build system where we try to detect clang by looking at
the output of $(CC) -v, and that will cause us to believe that we are using
clang, which is not helpful.  This patch defines the CLANG_CL variable when it
detects clang being used on Windows.  It also masquarades clang-cl as MSVC
2012, which is how the compiler introduces itself through the _MSC_VER
predefined variable.

2. Disable a bunch of things which currently are not supported on clang-cl.  As
we proceed with this port, hopefully we'll be able to remove everything in this
list, but this will get us closer to be able to build with clang-cl.

With this patch and clang-cl trunk, we can get past the configure stage of the
build.

--HG--
extra : rebase_source : e5b8d77e4571c936820cec858953d58b6f31e0d5
2014-06-07 10:27:43 -04:00
..
acwinpaths.m4
altoptions.m4
android.m4 Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00
arch.m4 Bug 950261 - Fix ARM_ARCH computation with newer NDK. r=ted 2013-12-18 08:07:11 +09:00
ccache.m4
clean-config.sh
codeset.m4
compiler-opts.m4 Bug 1014976 - Don't define _DEBUG on Windows debug builds, it's implied by -MDd/-MTd, and breaks builds with -MD/-MT. r=bsmedberg 2014-05-30 09:39:53 +09:00
config.guess Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
config.status.m4 Bug 1003537 - Turn config.status executable in MOZ_CREATE_CONFIG_STATUS instead of MOZ_RUN_CONFIG_STATUS. r=mshal 2014-05-01 10:57:49 +09:00
config.sub Bug 976648 - Toplevel build/config for powerpc64le-linux support. r=bsmedberg, r=blassey 2014-03-05 12:04:44 -05:00
expandlibs.m4
ffi.m4 Bug 1014976 - Make MOZ_NO_DEBUG_RTL builds actually disable the MSVC debug CRT everywhere. r=bsmedberg 2014-05-30 09:39:44 +09:00
frameptr.m4 Bug 981920 - ASAN builds should use -fno-omit-frame-pointer by default. r=glandium 2014-03-18 14:25:40 -07:00
gcc-pr39608.m4 Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
gcc-pr49911.m4
hooks.m4 Bug 969164 - Create subconfigure directory in the AC_OUTPUT_SUBDIRS wrapper. r=gps 2014-02-11 10:37:47 +09:00
hotfixes.m4 Bug 973310 - Accomodate for OpenBSD's m4 greedyness with patsub's regexp after bug 967556 r=glandium 2014-02-25 07:44:21 +01:00
icu.m4 Bug 1014976 - Make MOZ_NO_DEBUG_RTL builds actually disable the MSVC debug CRT everywhere. r=bsmedberg 2014-05-30 09:39:44 +09:00
install-sh
linux.m4
llvm-pr8927.m4 Bug 894717 - Fix 'plase upgrade' typo in autoconf files. r=khuey 2013-07-19 10:47:15 -07:00
lto.m4
mozcommonheader.m4
mozconfig2client-mk Bug 911634 - Create a .mozconfig.mk in the objdir when starting a build, and include it from config.mk. r=gps 2013-09-05 09:01:44 +09:00
mozconfig2configure Bug 971586 - Make $topsrcdir absolute when executing mozconfig2configure. r=gps 2014-02-13 10:06:43 +09:00
mozconfig-find
mozheader.m4
mozprog.m4
nspr.m4
nss.m4
pkg.m4
python-virtualenv.m4 Bug 920353 - Use PYCOMMANDPATH paths as site packages in pymake, and set it to the virtualenv site packages instead of $(topsrcdir)/config. r=gps 2013-09-26 16:43:53 +09:00
subconfigure.m4
toolchain.m4 Bug 1021378 - Add support for clang-cl to the build system; r=glandium 2014-06-07 10:27:43 -04:00
winsdk.m4 Bug 752034 - Use the Windows SDK when building with Clang on Windows; r=ted 2013-06-13 13:09:22 -04:00
wrapper.m4 Bug 1007931 - Replace backslashes with forward slashes in compiler wrapper on windows. r=mshal 2014-05-15 07:14:36 +09:00
zlib.m4