diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-08-19 12:37:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-08-19 12:37:20 +0000 |
commit | cf741b6cbcdaef6f36a854c159b558dde834a75a (patch) | |
tree | c292891402bfe83b11e161bfa69bc63a86980f75 /README | |
parent | c04fb9d4263385c7f0b11fa9afa0d4181da92cd0 (diff) | |
download | libmicrohttpd-cf741b6cbcdaef6f36a854c159b558dde834a75a.tar.gz libmicrohttpd-cf741b6cbcdaef6f36a854c159b558dde834a75a.zip |
changing default feature set to include HTTPS and allowing disabling of post processor
Diffstat (limited to 'README')
-rw-r--r-- | README | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -16,17 +16,24 @@ If you are using Subversion, run "autoreconf -fi" to create configure. | |||
16 | In order to run the testcases, you need a recent version of libcurl. | 16 | In order to run the testcases, you need a recent version of libcurl. |
17 | libcurl is not required if you just want to install the library. | 17 | libcurl is not required if you just want to install the library. |
18 | 18 | ||
19 | Especially for development, do use the MHD_USE_DEBUG option to get | ||
20 | error messages. | ||
21 | |||
19 | 22 | ||
20 | Configure options | 23 | Configure options |
21 | ================= | 24 | ================= |
22 | 25 | ||
23 | Especially for development, use "--enable-messages" to enable error | 26 | |
24 | reporting (and use MHD_USE_DEBUG). Error reporting is not enabled by | 27 | If you are concerned about space, you should set "CFLAGS" to "-Os |
25 | default to reduce the size of the library (error messages take | 28 | -fomit-frame-pointer" to have gcc generate tight code. |
26 | space!). If you are concerned about space, you should set "CFLAGS" to | 29 | |
27 | "-Os -fomit-frame-pointer" to have gcc generate tight code. The | 30 | You can use the following options to disable certain MHD features: |
28 | resulting binary should be about 30k (without SSL support) depending | 31 | |
29 | on the platform. | 32 | --disable-https: no HTTPS / TLS / SSL support (significant reduction) |
33 | --disable-messages: no error messages (they take space!) | ||
34 | --disable-postprocessor: no MHD_PostProcessor API | ||
35 | |||
36 | The resulting binary should be about 32k depending on the platform. | ||
30 | 37 | ||
31 | 38 | ||
32 | Portability | 39 | Portability |