From af3a1756f38e81b03baf1d4a1b6e3ed5a79ccebc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 18 Jun 2009 22:32:13 +0200
Subject: Adapt OpenSSL detection to MSVC.


diff --git a/autoconf/ax_openssl.m4 b/autoconf/ax_openssl.m4
index cdb3f12..0534e33 100644
--- a/autoconf/ax_openssl.m4
+++ b/autoconf/ax_openssl.m4
@@ -11,7 +11,7 @@ AC_DEFUN([AX_OPENSSL],
 				OPENSSL_CPPFLAGS="-I$withval/include"
 				case $host in
 					*-*-cygwin*|*-mingw32*)
-						OPENSSL_LIBS="-L$withval/lib/MinGW -leay32 $withval/lib/MinGW/ssleay32.a"
+						OPENSSL_LIBS="-L$withval/lib/VC -leay32MT $withval/lib/VC/ssleay32MT.lib"
 						;;
 					*)
 						OPENSSL_LIBS="-L$withval/lib -lssl -lcrypto"
-- 
cgit v0.10.2-6-g49f6