Index: trunk/psLib/configure.ac
===================================================================
--- trunk/psLib/configure.ac	(revision 12331)
+++ trunk/psLib/configure.ac	(revision 12334)
@@ -422,6 +422,6 @@
   [AC_MSG_ERROR([SSL headers not found.  Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])]
 )
-AC_CHECK_LIB(ssl,MD5,[],
-  [AC_MSG_ERROR([SSL library not found.  Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])],[-lcrypto]
+AC_CHECK_LIB(crypto,MD5,[],
+  [AC_MSG_ERROR([SSL library not found.  Obtain it at http://www.openssl.org/ or use --with-ssl to specify location.])]
 )
 
