Added SPNEGO to MinGW makefiles.
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index ef8825d..7bea858 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -103,6 +103,9 @@
ifeq ($(findstring -sspi,$(CFG)),-sspi)
SSPI = 1
endif
+ifeq ($(findstring -spnego,$(CFG)),-spnego)
+SPNEGO = 1
+endif
ifeq ($(findstring -ldaps,$(CFG)),-ldaps)
LDAPS = 1
endif
@@ -154,6 +157,9 @@
ifdef SSPI
CFLAGS += -DUSE_WINDOWS_SSPI
endif
+ifdef SPNEGO
+ CFLAGS += -DHAVE_SPNEGO
+endif
ifdef IPV6
CFLAGS += -DENABLE_IPV6
endif
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 58fbc97..7ec7012 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -105,6 +105,9 @@
ifeq ($(findstring -sspi,$(CFG)),-sspi)
SSPI = 1
endif
+ifeq ($(findstring -spnego,$(CFG)),-spnego)
+SPNEGO = 1
+endif
ifeq ($(findstring -ldaps,$(CFG)),-ldaps)
LDAPS = 1
endif
@@ -161,6 +164,9 @@
ifdef SSPI
CFLAGS += -DUSE_WINDOWS_SSPI
endif
+ifdef SPNEGO
+ CFLAGS += -DHAVE_SPNEGO
+endif
ifdef IPV6
CFLAGS += -DENABLE_IPV6
endif