]> granicus.if.org Git - curl/commitdiff
Miklos Nemeth added a section for how to disable specific protocols in the
authorDaniel Stenberg <daniel@haxx.se>
Thu, 13 Jun 2002 22:13:46 +0000 (22:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Jun 2002 22:13:46 +0000 (22:13 +0000)
windows build.

docs/INSTALL

index 9ccd48f3f71628ade0bce1be9cef99e2d82d47d7..dd1be4bfe75ce1cf79924a39ee55e6f2ec6ef373 100644 (file)
@@ -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
 ========