summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Ebourne <martin@ebourne.me.uk>2006-02-01 23:38:28 +0000
committerMartin Ebourne <martin@ebourne.me.uk>2006-02-01 23:38:28 +0000
commit68d3bfb764d27f9dcb9b03a4df0e16819f2e1f8c (patch)
treed62f557e082d6ef8b0d35325f719fb16ee49a398 /configure.ac
parent45d64d4d38b698f0945fd04f1fce484e008dba99 (diff)
Detect network libraries for OpenSSL, needed on Solaris
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8a4175ce..a9b820c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,8 @@ AX_PATH_BDB(, [
])
## Check for Open SSL, use old versions only if explicitly requested
+AC_SEARCH_LIBS([gethostbyname], [nsl socket resolv])
+AC_SEARCH_LIBS([shutdown], [nsl socket resolv])
AX_CHECK_SSL(, [AC_MSG_ERROR([[OpenSSL is not installed but is required]])])
AC_ARG_ENABLE(
[old-ssl],