Re: configure fails if GnuTLS not present

Rodney Dawes <[email protected]> Wed, 18 Feb 2004 08:47:13 -0500
Newsgroups gmane.network.everybuddy.user
Message-ID <[email protected]>
On Wed, 2004-02-18 at 08:04, Philip S Tellis wrote:
> This patch will allow it to complete, so that only the MSN module 
> doesn't build, rather than all of eb.

Index: configure.ac
> ===================================================================
> --- configure.ac	(revision 269)
> +++ configure.ac	(working copy)
> @@ -191,7 +191,7 @@
>          fi
>      done
>      if test x_$found_tls != x_yes; then
> -        AC_MSG_ERROR(Cannot find GnuTLS libraries)
> +        AC_MSG_WARN(Cannot find GnuTLS libraries)
>      else
>          AC_MSG_RESULT($tlsdir)
>  if test "$use_mingw" != 'no'; then

You probably just want to do AC_MSG_RESULT([no]) instead of spitting
out a warning, and then at the end of the configure script, spit out
the list of plug-ins and whether or not they are being built (if we
aren't doing that already).

> Also, why not use openssl?  Ayttm currently works with openssl instead 
> of gnutls - we could pick whichever exists.

OpenSSL has a crappy API, and is incompatible with the GPL. As far as I
can tell, the GnuTLS API is much better. GnuTLS and related libraries,
also seem to be The Future (TM) libraries to use in terms of getting
that functionality. I highly recommend using GnuTLS over OpenSSL based
on years of dealing with having to ship several SSL libraries.

-- dobey