I think this needs to be discussed, as it changes the behavior vs. the 
autotools build system. I would rather keep the existing behavior whereby 
GnuTLS is automatically enabled if it exists, unless you explicitly disable it.

On May 27, 2011, at 6:50 AM, ossm...@users.sourceforge.net wrote:

> Revision: 4455
>          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4455&view=rev
> Author:   ossman_
> Date:     2011-05-27 11:50:58 +0000 (Fri, 27 May 2011)
> 
> Log Message:
> -----------
> Make use of GnuTLS an explicit choice to avoid surprises if it gets included
> or not.
> 
> Modified Paths:
> --------------
>    trunk/CMakeLists.txt
> 
> Modified: trunk/CMakeLists.txt
> ===================================================================
> --- trunk/CMakeLists.txt    2011-05-26 15:39:41 UTC (rev 4454)
> +++ trunk/CMakeLists.txt    2011-05-27 11:50:58 UTC (rev 4455)
> @@ -208,8 +208,10 @@
> endif()
> 
> # Check for GNUTLS library
> -find_package(GnuTLS)
> -if(GNUTLS_FOUND)
> +option(ENABLE_GNUTLS "Enable protocol encryption and advanced 
> authentication")
> +if(ENABLE_GNUTLS)
> +  find_package(GnuTLS REQUIRED)
> +
>   include_directories(${GNUTLS_INCLUDE_DIR})
>   add_definitions("-DHAVE_GNUTLS")
>   add_definitions(${GNUTLS_DEFINITIONS})
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the 
> world's largest Open Source development site.
> 
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> Tigervnc-commits mailing list
> tigervnc-comm...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to