diff -c --ignore-all-space src.orig/ne_utils.c src/ne_utils.c *** src.orig/ne_utils.c 2009-11-11 09:28:58.000000000 +0100 --- src/ne_utils.c 2009-11-11 09:51:45.000000000 +0100 *************** *** 118,123 **** --- 118,126 ---- #ifdef HAVE_GNUTLS ", GNU TLS " LIBGNUTLS_VERSION #endif /* HAVE_GNUTLS */ + #ifdef HAVE_SSPI + ", SSPI" + #endif /* HAVE_SSPI */ "." ; *************** *** 137,143 **** switch (feature) { #if defined(NE_HAVE_SSL) || defined(NE_HAVE_ZLIB) || defined(NE_HAVE_IPV6) \ || defined(NE_HAVE_SOCKS) || defined(NE_HAVE_LFS) \ ! || defined(NE_HAVE_TS_SSL) || defined(NE_HAVE_I18N) #ifdef NE_HAVE_SSL case NE_FEATURE_SSL: #endif --- 140,146 ---- switch (feature) { #if defined(NE_HAVE_SSL) || defined(NE_HAVE_ZLIB) || defined(NE_HAVE_IPV6) \ || defined(NE_HAVE_SOCKS) || defined(NE_HAVE_LFS) \ ! || defined(NE_HAVE_TS_SSL) || defined(NE_HAVE_I18N) || defined(HAVE_SSPI) #ifdef NE_HAVE_SSL case NE_FEATURE_SSL: #endif *************** *** 159,164 **** --- 162,170 ---- #ifdef NE_HAVE_I18N case NE_FEATURE_I18N: #endif + #ifdef HAVE_SSPI + case NE_FEATURE_SSPI: + #endif return 1; #endif /* NE_HAVE_* */ default: diff -c --ignore-all-space src.orig/ne_utils.h src/ne_utils.h *** src.orig/ne_utils.h 2009-11-11 09:28:58.000000000 +0100 --- src/ne_utils.h 2009-11-11 09:49:36.000000000 +0100 *************** *** 54,59 **** --- 54,60 ---- #define NE_FEATURE_SOCKS (5) /* SOCKSv5 support */ #define NE_FEATURE_TS_SSL (6) /* Thread-safe SSL/TLS support */ #define NE_FEATURE_I18N (7) /* i18n error message support */ + #define NE_FEATURE_SSPI (8) /* NTLM/Negotiate authentication protocol via SSPI */ /* Returns non-zero if library is built with support for the given * NE_FEATURE_* feature code 'code'. */