                                  _   _ ____  _     
                              ___| | | |  _ \| |    
                             / __| | | | |_) | |    
                            | (__| |_| |  _ <| |___ 
                             \___|\___/|_| \_\_____|

How To Compile

				    UNIX
				    ====

   If you do have SSLeay (0.8.0 or later) or OpenSSL, as it is called
   nowadays, installed; run configure as:

        ./configure --with-ssl

     If you don't have it installed in the /usr/local/ssl directory tree, you
     can specify SSL libs and include dirs by running configure like (with
     bourne shell clones):

	CPPFLAGS="-I/path/to/ssl/include" LDFLAGS="-L/path/to/ssl/lib" \
	./configure

       (with csh or tcsh clones):
	env CPPFLAGS=-I/path/to/ssl/include LDFLAGS="-L/path/to/ssl/lib" \
	./configure

     If your SSL library was compiled with rsaref (usually for use in
     the United States), you may also need to set:
     LIBS=-lRSAglue -lrsaref
     (from Doug Kaufman <dkaufman@rahul.net>)

   Without SSL support, just run:

	./configure

   Then run:

	make

   Use the executable `curl` in src/ directory.

   'make install' copies the curl file to /usr/local/bin/. You should
   probably copy the curl.1 man page to a suitable place too.

   KNOWN PROBLEMS

        If you happen to have autoconf installed, but a version older than
        2.12 you will get into trouble. Then you can still build curl by
        issuing these commands: (from Ralph Beckmann <rabe@uni-paderborn.de>)

              ./configure [...]
              cd lib; make; cd ..
              cd src; make; cd ..
              cp src/curl elsewhere/bin/

   OPTIONS

	Remember, to force configure to use the standard cc compiler if both
	cc and gcc are present, run configure like

	CC=cc ./configure
	 or
	env Cc=cc ./configure

				    Win32
				    =====
 
   Without SSL:

        cygwin style
        ------------
        Almost identical to the unix installation. Run the configure script
        in the curl root with 'sh configure'. Make sure you have the sh
        executable in /bin/ or you'll see the configure fail towards the
        end.

        Run 'make'

        Microsoft command line style
        ----------------------------
        Run the 'vcvars32.bat' file to get the proper environment variables
        set, then run 'nmake -f Makefile.vc6' in the lib/ dir and then
        'nmake -f Makefile.vc6' in the src/ dir!

        IDE-style
        -------------------------
        
   	If you use VC++, Borland or similar compilers. Include all lib source
   	files in a static lib "project" (all .c and .h files that is).
        (you should name it libcurl or similar)

        Make the sources in the src/ drawer be a "win32 console application"
        project. Name it curl.

	With VC++, add 'wsock32.lib' to the link libs when you build curl!
	Borland seems to do that itself magically. Of course you have to
        make sure it links with the libcurl too!

	For VC++ 6, there's an included Makefile.vc6 that should be possible
	to use out-of-the-box.

        Microsoft note: add /Zm200 to the compiler options, as the hugehelp.c
        won't compile otherwise due to "too long puts string" or something
        like that!

   With SSL:

        cygwin style
        ------------

        Haven't done, nor got any reports on how to do. It should although be
        identical to the unix setup for the same purpose. See above.

        Microsoft / Borland style
        -------------------------

	If you have OpenSSL/SSLeay, and want curl to take advantage of it,
   	edit your project properties to use the SSL include path, link with
   	the SSL libs and define the USE_SSLEAY symbol.

                                OpenSSL/SSLeay
                                ==============

   You'll find OpenSSL information at:

	http://www.openssl.org

   or you can go download it straight away from:

	ftp://ftp.pca.dfn.de/pub/tools/net/ssleay/

   You *must* use SSLeay 0.8.0 or later!
