'How to disable protocols and features in cUrl

I'm trying to compile curl without needless protocols and features. I use MSVC2013 build tools. I've found that I can disable some features mentioned in Makefile.vc, for example now I use the following command to build curl:

nmake /f Makefile.vc mode=static enable_winssl=yes debug=yes RTLIBCFG=static USE_MBEDTLS=false USE_IPV6=false USE_SSPI=false

Now, I want to disable, for example, FTP support and UnixSockets. I've found a set of macroses here, but there is no macro for disabling UnixSockets.

I know, cUrl suggest different ways to do it, but in the first place I want to know how to disable things with command line options or in the Makefile.vc.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source