winbuild: Aligned USE_SSPI with other USE_x defines
Renamed external parameter USE_SSPI = yes/no to ENABLE_SSPI = yes/no. Backwards compatible change: USE_SSPI can still be passed as external parameter with yes/no value as long as ENABLE_SSPI is not given. USE_x defines are passed around with true/false values internally, USE_SSPI is now aligned to this approach, but still accepts external values yes/no being passed, just like the other defines.
This commit is contained in:
@@ -155,17 +155,17 @@ USE_WINSSL = true
|
||||
|
||||
!IF "$(USE_WINSSL)"=="true"
|
||||
SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_SCHANNEL
|
||||
USE_SCHANNEL = true
|
||||
USE_SSPI = yes
|
||||
USE_SSPI = true
|
||||
!ENDIF
|
||||
|
||||
|
||||
!IFNDEF USE_SSPI
|
||||
USE_SSPI = yes
|
||||
USE_SSPI = true
|
||||
!ELSEIF "$(USE_SSPI)"=="yes"
|
||||
USE_SSPI = true
|
||||
!ENDIF
|
||||
|
||||
!IF "$(USE_SSPI)"=="yes"
|
||||
USE_SSPI = true
|
||||
!IF "$(USE_SSPI)"=="true"
|
||||
SSPI_CFLAGS = $(SSPI_CFLAGS) /DUSE_WINDOWS_SSPI
|
||||
!ENDIF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user