2 messages in com.xensource.lists.xen-cim[Xen-cim] configure patch
FromSent OnAttachments
Jim Fehlig26 Apr 2006 17:14.patch
Daniel Veillard27 Apr 2006 01:06 
Subject:[Xen-cim] configure patch
From:Jim Fehlig (jfeh@novell.com)
Date:04/26/2006 05:14:31 PM
List:com.xensource.lists.xen-cim
Attachments:

Attached is a patch to look for libvirt and libxml2 during configure. configure will abort if either not found. It uses pkg-config or simply AC_CHECK_LIB if pkg-config is not available. Hmm, now that I think about it this patch is probably insufficient if pkg-config is not available since CFLAGS will not have proper include search paths.

I wanted to get people's thoughts on using pkg-config to look for required packages or is another approach preferred?

BTW, the libxml2 stuff will go away once we move exclusively to libvirt. I'm using it in libxm shim now to parse libvirt's xml into xm_config structure.

Thanks, Jim