Tim Ruehsen <[email protected]> writes:

> If GnuTLS is not available a simple ./configure prints
> configure: error: --with-ssl=gnutls was given, but GNUTLS is not available.
>
> This seems misleading, so I changed it to
> configure: error: GnuTLS has not been found. Use --with-ssl=openssl if you 
> explicitly want OpenSSL.
>
> Any opinions ?
>
> Tim
>
> From a80986a8c95354eeefad2c39dc8813c829f79a4a Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tim=20R=C3=BChsen?= <[email protected]>
> Date: Fri, 5 Dec 2014 12:18:30 +0100
> Subject: [PATCH] Fix message in configure.ac for when GnuTLS has not been
>  found
>
> ---
>  ChangeLog    | 4 ++++
>  configure.ac | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)

> @@ -422,7 +422,7 @@ AS_IF([test x"$with_ssl" = xopenssl], [
>          AC_LIBOBJ([gnutls])
>          LIBS="$LIBGNUTLS $LIBS"
>        else
> -        AC_MSG_ERROR([--with-ssl=gnutls was given, but GNUTLS is not 
> available.])
> +        AC_MSG_ERROR([GnuTLS has not been found. Use --with-ssl=openssl if 
> you explicitly want OpenSSL.])
>        fi
>      ])

I think it is clearer than the original, feel free to push it.

Regards,
Giuseppe

Reply via email to