[lxc-devel] [PATCH] configure: Add GnuTLS to configure overview

Serge Hallyn serge.hallyn at ubuntu.com
Mon Dec 23 21:20:01 UTC 2013


Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  configure.ac | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 26b4032..4c5f002 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -148,7 +148,7 @@ if test "$enable_apparmor" = "auto" ; then
>  fi
>  AM_CONDITIONAL([ENABLE_APPARMOR], [test "x$enable_apparmor" = "xyes"])
>  
> -AC_CHECK_LIB([gnutls], [gnutls_hash_fast])
> +AC_CHECK_LIB([gnutls], [gnutls_hash_fast], [enable_gnutls=yes], [enable_gnutls=no])
>  
>  AM_COND_IF([ENABLE_APPARMOR],
>  	[AC_CHECK_HEADER([sys/apparmor.h],[],[AC_MSG_ERROR([You must install the AppArmor development package in order to compile lxc])])
> @@ -611,6 +611,7 @@ Environment:
>   - compiler: $CC
>   - distribution: $with_distro
>   - rpath: $enable_rpath
> + - GnuTLS: $enable_gnutls
>  
>  Security features:
>   - Apparmor: $enable_apparmor
> -- 
> 1.8.5.2
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list