projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging of the entire pre5 branch.
[oweals/tinc.git]
/
m4
/
openssl.m4
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index 2ef9c37853104a993e731e55d8b950710bd38145..e5c0939555b570aa7664ac45a4448f743deebd8d 100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-31,6
+31,14
@@
AC_DEFUN(tinc_OPENSSL,
AC_CHECK_FUNCS(RAND_pseudo_bytes)
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)],
+ [AC_MSG_ERROR("Missing required OpenSSL functionality!")]
+ )
+ )
+
AC_CHECK_FUNC(dlopen,
[],
AC_CHECK_LIB(dl, dlopen,
AC_CHECK_FUNC(dlopen,
[],
AC_CHECK_LIB(dl, dlopen,