Index: /trunk/psLib/configure.ac
===================================================================
--- /trunk/psLib/configure.ac	(revision 12306)
+++ /trunk/psLib/configure.ac	(revision 12307)
@@ -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,[-lcrypto],
-  [AC_MSG_ERROR([SSL library 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]
 )
 
