• Home
  • Raw
  • Download

Lines Matching +full:libressl +full:- +full:version

21 # SPDX-License-Identifier: curl
25 # File version for 'aclocal' use. Keep it a single number.
36 dnl backup the pre-ssl variables
44 *-*-msys* | *-*-mingw*)
47 LIBS="-lgdi32 $LIBS"
66 dnl --with-openssl (without path) used
71 dnl check the given --with-openssl spot
75 dnl Try pkg-config even when cross-compiling. Since we
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!])
99 dnl in case pkg-config comes up empty, use what we got
100 dnl via --with-openssl
103 SSL_LDFLAGS="-L$LIB_OPENSSL"
104 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
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`
123 AC_MSG_NOTICE([pkg-config: SSL_LIBS: "$SSL_LIBS"])
124 AC_MSG_NOTICE([pkg-config: SSL_LDFLAGS: "$SSL_LDFLAGS"])
125 AC_MSG_NOTICE([pkg-config: SSL_CPPFLAGS: "$SSL_CPPFLAGS"])
127 LIB_OPENSSL=`echo $SSL_LDFLAGS | sed -e 's/^-L//'`
129 dnl use the values pkg-config reported. This is here
131 dnl learn about this via pkg-config. If we only have
132 dnl the argument to --with-openssl we don't know what
146 LIBS="-lcrypto $LIBS"
148 if test -n "$LIB_OPENSSL" ; then
149 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
150 LDFLAGSPC="$CLEANLDFLAGSPC -L$LIB_OPENSSL"
152 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
153 # only set this if pkg-config wasn't used
154 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
156 # Linking previously failed, try extra paths from --with-openssl or
157 # pkg-config. Use a different function name to avoid reusing the earlier
161 LIBS="-lcrypto $LIBS"], [
163 dnl still no, but what about with -ldl?
164 AC_MSG_CHECKING([OpenSSL linking with -ldl])
165 LIBS="-lcrypto $CLEANLIBS -ldl"
177 dnl ok, so what about both -ldl and -lpthread?
180 AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread])
181 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
213 LIBS="-lRSAglue -lrsaref $LIBS"
225 dnl Have the libraries--check for OpenSSL headers
264 AC_MSG_CHECKING([for AWS-LC])
270 #error not AWS-LC
275 ssl_msg="AWS-LC"
281 AC_MSG_CHECKING([for LibreSSL])
290 ssl_msg="LibreSSL"
320 AC_MSG_NOTICE([OpenSSL version does not speak QUIC API])
324 if test -n "$LIB_OPENSSL"; then
325 dnl when the ssl shared libs were found in a path that the run-time
338 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
345 AC_MSG_ERROR([--with-openssl was given but OpenSSL could not be detected])
348 dnl ---
350 dnl ---
369 dnl ---
371 dnl ---
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…
383 dnl ---
385 dnl ---
393 #error need at least version 3.3.0