force explicit use of --disable-gnutls if gnutls support is not required
authorPaul <paul@claws-mail.org>
Tue, 15 May 2018 10:40:52 +0000 (11:40 +0100)
committerPaul <paul@claws-mail.org>
Tue, 15 May 2018 10:40:52 +0000 (11:40 +0100)
configure.ac

index 5fabeaf..58c63ac 100644 (file)
@@ -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)
         ])
         AC_SUBST(GNUTLS_LIBS)
         AC_SUBST(GNUTLS_CFLAGS)