(EMACS_EXTRA_C_FLAGS): Include it.
+2008-03-04 Jason Rumney <jasonr@gnu.org>
+
+ * gmake.defs, nmake.defs (FONT_CFLAGS): New optional compiler flag.
+ (EMACS_EXTRA_C_FLAGS): Include it.
+ * configure.bat (usefontbackend): Default to Y.
+ (--enable-font-backend): Replace with --disable-font-backend.
+ (:withfont): Replace with :withoutfont.
+
2008-03-03 Kentaro Ohkouchi <nanasess@fsm.ne.jp>
* icons/emacs.ico: Full alpha for 32x32 full color.
WINSPOOL = -lwinspool
OLE32 = -lole32
+ifdef USE_FONTBACKEND
+FONT_CFLAGS = -DUSE_FONT_BACKEND=1
+else
+FONT_CFLAGS =
+endif
+
ifdef NOOPT
DEBUG_CFLAGS = -DEMACSDEBUG
else
DEBUG_CFLAGS =
endif
-CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \
- -D_CRTAPI1=_cdecl \
+CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 \
+ $(ARCH_CFLAGS) -D$(ARCH) -D_CRTAPI1=_cdecl \
$(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
-EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1
+EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 $(FONT_CFLAGS)
# see comments in allocate_heap in w32heap.c before changing any of the
# -stack, -heap, or -image-base settings.
WINSPOOL = winspool.lib\r
OLE32 = ole32.lib\r
\r
+!ifdef USE_FONTBACKEND\r
+FONT_CFLAGS = -DUSE_FONT_BACKEND=1\r
+!else\r
+FONT_CFLAGS =\r
+!endif\r
+\r
!ifdef NOOPT\r
DEBUG_CFLAGS = -DEMACSDEBUG\r
!else\r
DEBUG_CFLAGS =\r
!endif\r
-CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \\r
- -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)\r
-EMACS_EXTRA_C_FLAGS =\r
+CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 \\r
+ $(ARCH_CFLAGS) -D$(ARCH) -D_CRTAPI1=_cdecl \\r
+ $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)\r
+EMACS_EXTRA_C_FLAGS = $(FONT_CFLAGS)\r
\r
SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj\r
\r