]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix GnuTLS pkg-config check
authorMatthias Bolte <matthias.bolte@googlemail.com>
Mon, 21 Dec 2009 17:47:12 +0000 (18:47 +0100)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Tue, 22 Dec 2009 12:04:50 +0000 (13:04 +0100)
commitcf30da7a2508132e79c38dc50ad9f47d0bbaddff
treef8be7fd7e715bcf0e79d0f6a4c44c5ce03b896a4
parent188852c984d6231c588bbbadc1c1f26624c41a61
Fix GnuTLS pkg-config check

The testlogic for $PKG_CONFIG was inverted, checking for an empty string
before using PKG_CHECK_MODULES. Use -x instead of -z and add an else branch
to the if checking for $GNUTLS_FOUND = no to add -lgcrypt in case the
GnuTLS libraries are detected by pkg-config.
configure.in