• D
    Initialize gcrypt threading · 33a198c1
    Daniel P. Berrange 提交于
    GNUTLS uses gcrypt for its crypto functions. gcrypt requires
    that the app/library initializes threading before using it.
    We don't want to force apps using libvirt to know about
    gcrypt, so we make virInitialize init threading on their
    behalf. This location also ensures libvirtd has initialized
    it correctly. This initialization is required even if libvirt
    itself were only using one thread, since another non-libvirt
    library (eg GTK-VNC) could also be using gcrypt from another
    thread
    
    * src/libvirt.c: Register thread functions for gcrypt
    * configure.in: Add -lgcrypt to linker flags
    33a198c1
configure.in 62.6 KB