projects
/
oweals
/
tinc.git
/ 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 5d91a7896db2e1a71216d34bf13ae9fb4ad5e548..d9f8e1634d490d52da569b7e1c9b0d4d9ccd41f1 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.")]
+ )
)
])