@@ -88,37 +88,6 @@ ifeq ($(HOSTOS),darwin)
88
88
configure_OPTIONS += ac_cv_func_clock_gettime=no ac_cv_have_decl_clock_gettime=no
89
89
endif
90
90
91
- # By default, attempt use the system's OpenSSL library, falling back to building the internal
92
- # copy of OpenSSL (in third_party/openssl) when necessary.
93
- #
94
- # On Linux, the logic uses pkg-config to determine if the OpenSSL development package (libssl-dev)
95
- # has been installed. If not, the internal copy of OpenSSL is built.
96
- #
97
- # On OS X, the logic uses homebrew to determine if OpenSSL has been installed. If not, the
98
- # internal copy of OpenSSL will be built.
99
- #
100
- # The variable OPENSSL can be used to override the above logic and specify a particular root
101
- # directory in which to find the OpenSSL headers and libraries.
102
- #
103
- # Setting OPENSSL=no or NO_OPENSSL=1 will cause CHIP to be built without OpenSSL. Note that
104
- # building without OpenSSL automatically suppresses the building of various command line tools that
105
- # have a hard dependency on OpenSSL (e.g. the CHIP tool).
106
-
107
- ifeq ($(NO_OPENSSL),1)
108
- OPENSSL = no
109
- else
110
- ifeq ($(HOSTOS),darwin)
111
- OPENSSL ?= $(shell if which brew > /dev/null && brew ls --versions openssl > /dev/null; then brew --prefix openssl; else echo "internal"; fi)
112
- else
113
- OPENSSL ?= $(shell if which pkg-config > /dev/null && pkg-config --exists openssl; then echo ""; else echo "internal"; fi)
114
- endif
115
- endif
116
- configure_OPTIONS += --with-openssl=$(OPENSSL)
117
- ifeq ($(OPENSSL),no)
118
- configure_OPTIONS += --disable-tools
119
- ProjectConfigDir = $(AbsTopSourceDir)/config/standalone/no-openssl
120
- endif
121
-
122
91
# If the user has asserted USE_FUZZING enable fuzzing build
123
92
ifeq ($(USE_FUZZING),1)
124
93
configure_OPTIONS += --enable-fuzzing
0 commit comments