From 6ff93d467cd5e59cfa5445baf4f615bd9c8d44a4 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 13 Sep 2016 17:59:13 +0200 Subject: Require libnettle unconditionally. --- configure.ac | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 307a8e7..65c3b10 100644 --- a/configure.ac +++ b/configure.ac @@ -53,24 +53,8 @@ AC_ARG_ENABLE(dtls, fi ]) -AC_ARG_ENABLE(fticks, -AC_HELP_STRING([--enable-fticks],[build with F-Ticks support [default=no]]), -[case $enableval in -yes|no) ;; -*) AC_MSG_ERROR([bad value $enableval for --enable-fticks, need yes or no]) ;; -esac], -[enable_fticks=no]) - -if test "$enable_fticks" = "yes"; then AC_CHECK_LIB([nettle], [nettle_sha256_init],, - [AC_MSG_WARN([required library nettle not found, fticks support disabled]) - enable_fticks=no]) -fi - -if test "$enable_fticks" = "yes"; then -AC_DEFINE([WANT_FTICKS], [1]) -fi -AM_CONDITIONAL(WANT_FTICKS, test "$enable_fticks" = "yes") + [AC_MSG_ERROR([required library nettle not found])]) dnl Check if we're on Solaris and set CFLAGS accordingly AC_CANONICAL_SYSTEM -- cgit v1.1