]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix compilation with gcrypt < 1.4.2
authorMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 18 Dec 2009 11:02:07 +0000 (12:02 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Fri, 18 Dec 2009 17:56:31 +0000 (18:56 +0100)
commit1c5c63338c90f6e82731f6871901dc72732033ef
tree4ea3334d6cb68ac0d93eb88f345e661cb2166ed8
parent1a43d0b2c29247aa108c50ab3cfda81a21db9dc9
Fix compilation with gcrypt < 1.4.2

Commit 33a198c1f6a4a1bc7f34d50a31032e03bec10fee increased the gcrypt
version requirement to 1.4.2 because the GCRY_THREAD_OPTION_VERSION
define was added in this version.

The configure script doesn't check for the gcrypt version. To support
gcrypt versions < 1.4.2 change the virTLSThreadImpl initialization
to use GCRY_THREAD_OPTION_VERSION only if it's defined.
src/libvirt.c