Mercurial > emacs
comparison nt/nmake.defs @ 109458:a2184d0e089b
* configure.bat: New option --enable-checking.
* gmake.defs, nmake.defs (CHECKING_CFLAGS): New define.
(CFLAGS): Include it.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Sun, 18 Jul 2010 11:41:48 +0200 |
parents | 1d1d5d9bd884 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
109457:c581eca79ab5 | 109458:a2184d0e089b |
---|---|
134 !ifdef NOOPT | 134 !ifdef NOOPT |
135 DEBUG_CFLAGS = -DEMACSDEBUG | 135 DEBUG_CFLAGS = -DEMACSDEBUG |
136 !else | 136 !else |
137 DEBUG_CFLAGS = | 137 DEBUG_CFLAGS = |
138 !endif | 138 !endif |
139 | |
140 !ifdef ENABLECHECKS | |
141 CHECKING_CFLAGS = -DENABLE_CHECKING -DXASSERTS | |
142 !else | |
143 CHECKING_CFLAGS = | |
144 !endif | |
145 | |
139 CFLAGS = -I. $(ARCH_CFLAGS) \ | 146 CFLAGS = -I. $(ARCH_CFLAGS) \ |
140 $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) | 147 $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) |
141 EMACS_EXTRA_C_FLAGS = | 148 EMACS_EXTRA_C_FLAGS = |
142 | 149 |
143 SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj | 150 SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj |
144 | 151 |
145 # see comments in allocate_heap in w32heap.c before changing any of the | 152 # see comments in allocate_heap in w32heap.c before changing any of the |