From: Jeffrey Altman Date: Wed, 30 Jun 1999 00:00:30 +0000 (+0000) Subject: Add support for conditional definition of DNS flags to win-pre.h X-Git-Tag: krb5-1.1-beta1~87 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cd36ece4a7d7146e73bdd71d4fad5a69f781754;p=krb5.git 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 --- 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)