-AC_CHECK_LIB(dl, dlopen, [
- LIBS="$LIBS -ldl"
-])
-
-
-dnl Crypto stuff
-
-libcrypto=none
-AC_CHECK_LIB(crypto, SHA1_version, [
- libcrypto=yes
-])
-
-if test $libcrypto = none; then
- AC_MSG_ERROR(It seems like OpenSSL is not installed on this system.)
-else
- LIBS="$LIBS -lcrypto"
-fi
-