aboutsummaryrefslogtreecommitdiff
path: root/src/config/win-pre.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2000-07-01 03:48:01 +0000
committerKen Raeburn <raeburn@mit.edu>2000-07-01 03:48:01 +0000
commit1ff3e2653da2f73ab3cc4c4f220d7781b43c9362 (patch)
treed4de3ebceb44cd5d88bbbab448770b9a890376a5 /src/config/win-pre.in
parent9796ff01c5f57756a2105d290b5e0f5281f632ec (diff)
downloadkrb5-1ff3e2653da2f73ab3cc4c4f220d7781b43c9362.zip
krb5-1ff3e2653da2f73ab3cc4c4f220d7781b43c9362.tar.gz
krb5-1ff3e2653da2f73ab3cc4c4f220d7781b43c9362.tar.bz2
pullup from 1.2.1 release
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/config/win-pre.in')
-rw-r--r--src/config/win-pre.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/config/win-pre.in b/src/config/win-pre.in
index 73fdb2e..d70aff3 100644
--- a/src/config/win-pre.in
+++ b/src/config/win-pre.in
@@ -83,17 +83,29 @@ C=.^\
srcdir = .
SRCTOP = $(srcdir)\$(BUILDTOP)
-!if defined(KRB5_USE_DNS)
+!if defined(KRB5_USE_DNS) || defined(KRB5_USE_DNS_KDC) || defined(KRB5_USE_DNS_REALMS)
+!if defined(KRB5_NO_WSHELPER)
+DNSMSG=resolver
+!else
+DNSMSG=wshelper
+DNSFLAGS=-DWSHELPER=1
+!endif
!if !defined(DNS_INC)
-!message Must define DNS_INC to point to wshelper includes dir!
+!message Must define DNS_INC to point to $(DNSMSG) includes dir!
!error
!endif
!if !defined(DNS_LIB)
-!message Must define DNS_LIB to point to wshelper library!
+!message Must define DNS_LIB to point to $(DNSMSG) library!
!error
!endif
DNSLIBS=$(DNS_LIB)
-DNSFLAGS=-I$(DNS_INC) -DKRB5_DNS_LOOKUP -DWSHELPER
+DNSFLAGS=-I$(DNS_INC) $(DNSFLAGS) -DKRB5_DNS_LOOKUP=1
+!if defined(KRB5_USE_DNS_KDC)
+DNSFLAGS=$(DNSFLAGS) -DKRB5_DNS_LOOKUP_KDC=1
+!endif
+!if defined(KRB5_USE_DNS_REALMS)
+DNSFLAGS=$(DNSFLAGS) -DKRB5_DNS_LOOKUP_REALMS=1
+!endif
!else
DNSLIBS=
DNSFLAGS=