Add support for conditional inclusion of flags when building as part of
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2003 20:17:00 +0000 (20:17 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 8 Dec 2003 20:17:00 +0000 (20:17 +0000)
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
src/config/win-pre.in

index 73b9e3da1ea2623b22a15b1939a89d867fffb55b..50aa73200f8a0669f380a18dd5d7d256c3791f27 100644 (file)
@@ -1,3 +1,9 @@
+2003-11-26  Jeffrey Altman <jaltman@mit.edu>
+
+    * 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  <tlyu@mit.edu>
 
        * shlib.conf: Add Solaris support for LD_PRELOAD.
index fa6023355da0993146a16ec6ff91f886531796cd..75904624107cd8350b931cf945132be15e524630 100644 (file)
@@ -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