Skip to content

Commit

Permalink
* configure.ac: Enable hashing fallback to nettle
Browse files Browse the repository at this point in the history
  • Loading branch information
rockdaboot committed Apr 6, 2018
1 parent 6aa809d commit 2a9f5e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,9 @@ AS_IF([test "x$with_gnutls" != "xno"], [
AM_CONDITIONAL([WITH_GNUTLS], [test "x$with_gnutls" = xyes])

AS_IF([test "x$with_gnutls" != xyes || test "x$with_gnutls_hash" != xyes], [
# AC_SEARCH_LIBS(nettle_md5_init, nettle,
# [with_libnettle=yes; AC_DEFINE([WITH_LIBNETTLE], [1], [Use libnettle])],
# [with_libnettle=no; AC_MSG_WARN(*** LIBNETTLE was not found. Fallback to libgcrypt for hashing and checksumming.)])
AC_SEARCH_LIBS(nettle_md5_init, nettle,
[with_libnettle=yes; AC_DEFINE([WITH_LIBNETTLE], [1], [Use libnettle])],
[with_libnettle=no; AC_MSG_WARN(*** LIBNETTLE was not found. Fallback to libgcrypt for hashing and checksumming.)])
AS_IF([test "x$with_libnettle" != xyes], [
AC_SEARCH_LIBS(gcry_check_version, gcrypt,
Expand Down

0 comments on commit 2a9f5e1

Please sign in to comment.