Mercurial > hg > xemacs-beta
diff nt/xemacs.mak @ 3741:8aa52dcfc11a
[xemacs-hg @ 2006-12-12 14:54:49 by vins]
Don't require MSVCRTD.dll when building setup kits.
author | vins |
---|---|
date | Tue, 12 Dec 2006 14:54:49 +0000 |
parents | 57711e9aac15 |
children | e358b6c40407 |
line wrap: on
line diff
--- a/nt/xemacs.mak Mon Dec 11 22:51:11 2006 +0000 +++ b/nt/xemacs.mak Tue Dec 12 14:54:49 2006 +0000 @@ -196,6 +196,12 @@ SUPPORT_EDIT_AND_CONTINUE=0 !endif +!if !defined(BUILD_FOR_SETUP_KIT) || "$(BUILD_FOR_SETUP_KIT)" == "0" +OK_TO_USE_MSVCRTD=1 +!else +OK_TO_USE_MSVCRTD=0 +!endif + !if !defined(ERROR_CHECK_ALL) !if "$(emacs_is_beta)" != "" ERROR_CHECK_ALL=1 @@ -711,13 +717,13 @@ !endif !if $(USE_CRTDLL) -! if $(DEBUG_XEMACS) +! if $(DEBUG_XEMACS) && "$(OK_TO_USE_MSVCRTD)" == "1" C_LIBFLAG=-MDd LIBC_LIB=msvcrtd.lib -! else +! else C_LIBFLAG=-MD LIBC_LIB=msvcrt.lib -! endif +! endif !else C_LIBFLAG=-ML LIBC_LIB=libc.lib