• Home
  • Raw
  • Download

Lines Matching full:openssl

29 dnl Check for OpenSSL libraries and headers
66 dnl --with-openssl (without path) used
71 dnl check the given --with-openssl spot
79 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
87 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
94 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
95 AC_MSG_ERROR([$PREFIX_OPENSSL is a bad --with-openssl prefix!])
100 dnl via --with-openssl
111 CURL_CHECK_PKGCONFIG(openssl, [$OPENSSL_PCDIR])
115 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
118 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
121 $PKGCONFIG --cflags-only-I openssl 2>/dev/null`
132 dnl the argument to --with-openssl we don't know what
156 # Linking previously failed, try extra paths from --with-openssl or
164 AC_MSG_CHECKING([OpenSSL linking with -ldl])
167 #include <openssl/err.h>
180 AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread])
184 #include <openssl/err.h>
225 dnl Have the libraries--check for OpenSSL headers
226 AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \
227 openssl/pem.h openssl/ssl.h openssl/err.h,
228 ssl_msg="OpenSSL"
229 test openssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
231 AC_DEFINE(USE_OPENSSL, 1, [if OpenSSL is in use]))
240 AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!])
245 dnl These can only exist if OpenSSL exists
250 #include <openssl/base.h>
267 #include <openssl/base.h>
284 #include <openssl/opensslv.h>
295 AC_MSG_CHECKING([for OpenSSL >= v3])
298 #include <openssl/opensslv.h>
308 ssl_msg="OpenSSL v3+"
314 dnl is this OpenSSL (fork) providing the original QUIC API?
318 AC_MSG_NOTICE([OpenSSL fork speaks QUIC API])
320 AC_MSG_NOTICE([OpenSSL version does not speak QUIC API])
335 LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE openssl"
345 AC_MSG_ERROR([--with-openssl was given but OpenSSL could not be detected])
349 dnl We require OpenSSL with SRP support.
352 AC_MSG_CHECKING([for SRP support in OpenSSL])
355 #include <openssl/ssl.h>
370 dnl Whether the OpenSSL configuration will be loaded automatically
373 AC_ARG_ENABLE(openssl-auto-load-config,
374 AS_HELP_STRING([--enable-openssl-auto-load-config],[Enable automatic loading of OpenSSL configurati…
375 AS_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading of OpenSSL configura…
377 AC_MSG_NOTICE([automatic loading of OpenSSL configuration disabled])
378 …AC_DEFINE(CURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG, 1, [if the OpenSSL configuration won't be loaded …
384 dnl We may use OpenSSL QUIC.
387 AC_MSG_CHECKING([for QUIC support and OpenSSL >= 3.3])
390 #include <openssl/ssl.h>