Bug 1112186: Disable the debug CRT on Windows in LDAP, r=glandium,a=Standard8
authorJoshua Cranmer <Pidgeot18@gmail.com>
Tue, 16 Dec 2014 21:35:32 -0600
changeset 25659 5798de17db33fd48d04a78a4ce05404b39f3e815
parent 25658 3109dc65c9c02cf2540cadb68d0e5e3ef84f58a2
child 25660 341f30c6108648cbdf69e1e385a1e01d3c0eb647
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium, Standard8
bugs1112186
Bug 1112186: Disable the debug CRT on Windows in LDAP, r=glandium,a=Standard8
mail/configure.in
--- a/mail/configure.in
+++ b/mail/configure.in
@@ -87,15 +87,20 @@ if test -n "$COMPILE_ENVIRONMENT" -a -n 
     if test -n "$HAVE_64BIT_BUILD"; then
         dnl A 64-bit OS was (auto-)detected: (explicitly) enable 64-bit support.
         ac_configure_args="$ac_configure_args --enable-64bit"
     fi
     if test -n "$LIBXUL_SDK"; then
         ac_configure_args="$ac_configure_args --with-nspr=$LIBXUL_DIST"
     fi
 
+    dnl Explicitly disable the DEBUG RTL
+    if test -n "$MOZ_NO_DEBUG_RTL"; then
+      ac_configure_args="$ac_configure_args --disable-debug-rtl"
+    fi
+
     dnl The cache file needs to be an absolute path to work properly.
     cache_file_base=`dirname $cache_file`
     cache_file=`cd $cache_file_base && pwd`/`basename $cache_file`
 
     AC_OUTPUT_SUBDIRS(ldap/sdks/c-sdk)
     ac_configure_args="$_save_ac_configure_args"
 fi # COMPILE_ENVIRONMENT && MOZ_LDAP_XPCOM