Use AC_CHECK_LIB for ssl and crypto
diff --git a/config.h.in b/config.h.in
index eec5492..b91c0cf 100644
--- a/config.h.in
+++ b/config.h.in
@@ -12,6 +12,12 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
+/* Define to 1 if you have the `crypto' library (-lcrypto). */
+#undef HAVE_LIBCRYPTO
+
+/* Define to 1 if you have the `ssl' library (-lssl). */
+#undef HAVE_LIBSSL
+
 /* 1 if have memcmp in memory.h. */
 #undef HAVE_MEMCMP