]> granicus.if.org Git - apache/commitdiff
Merge r1583005 and 1583027 from trunk:
authorJeff Trawick <trawick@apache.org>
Sat, 29 Mar 2014 17:06:00 +0000 (17:06 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 29 Mar 2014 17:06:00 +0000 (17:06 +0000)
Report OpenSSL directories in configuration summary

Describe issue with multiple OpenSSL installs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1583028 13f79535-47bb-0310-9956-ffa450edef68

CMakeLists.txt
README.cmake

index 07f3e8029289fde66edc4da04fadbdb6da1acd51..9a4c1181ae0fc10cfe146eb5e3f8138e2185b49d 100644 (file)
@@ -863,6 +863,8 @@ MESSAGE(STATUS "  Install prefix .................. : ${CMAKE_INSTALL_PREFIX}")
 MESSAGE(STATUS "  C compiler ...................... : ${CMAKE_C_COMPILER}")
 MESSAGE(STATUS "  APR include directory ........... : ${APR_INCLUDE_DIR}")
 MESSAGE(STATUS "  APR libraries ................... : ${APR_LIBRARIES}")
+MESSAGE(STATUS "  OpenSSL include directory ....... : ${OPENSSL_INCLUDE_DIR}")
+MESSAGE(STATUS "  OpenSSL libraries ............... : ${OPENSSL_LIBRARIES}")
 MESSAGE(STATUS "  PCRE include directory .......... : ${PCRE_INCLUDE_DIR}")
 MESSAGE(STATUS "  PCRE libraries .................. : ${PCRE_LIBRARIES}")
 MESSAGE(STATUS "  libxml2 iconv prereq include dir. : ${LIBXML2_ICONV_INCLUDE_DIR}")
index 3f1e72ada4755459030fa33c97f6830d95f1cd30..1b0589b3af4963b7f1db5ef90a4a76cc3257f7f8 100644 (file)
@@ -59,6 +59,25 @@ enabled:
 * openssl (mod_ssl and https support for ab)
 * zlib (mod_deflate)
 
+OpenSSL
+-------
+
+If you have a binary install of OpenSSL in a well-known directory (e.g.,
+%HOME%\OpenSSL-Win64) and you wish to build httpd against a different
+install of OpenSSL, the cmake build may unexpectedly select OpenSSL
+libraries in the well-known directory even if the expected include files
+are used.  Check the cmake output from your httpd build to confirm that
+the expected OpenSSL libraries and include files are used.
+
+The cmake FindOpenSSL module searches for OpenSSL libraries in a "VC"
+subdirectory of the OpenSSL install with filenames that indicate the build
+type (e.g., "<PREFIX>/lib/VC/ssleay32MD.lib"); defining CMAKE_PREFIX_PATH
+or OPENSSL_ROOT_DIR or even OPENSSL_LIBRARIES does not circumvent finding
+these libraries.
+
+To work around this issue, rename the well-known OpenSSL directory while
+building httpd.  Let us know if you find a better solution.
+
 How to build
 ------------