we define an empty macro for the ntlm cleanup function
CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy);
void Curl_ntlm_cleanup(struct connectdata *conn);
-#if (!defined(USE_SSLEAY) && !defined(USE_WINDOWS_SSPI)) || \
- defined(CURL_DISABLE_HTTP)
+#ifndef USE_NTLM
#define Curl_ntlm_cleanup(x)
#endif
#define USE_SSL /* Either OpenSSL || GnuTLS */
#endif
+#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_NTLM)
#if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI)
#define USE_NTLM
#endif
+#endif
#ifdef CURLDEBUG
#define DEBUGF(x) x