DOC: add some info about openssl build in the README
diff --git a/README b/README
index 06187a6..b886eee 100644
--- a/README
+++ b/README
@@ -83,6 +83,12 @@
working fine on all recent mainstream distros. It is automatically enabled on
Solaris 8 and above, as it's known to work.
+It is possible to add native support for SSL using the GNU makefile only, and
+by passing "USE_OPENSSL=1" on the make commande line. The libssl and libcrypto
+will automatically be linked with haproxy. Some systems also require libz, so
+if the build fails due to missing symbols such as deflateInit(), then try again
+with "ADDLIB=-lz".
+
By default, the DEBUG variable is set to '-g' to enable debug symbols. It is
not wise to disable it on uncommon systems, because it's often the only way to
get a complete core when you need one. Otherwise, you can set DEBUG to '-s' to
@@ -96,9 +102,13 @@
$ make -f Makefile.bsd REGEX=pcre DEBUG= COPTS.generic="-Os -fomit-frame-pointer -mgnu"
+And on a recent Linux with SSL support :
+
-In order to build a 32-bit binary on an x86_64 Linux system :
+ $ make TARGET=linux2628 CPU=native USE_PCRE=1 USE_OPENSSL=1
+
+In order to build a 32-bit binary on an x86_64 Linux system with SSL support :
- $ make TARGET=linux26 ARCH=i386
+ $ make TARGET=linux26 ARCH=i386 USE_OPENSSL=1 ADDLIB=-lz
If you need to pass other defines, includes, libraries, etc... then please
check the Makefile to see which ones will be available in your case, and