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

Stéphane Graber stgraber at ubuntu.com
Mon Dec 23 21:12:17 UTC 2013


Signed-off-by: Stéphane Graber <stgraber 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



More information about the lxc-devel mailing list