summaryrefslogtreecommitdiff
path: root/test/configure.ac
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-12-29 19:49:54 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-12-29 19:49:54 +0000
commitbfe645c1570343d3adca657ab67998e122ca8792 (patch)
treebbf8b32a1ba0eb70cf9adfb1539af7915d8aa17b /test/configure.ac
parenta466d09b249d5018ecb0f1ec45adba545c02c75b (diff)
update to pre-4.87 master
Diffstat (limited to 'test/configure.ac')
-rw-r--r--test/configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/configure.ac b/test/configure.ac
index a38b5b0ae..017d22d38 100644
--- a/test/configure.ac
+++ b/test/configure.ac
@@ -15,6 +15,7 @@ AC_PROG_CC
dnl Checks for header files.
+AC_CHECK_HEADERS(sys/socket.h)
AC_CHECK_HEADERS(openssl/crypto.h,[CLIENT_SSL=bin/client-ssl])
AC_CHECK_HEADERS(gnutls/gnutls.h,[CLIENT_GNUTLS=bin/client-gnutls])
@@ -52,6 +53,8 @@ dnl Solaris requires additional libraries for networking functions.
AC_SEARCH_LIBS([inet_addr], [nsl])
AC_SEARCH_LIBS([connect], [socket])
+AC_SEARCH_LIBS([inet_pton], [nsl socket resolv])
+AC_SEARCH_LIBS([inet_ntop], [nsl socket resolv])
dnl "Export" these variables