On 02/24/2012 08:13 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berra...@redhat.com>
> 
> The /usr/include/python/pyconfig.h file pollutes the global
> namespace with a huge number of HAVE_XXX and WITH_XXX
> defines. These change what we detected in our own config.h
> In particular if you try to build without DTrace, python's
> headers turn it back on with predictable fail.
> 
> THe hack to workaround this is to rename WITH_DTRACE to
> WITH_DTRACE_PROBES to avoid the namespace clash
> ---
>  configure.ac       |    4 ++--
>  daemon/Makefile.am |    2 +-
>  src/Makefile.am    |    4 ++--
>  src/internal.h     |    2 +-
>  tests/Makefile.am  |    2 +-
>  5 files changed, 7 insertions(+), 7 deletions(-)

ACK.  (And I really wish python would clean up their act).

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to