projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9591bd
)
Check for dlopen in standard libraries first (needed for DEC OSF).
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 29 Jun 2001 14:15:46 +0000
(14:15 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 29 Jun 2001 14:15:46 +0000
(14:15 +0000)
m4/openssl.m4
patch
|
blob
|
history
diff --git
a/m4/openssl.m4
b/m4/openssl.m4
index
5d91a78
..
d9f8e16
100644
(file)
--- a/
m4/openssl.m4
+++ b/
m4/openssl.m4
@@
-29,8
+29,11
@@
AC_DEFUN(tinc_OPENSSL,
[AC_MSG_ERROR("OpenSSL libraries not found.")]
)
- AC_CHECK_LIB(dl, dlopen,
- [LIBS="$LIBS -ldl"],
- [AC_MSG_ERROR("OpenSSL depends on libdl.")]
+ AC_CHECK_FUNC(dlopen,
+ [],
+ AC_CHECK_LIB(dl, dlopen,
+ [LIBS="$LIBS -ldl"],
+ [AC_MSG_ERROR("OpenSSL depends on libdl.")]
+ )
)
])