- Always use <openssl/include.h> instead of just <include.h>

- Check if RAND_pseudo_bytes() exists, otherwise just use RAND_bytes()
This commit is contained in:
Guus Sliepen 2001-07-04 08:41:36 +00:00
parent 6bd93e4c06
commit 1e2bdc2b6d
5 changed files with 31 additions and 83 deletions

View file

@ -29,6 +29,8 @@ AC_DEFUN(tinc_OPENSSL,
[AC_MSG_ERROR("OpenSSL libraries not found.")]
)
AC_CHECK_FUNCS(RAND_pseudo_bytes)
AC_CHECK_FUNC(dlopen,
[],
AC_CHECK_LIB(dl, dlopen,