[Libvir] PATCH 2/5: Use pkg-config for gnutls

Daniel Veillard veillard at redhat.com
Tue Sep 18 07:33:22 UTC 2007


On Tue, Sep 18, 2007 at 02:32:59AM +0100, Daniel P. Berrange wrote:
> 
> The current GNU TLS tests in the configure script just use CHECK_HEADER and
> CHECK_LIB to try and locate gnutls. This is fine if its in /usr, but no so
> useful if it is installed elsewhere. There are also no Makefile.am vars set
> to let you specify an alternate install location. gnutls already comes with
> support for pkg-config, so this patch just switches our configure script 
> and Makefiles over to use that. Building against a different GNU TLS install
> is now just a matter of setting PKG_CONFIG_PATH, or the GNUTLS_LIBS and
> GNUTLS_CFLAGS vars.

  Same worry about pkg-config portability as for 1/5,

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/




More information about the libvir-list mailing list