Mercurial > hg > xemacs-beta
diff nt/xemacs.mak @ 394:7d59cb494b73 r21-2-12
Import from CVS: tag r21-2-12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:11:37 +0200 |
parents | aabb7f5b1c81 |
children | 6719134a07c2 |
line wrap: on
line diff
--- a/nt/xemacs.mak Mon Aug 13 11:10:52 2007 +0200 +++ b/nt/xemacs.mak Mon Aug 13 11:11:37 2007 +0200 @@ -94,6 +94,9 @@ !if !defined(HAVE_JPEG) HAVE_JPEG=0 !endif +!if !defined(HAVE_XFACE) +HAVE_XFACE=0 +!endif !if !defined(HAVE_GIF) HAVE_GIF=1 !endif @@ -199,6 +202,14 @@ !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib" CONFIG_ERROR=1 !endif +!if $(HAVE_MSW) && $(HAVE_XFACE) && !defined(COMPFACE_DIR) +!message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path +CONFIG_ERROR=1 +!endif +!if $(HAVE_MSW) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib") +!message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib" +CONFIG_ERROR=1 +!endif !if $(HAVE_MSW) && $(HAVE_TOOLBARS) && !$(HAVE_XPM) !error Toolbars require XPM support CONFIG_ERROR=1 @@ -254,6 +265,9 @@ !if $(HAVE_JPEG) !message Compiling in support for JPEG images. !endif +!if $(HAVE_XFACE) +!message Compiling in support for X-Face message headers. +!endif !if $(HAVE_TOOLBARS) !message Compiling in support for toolbars. !endif @@ -345,6 +359,11 @@ MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)" MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib" !endif +!if $(HAVE_XFACE) +MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE +MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)" +MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib" +!endif !if $(HAVE_TOOLBARS) MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS MSW_TOOLBAR_SRC=$(XEMACS)\src\toolbar.c $(XEMACS)\src\toolbar-msw.c