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
43 *-*-msys* | *-*-mingw*)
46 LIBS="-lgdi32 $LIBS"
65 dnl --with-openssl (without path) used
70 dnl check the given --with-openssl spot
74 dnl Try pkg-config even when cross-compiling. Since we
78 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
86 if test -f "$OPENSSL_PCDIR/openssl.pc"; then
93 if test ! -f "$PREFIX_OPENSSL/include/openssl/ssl.h"; then
94 AC_MSG_ERROR([$PREFIX_OPENSSL is a bad --with-openssl prefix!])
98 dnl in case pkg-config comes up empty, use what we got
99 dnl via --with-openssl
102 SSL_LDFLAGS="-L$LIB_OPENSSL"
103 SSL_CPPFLAGS="-I$PREFIX_OPENSSL/include"
114 $PKGCONFIG --libs-only-l --libs-only-other openssl 2>/dev/null`
117 $PKGCONFIG --libs-only-L openssl 2>/dev/null`
120 $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
145 LIBS="-lcrypto $LIBS"
147 if test -n "$LIB_OPENSSL" ; then
148 LDFLAGS="$CLEANLDFLAGS -L$LIB_OPENSSL"
150 if test "$PKGCONFIG" = "no" -a -n "$PREFIX_OPENSSL" ; then
151 # only set this if pkg-config wasn't used
152 CPPFLAGS="$CLEANCPPFLAGS -I$PREFIX_OPENSSL/include"
154 # Linking previously failed, try extra paths from --with-openssl or
155 # pkg-config. Use a different function name to avoid reusing the earlier
159 LIBS="-lcrypto $LIBS"], [
161 dnl still no, but what about with -ldl?
162 AC_MSG_CHECKING([OpenSSL linking with -ldl])
163 LIBS="-lcrypto $CLEANLIBS -ldl"
175 dnl ok, so what about both -ldl and -lpthread?
178 AC_MSG_CHECKING([OpenSSL linking with -ldl and -lpthread])
179 LIBS="-lcrypto $CLEANLIBS -ldl -lpthread"
213 LIBS="-lRSAglue -lrsaref $LIBS"
225 dnl Have the libraries--check for OpenSSL headers
279 AC_MSG_CHECKING([for AWS-LC])
285 #error not AWS-LC
290 ssl_msg="AWS-LC"
296 AC_MSG_CHECKING([for libressl])
306 [Define to 1 if using libressl.])
307 ssl_msg="libressl"
339 AC_MSG_NOTICE([OpenSSL version does not speak QUIC API])
343 if test -n "$LIB_OPENSSL"; then
344 dnl when the ssl shared libs were found in a path that the run-time
356 test -z "$ssl_msg" || ssl_backends="${ssl_backends:+$ssl_backends, }$ssl_msg"
363 AC_MSG_ERROR([--with-openssl was given but OpenSSL could not be detected])
371 dnl Check for user-specified random device
373 AS_HELP_STRING([--with-random=FILE],
381 AC_MSG_WARN([skipped the /dev/urandom detection when cross-compiling])
385 if test -n "$RANDOM_FILE" && test X"$RANDOM_FILE" != Xno ; then
392 dnl ---
394 dnl ---
413 dnl ---
415 dnl ---
417 AC_ARG_ENABLE(openssl-auto-load-config,
418 AS_HELP_STRING([--enable-openssl-auto-load-config],[Enable automatic loading of OpenSSL configurati…
419 AS_HELP_STRING([--disable-openssl-auto-load-config],[Disable automatic loading of OpenSSL configura…
427 dnl ---
429 dnl ---