Commit 414afe09 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Miklos Nemeth added a section for how to disable specific protocols in the

windows build.
parent 4ad4f3fc
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -236,6 +236,30 @@ Win32
        project properties to use the SSL include path, link with the SSL libs
        and define the USE_SSLEAY symbol.

   Disabling Specific Protocols:

      The configure utility, unfortunately, is not available for the Windows
      environment, therefore, you cannot use the various disable-protocol
      options of the configure utility on this platform.

      However, you can use the following defines to disable specific
      protocols:

      HTTP_ONLY             disables all protocols except HTTP
      CURL_DISABLE_FTP      disables FTP
      CURL_DISABLE_LDAP     disables LDAP
      CURL_DISABLE_TELNET   disables TELNET
      CURL_DISABLE_DICT     disables DICT
      CURL_DISABLE_FILE     disables FILE
      CURL_DISABLE_GOPHER   disables GOPHER

      If you want to set any of these defines you have the following
      possibilities:

      - Modify lib/setup.h
      - Modify lib/Makefile.vc6
      - Add defines to Project/Settings/C/C++/General/Preprocessor Definitions
        in the curllib.dsw/curllib.dsp Visual C++ 6 IDE project.

IBM OS/2
========