From: Jim Fehlig Date: Tue, 22 Oct 2013 05:12:22 +0000 (-0600) Subject: build: fix build of virt-login-shell on systems with older gnutls X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=843bdb2f8a3364637cda2911624149525188843f;p=libvirt.git build: fix build of virt-login-shell on systems with older gnutls On systems where gnutls uses libgcrypt, I'm seeing the following build failure libvirt.c:314: error: variable 'virTLSThreadImpl' has initializer but incomplete type libvirt.c:319: error: 'GCRY_THREAD_OPTION_PTHREAD' undeclared here (not in a function) ... Fix by undefining WITH_GNUTLS_GCRYPT in config-post.h --- diff --git a/config-post.h b/config-post.h index d371e8c6cc..8367200f9c 100644 --- a/config-post.h +++ b/config-post.h @@ -34,6 +34,7 @@ # undef WITH_CURL # undef WITH_DTRACE_PROBES # undef WITH_GNUTLS +# undef WITH_GNUTLS_GCRYPT # undef WITH_MACVTAP # undef WITH_NUMACTL # undef WITH_SASL