summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d3d901b..973148f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,9 @@ AC_ARG_ENABLE(dtls,
exit -1
fi
])
+
+AC_CHECK_LIB([nettle], [nettle_sha256_init],,
+ AC_MSG_ERROR([required library nettle not found]))
dnl Check if we're on Solaris and set CFLAGS accordingly
AC_CANONICAL_SYSTEM