diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2012-07-04 19:17:19 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2012-07-04 19:17:19 +0200 |
commit | 0566bc954097aae81a0efda950c4567be3139c23 (patch) | |
tree | 5bd0c9eda3c9a6d8d09d108a4cc1b49659b7ce0d /nt/configure.bat | |
parent | f094125348fa8512392cc315b16de957c4f35458 (diff) | |
download | emacs-0566bc954097aae81a0efda950c4567be3139c23.tar.gz |
* nt/configure.bat (enablechecking): Enable checks through src/config.h.
* nt/gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping.
(CHECKING_CFLAGS): Remove.
(CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
* nt/nmake.defs (CHECKING_CFLAGS): Remove.
(CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
Diffstat (limited to 'nt/configure.bat')
-rwxr-xr-x | nt/configure.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/configure.bat b/nt/configure.bat index cecf52ee927..e91165de473 100755 --- a/nt/configure.bat +++ b/nt/configure.bat @@ -145,7 +145,7 @@ echo. --with-gcc use GCC to compile Emacs echo. --with-msvc use MSVC to compile Emacs
echo. --no-debug exclude debug info from executables
echo. --no-opt disable optimization
-echo. --enable-checking enable checks and assertions
+echo. --enable-checking enable additional run-time checks
echo. --profile enable profiling
echo. --no-cygwin use -mno-cygwin option with GCC
echo. --cflags FLAG pass FLAG to compiler
@@ -769,7 +769,6 @@ if not "(%mf%)" == "()" >>config.settings echo MCPU_FLAG=%mf% if not "(%dbginfo%)" == "()" >>config.settings echo DEBUG_INFO=%dbginfo%
if (%nodebug%) == (Y) >>config.settings echo NODEBUG=1
if (%noopt%) == (Y) >>config.settings echo NOOPT=1
-if (%enablechecking%) == (Y) >>config.settings echo ENABLECHECKS=1
if (%profile%) == (Y) >>config.settings echo PROFILE=1
if (%nocygwin%) == (Y) >>config.settings echo NOCYGWIN=1
if not "(%prefix%)" == "()" >>config.settings echo INSTALL_DIR=%prefix%
@@ -794,6 +793,7 @@ rem processing of compiler options in w32.c:get_emacs_configuration_options if (%docflags%) == (Y) echo #define USER_CFLAGS " %escusercflags%" >>config.tmp
if (%doldflags%) == (Y) echo #define USER_LDFLAGS " %escuserldflags%" >>config.tmp
if (%profile%) == (Y) echo #define PROFILING 1 >>config.tmp
+if (%enablechecking%) == (Y) echo #define ENABLE_CHECKING 1 >>config.tmp
if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp
if not "(%HAVE_GNUTLS%)" == "()" echo #define HAVE_GNUTLS 1 >>config.tmp
if not "(%HAVE_LIBXML2%)" == "()" echo #define HAVE_LIBXML2 1 >>config.tmp
|