Re: [PATCH] Workaround python header file insanity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/24/2012 08:13 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]