Make the CMake build more like the current SCons build.

* CMakeLists.txt:
   Add build options with names like the SCons options.
   Add missing config checks and set compiler debug and warning flags.

* test/CMakeLists.txt:
   Force C99 compilation mode if the top-level project forced C89 mode.

* build/SerfChecks.cmake:
   Make the feature tests use a more strict environment.


git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1834279 13f79535-47bb-0310-9956-ffa450edef68
3 files changed