Lines Matching +full:- +full:- +full:with +full:- +full:wolfssl
21 # SPDX-License-Identifier: curl
26 dnl ----------------------------------------------------
27 dnl check for wolfSSL
28 dnl ----------------------------------------------------
52 dnl try pkg-config magic
53 CURL_CHECK_PKGCONFIG(wolfssl, [$wolfpkg])
61 $PKGCONFIG --libs-only-l wolfssl`
63 $PKGCONFIG --libs-only-L wolfssl`
65 $PKGCONFIG --cflags-only-I wolfssl`
67 $PKGCONFIG --modversion wolfssl`
68 wolfssllibpath=`echo $addld | $SED -e 's/^-L//'`
70 addlib=-lwolfssl
72 if test -n "$OPT_WOLFSSL"; then
73 addld=-L$OPT_WOLFSSL/lib$libsuff
74 addcflags=-I$OPT_WOLFSSL/include
84 if test "$addcflags" != "-I/usr/include"; then
93 AC_MSG_CHECKING([for wolfSSL_Init in -lwolfssl])
96 /* These are not needed for detection and confuse wolfSSL.
100 #include <wolfssl/options.h>
101 #include <wolfssl/ssl.h>
107 AC_DEFINE(USE_WOLFSSL, 1, [if wolfSSL is enabled])
110 ssl_msg="wolfSSL"
112 test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
125 AC_MSG_NOTICE([detected wolfSSL])
128 dnl wolfssl/ctaocrypt/types.h needs SIZEOF_LONG_LONG defined!
131 LIBS="$addlib -lm $LIBS"
133 dnl wolfSSL needs configure --enable-opensslextra to have *get_peer*
166 if test -n "$wolfssllibpath"; then
167 dnl when shared libs were found in a path that the run-time
177 LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE wolfssl"
179 AC_MSG_ERROR([--with-wolfssl but wolfSSL was not found or doesn't work])
182 fi dnl wolfSSL not disabled
184 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"