diff options
author | Linus Nordberg <linus@nordu.net> | 2016-09-13 17:59:13 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-09-13 17:59:13 +0200 |
commit | 2e7f970b81d1e77ff5bb5e5a702c664b4d2ce24c (patch) | |
tree | 6ebe895749e2529e799ddb88c30b651d375eea3f /configure.ac | |
parent | f5105cae918fce49e20043cc4169e11807f27981 (diff) |
Require libnettle unconditionally.openssl11
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 4c500e7..7743905 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 |