-if test x"$have_gnutls" = xno; then
- AC_CHECK_LIB(ssl, SSL_read, [
- AC_CHECK_LIB(crypto, X509_new, [
- AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h openssl/rand.h, [
- LIBS="$LIBS -lssl -lcrypto"
- ])
- ])
- ])
+
+if test x$is_win32 = xyes ; then
+ openssl_deps="-lcrypto -lgdi32"
+else
+ openssl_deps="-lcrypto"