From 91b4f7bb636cda097f76a8624585953c522d4693 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 15 May 2018 11:40:52 +0100 Subject: [PATCH] force explicit use of --disable-gnutls if gnutls support is not required --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5fabeaf1e..58c63ace4 100644 --- a/configure.ac +++ b/configure.ac @@ -486,8 +486,10 @@ if test "x$enable_gnutls" != "xno"; then ]) ], [ - echo "Building without gnutls" - enable_gnutls=no + echo "Building without GnuTLS" + AC_MSG_RESULT([*** GnuTLS support is recommended ]) + AC_MSG_RESULT([*** You can use --disable-gnutls if you don't need it.]) + AC_MSG_ERROR([GnuTLS not found]) ]) AC_SUBST(GNUTLS_LIBS) AC_SUBST(GNUTLS_CFLAGS) -- 2.25.1