From 4cfabab06dc0223ac245cb6f029a91ca1e380fbc Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 8 Dec 2003 20:17:00 +0000 Subject: [PATCH] Add support for conditional inclusion of flags when building as part of KfW. The only flag defined at this time is USE_LEASH which is defined to allow GSSAPI32.DLL to enable the use of Leash Kinit dialogs when there are no tickets ticket: 2028 target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15869 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/ChangeLog | 6 ++++++ src/config/win-pre.in | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/config/ChangeLog b/src/config/ChangeLog index 73b9e3da1..50aa73200 100644 --- a/src/config/ChangeLog +++ b/src/config/ChangeLog @@ -1,3 +1,9 @@ +2003-11-26 Jeffrey Altman + + * win-pre.in (KFWFLAGS): conditionally define USE_LEASH=1 + to enable access to Leash apis for kinit dialogs within + gssapi32.dll + 2003-12-05 Tom Yu * shlib.conf: Add Solaris support for LD_PRELOAD. diff --git a/src/config/win-pre.in b/src/config/win-pre.in index fa6023355..759046241 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -116,13 +116,17 @@ DNSLIBS= DNSFLAGS= !endif +!if defined(KRB5_KFW_COMPILE) +KFWFLAGS=-DUSE_LEASH=1 +!endif + # # The name of the C compiler for the target # CC=cl PDB_OPTS=-Fd$(OUTPRE)\ -FD -CPPFLAGS=-I$(SRCTOP)\include -I$(SRCTOP)\include\krb5 $(DNSFLAGS) -DKRB5_PRIVATE=1 -DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 +CPPFLAGS=-I$(SRCTOP)\include -I$(SRCTOP)\include\krb5 $(DNSFLAGS) -DKRB5_PRIVATE=1 -DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 $(KFWFLAGS) CCOPTS=-nologo /W3 $(PDB_OPTS) $(DLL_FILE_DEF) LOPTS=-nologo -incremental:no -- 2.26.2