winbuild: Make USE_WINSSL depend on USE_SSPI

Since WinSSL cannot be build without SSPI being enabled,
USE_WINSSL now defaults to the value of USE_SSPI.

The makefile does now raise an error if WinSSL is enabled
while SSPI is disabled.
This commit is contained in:
Marc Hoersken
2012-07-05 08:53:02 +02:00
parent 86871577d9
commit d39bbcfa8d
2 changed files with 19 additions and 17 deletions

View File

@@ -77,7 +77,7 @@ USE_IDN = false
!ENDIF
!IFNDEF ENABLE_WINSSL
USE_WINSSL = true
USE_WINSSL = $(USE_SSPI)
!ELSEIF "$(ENABLE_WINSSL)"=="yes"
USE_WINSSL = true
!ELSEIF "$(ENABLE_WINSSL)"=="no"