summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2003-12-08 20:17:00 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2003-12-08 20:17:00 +0000
commit4cfabab06dc0223ac245cb6f029a91ca1e380fbc (patch)
treeca59a3e593f2aa1a7097dd844ae1494297352d30 /src/config
parent6d7ae260af69f3ed6540a0cc5807497b5b9b1ee1 (diff)
downloadkrb5-4cfabab06dc0223ac245cb6f029a91ca1e380fbc.tar.gz
krb5-4cfabab06dc0223ac245cb6f029a91ca1e380fbc.tar.xz
krb5-4cfabab06dc0223ac245cb6f029a91ca1e380fbc.zip
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
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ChangeLog6
-rw-r--r--src/config/win-pre.in6
2 files changed, 11 insertions, 1 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 73b9e3da1e..50aa73200f 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -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.
diff --git a/src/config/win-pre.in b/src/config/win-pre.in
index fa6023355d..7590462410 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