[Groonga-commit] groonga/groonga at 035e8da [master] httpd: support to enable/disable ssl module

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Feb 23 00:26:55 JST 2016


HAYASHI Kentaro	2016-02-23 00:26:55 +0900 (Tue, 23 Feb 2016)

  New Revision: 035e8daec305248768b16feece2e5c3aaee777b8
  https://github.com/groonga/groonga/commit/035e8daec305248768b16feece2e5c3aaee777b8

  Message:
    httpd: support to enable/disable ssl module

  Modified files:
    src/httpd/configure

  Modified: src/httpd/configure (+8 -1)
===================================================================
--- src/httpd/configure    2016-02-23 00:25:46 +0900 (594431c)
+++ src/httpd/configure    2016-02-23 00:26:55 +0900 (477a0eb)
@@ -63,6 +63,7 @@ if [ "${is_mingw}" = "yes" ]; then
   configure_args="${configure_args} --with-cpp=${host}-c++"
   GROONGA_HTTPD_WITH_PCRE="no"
   GROONGA_HTTPD_WITH_ZLIB="no"
+  GROONGA_HTTPD_WITH_SSL="no"
 fi
 if [ "${GROONGA_HTTPD_DEBUG}" = "yes" ]; then
   configure_args="${configure_args} --with-debug"
@@ -79,6 +80,13 @@ fi
 if [ "${GROONGA_HTTPD_WITH_ZLIB}" != "yes" ]; then
   configure_args="${configure_args} --without-http_gzip_module"
 fi
+if [ "${GROONGA_HTTPD_WITH_SSL}" = "yes" ]; then
+  cc_opt="${cc_opt} ${GROONGA_HTTPD_SSL_CFLAGS}"
+  ld_opt="${ld_opt} ${GROONGA_HTTPD_SSL_LIBS_ONLY_L}"
+  configure_args="${configure_args} --with-http_ssl_module"
+else
+  configure_args="${configure_args} --without-http_ssl_module"
+fi
 
 
 cd "${nginx_directory_in_build_directory}"
@@ -96,7 +104,6 @@ auto/configure \
   --with-ld-opt="${ld_opt}" \
   --with-http_stub_status_module \
   --with-http_v2_module \
-  --with-http_ssl_module \
   ${configure_args}
 exit_code=$?
 set -e
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index