diff options
author | Moonchild <moonchild@palemoon.org> | 2022-11-07 13:49:11 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-11-07 13:49:11 +0000 |
commit | d19fb35c6abab93a22d08f8c7fc850ddcc2cbba6 (patch) | |
tree | e63daaac8b9dd59a88f4a7d9a55e6f9c0724cddf /old-configure.in | |
parent | 10a37f462e7b4357feda9284dac608c0da0a416e (diff) | |
parent | 94554142e9f2aafdae0f2152537e8e2bee89313c (diff) | |
download | uxp-d19fb35c6abab93a22d08f8c7fc850ddcc2cbba6.tar.gz |
Merge branch 'master' into 1769-take2
Diffstat (limited to 'old-configure.in')
-rw-r--r-- | old-configure.in | 68 |
1 files changed, 4 insertions, 64 deletions
diff --git a/old-configure.in b/old-configure.in index 0909052c41..80513aa29e 100644 --- a/old-configure.in +++ b/old-configure.in @@ -182,8 +182,8 @@ case "$target" in 19*) _CC_SUITE=14 MSVS_VERSION=2015 - MSVC_C_RUNTIME_DLL=vcruntime140.dll - MSVC_CXX_RUNTIME_DLL=msvcp140.dll + MSVC_C_RUNTIME_DLL=vcruntime140*.dll + MSVC_CXX_RUNTIME_DLL=msvcp140*.dll MOZ_CHECK_HEADER(dia2.h, MSVC_HAS_DIA_SDK=1) if test -n "$MSVC_HAS_DIA_SDK"; then @@ -258,35 +258,8 @@ case "$target" in unset _MSVC_VER_FILTER - AC_CACHE_CHECK(for overridable _RAISE, - ac_cv_have__RAISE, - [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - _SAVE_CXXFLAGS="$CXXFLAGS" - CXXFLAGS="${CXXFLAGS} -D_HAS_EXCEPTIONS=0" - AC_TRY_COMPILE([#include <xstddef> - #undef _RAISE - #define _RAISE(x) externallyDefinedFunction((x).what()) - #include <vector> - ], - [std::vector<int> v; return v.at(1);], - ac_cv_have__RAISE="no", - ac_cv_have__RAISE="yes") - CXXFLAGS="$_SAVE_CXXFLAGS" - AC_LANG_RESTORE - ]) - if test "$ac_cv_have__RAISE" = "yes"; then - WRAP_STL_INCLUDES=1 - MOZ_MSVC_STL_WRAP_RAISE=1 - AC_DEFINE(MOZ_MSVC_STL_WRAP_RAISE) - else - AC_MSG_ERROR([Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration.]) - fi - - if test "$WRAP_STL_INCLUDES" = "1"; then - STL_FLAGS="-I${DIST}/stl_wrappers" - fi + WRAP_STL_INCLUDES=1 + STL_FLAGS="-I${DIST}/stl_wrappers" CFLAGS="$CFLAGS -D_HAS_EXCEPTIONS=0" CXXFLAGS="$CXXFLAGS -D_HAS_EXCEPTIONS=0" else @@ -373,7 +346,6 @@ AC_SUBST(GNU_CXX) AC_SUBST(STL_FLAGS) AC_SUBST(WRAP_STL_INCLUDES) -AC_SUBST(MOZ_MSVC_STL_WRAP_RAISE) dnl ======================================================== dnl Checks for programs. @@ -5004,7 +4976,6 @@ AC_SUBST_LIST(VPX_ASFLAGS) AC_SUBST(VPX_AS_CONVERSION) AC_SUBST(VPX_X86_ASM) AC_SUBST(VPX_ARM_ASM) -AC_SUBST(MOZ_CODE_COVERAGE) AC_SUBST(LIBJPEG_TURBO_USE_YASM) AC_SUBST_LIST(LIBJPEG_TURBO_ASFLAGS) AC_SUBST(MOZ_LIBAV_FFT) @@ -5093,37 +5064,6 @@ fi AC_SUBST(MOZILLA_VERSION) -dnl ======================================================== -dnl Directive 4 -dnl ======================================================== - -DIRECTIVE4_LIST=" -MOZ_OFFICIAL_BRANDING=$MOZ_OFFICIAL_BRANDING -MOZ_BRANDING_DIRECTORY=$MOZ_BRANDING_DIRECTORY -MC_BASILISK=$MC_BASILISK -MC_PALEMOON=$MC_PALEMOON -MOZ_EME=$MOZ_EME -MOZ_WEBRTC=$MOZ_WEBRTC -MOZ_SYSTEM_JPEG=$MOZ_SYSTEM_JPEG -MOZ_SYSTEM_ZLIB=$MOZ_SYSTEM_ZLIB -MOZ_SYSTEM_BZ2=$MOZ_SYSTEM_BZ2 -MOZ_SYSTEM_PNG=$MOZ_SYSTEM_PNG -MOZ_SYSTEM_LIBVPX=$MOZ_SYSTEM_LIBVPX -MOZ_SYSTEM_SQLITE=$MOZ_SYSTEM_SQLITE -MOZ_SYSTEM_JEMALLOC=$MOZ_SYSTEM_JEMALLOC" - -DIRECTIVE4=`$PYTHON $_topsrcdir/build/directive4.py $DIRECTIVE4_LIST` - -if test -n "$DIRECTIVE4"; then - if test -n "$MC_PRIVATE_BUILD"; then - AC_MSG_WARN([Private Build - The configuration you have chosen to use with official branding deviates from official build configuration. Your build is thus for personal and private use only and must not be (re)distributed - Please see: http://www.palemoon.org/redist.shtml]) - else - AC_MSG_ERROR([Branding Violation - Please see: http://www.palemoon.org/redist.shtml]) - fi -fi - -AC_SUBST(DIRECTIVE4) - dnl Spit out some output dnl ======================================================== |