Various fixes for autoconf and OpenSSL 0.9.7 and a missing header.

This commit is contained in:
Guus Sliepen 2003-01-17 00:43:58 +00:00
parent c08858baa9
commit 1783a3aaa9
4 changed files with 16 additions and 15 deletions

View file

@ -29,15 +29,7 @@ AC_DEFUN(tinc_OPENSSL,
[AC_MSG_ERROR([OpenSSL libraries not found.])]
)
AC_CHECK_FUNCS(RAND_pseudo_bytes)
AC_CHECK_FUNC(OpenSSL_add_all_algorithms,
[],
[AC_CHECK_FUNC(SSLeay_add_all_algorithms,
[AC_DEFINE(HAVE_SSLEAY_ADD_ALL_ALGORITHMS, 1, [Defined if this function should be used instead of OpenSLL_add_all_algorithms])],
[AC_MSG_ERROR([Missing required OpenSSL functionality!])]
)]
)
AC_CHECK_FUNCS([RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms])
AC_CHECK_FUNC(dlopen,
[],