From 0cd36ece4a7d7146e73bdd71d4fad5a69f781754 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 30 Jun 1999 00:00:30 +0000 Subject: [PATCH] Add support for conditional definition of DNS flags to win-pre.h If KRB5_USE_DNS is defined in the environment then Krb5_32.dll will be built with DNS support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11534 dc483132-0cff-0310-8789-dd5450dbe970 --- src/config/win-pre.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/config/win-pre.in b/src/config/win-pre.in index a41f905ab..8ed8a5175 100644 --- a/src/config/win-pre.in +++ b/src/config/win-pre.in @@ -111,7 +111,13 @@ LOPTS=-debug LINKOPTS=-incremental:no $(LOPTS) -nologo -dll -entry:DllMain LINKOPTS2=-incremental:no $(LOPTS) -nologo -CPPFLAGS = -I$(SRCTOP)\include -I$(SRCTOP)\include\krb5 +!if defined(KRB5_USE_DNS) +DNSFLAGS= -DKRB5_DNS_LOOKUP -DWSHELPER +!else +DNSFLAGS= +!endif + +CPPFLAGS = -I$(SRCTOP)\include -I$(SRCTOP)\include\krb5 -I$(SRCTOP)\mit\windows\include $(DNSFLAGS) DEFS = $(CPPFLAGS) CFLAGS2 = $(CCOPTS2) $(DEFS) -- 2.26.2