From fe92eb7d2324909ab28fe813379f5cc34ae6ace7 Mon Sep 17 00:00:00 2001 From: yr2004 Date: Sat, 2 Feb 2019 10:33:22 +0800 Subject: [PATCH] Update configure.ac fix a configure.ac error for tinydtls --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6a773d4b..912fec3d 100644 --- a/configure.ac +++ b/configure.ac @@ -428,7 +428,7 @@ if test "x$build_dtls" = "xyes"; then # Note that tinyDTLS is used only when explicitly requested. # Giving out an error message if we haven't found at least one crypto library. - if test "x$have_gnutls" = "xno" -a "x$have_openssl" = "xno" -a "x$have_tinydtls" != "xno"; then + if test "x$have_gnutls" = "xno" -a "x$have_openssl" = "xno" -a "x$have_tinydtls" = "xno"; then AC_MSG_ERROR([==> Option '--enable-dtls' is set but one of the needed cryptography library GnuTLS nor OpenSSL nor tinyDTLS could be found! Install at least one of the package(s) that contains the development files for GnuTLS (>= $gnutls_version_required) or OpenSSL(>= $openssl_version_required) or disable the DTLS support using '--disable-dtls'.])