]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
configure: Add GnuTLS to configure overview
authorStéphane Graber <stgraber@ubuntu.com>
Mon, 23 Dec 2013 21:12:17 +0000 (22:12 +0100)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 23 Dec 2013 22:06:54 +0000 (16:06 -0600)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
configure.ac

index 2818d79a51c1341793bff9f8d60c4c66f17b4777..9b2a55b50efa0d6aaac69c6b453831ff1b3e1d7e 100644 (file)
@@ -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])])
@@ -604,6 +604,7 @@ Environment:
  - compiler: $CC
  - distribution: $with_distro
  - rpath: $enable_rpath
+ - GnuTLS: $enable_gnutls
 
 Security features:
  - Apparmor: $enable_apparmor