winbuild: Allow SSPI build with or without Schannel
authorMarc Hoersken <info@marc-hoersken.de>
Thu, 14 Jun 2012 15:56:59 +0000 (17:56 +0200)
committerYang Tse <yangsita@gmail.com>
Thu, 14 Jun 2012 16:16:47 +0000 (18:16 +0200)
commit9d8375c29b4f5dae102356136a51a5fdf091f3de
tree21ac69c3ac23a87e47851311f7383726615bf4d3
parent508dbb99aab2be56fd1f60525ae76238e22804ce
winbuild: Allow SSPI build with or without Schannel

The changes introduced in commit 2bfa57bc32 are not enough
to make it actually possible to use the USE_WINSSL option.
Makefile.vc was not updated and the configuration name which is
used in the build path did not match between both build files.

This patch fixes those issues and introduces the following changes:

- Replaced the -schannel name with -winssl in order to be consistent
with the other options
- Added ENABLE_WINSSL option to winbuild/Makefile.vc (default yes)
- Changed winbuild/MakefileBuild.vc to set USE_WINSSL to true if
USE_SSL is false and USE_WINSSL was not specified as a parameter
- Separated WINSSL handling from SSPI handling to be consistent with
the other options and their corresponding code path
winbuild/Makefile.vc
winbuild/MakefileBuild.vc