Lines Matching full:rustls
27 dnl check for rustls
51 dnl --with-rustls (without path) used
56 dnl check the provided --with-rustls path
65 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
73 if test -f "$RUSTLS_PCDIR/rustls.pc"; then
81 dnl via --with-rustls
91 AC_CHECK_LIB(rustls, rustls_connection_read,
93 AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled])
97 ssl_msg="rustls"
98 test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
100 AC_MSG_ERROR([--with-rustls was specified but could not find rustls.]),
114 CURL_CHECK_PKGCONFIG(rustls, [$RUSTLS_PCDIR])
118 $PKGCONFIG --libs-only-l --libs-only-other rustls 2>/dev/null`
121 $PKGCONFIG --libs-only-L rustls 2>/dev/null`
124 $PKGCONFIG --cflags-only-I rustls 2>/dev/null`
136 dnl the argument to --with-rustls we don't know what
140 ssl_msg="rustls"
141 AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled])
145 test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
147 AC_MSG_ERROR([pkg-config: Could not find rustls])
152 dnl rustls lib to LIBS
161 AC_MSG_NOTICE([detected rustls])
183 AC_MSG_ERROR([--with-rustls was given but Rustls could not be detected])