diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-12-03 14:34:52 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-12-22 19:07:07 +0000 |
commit | 2eeef4251c40b691da3860b2bafef4981131e86c (patch) | |
tree | 757bb960d9f56a6cc1928cb6af4137f0d9d376b0 /src/guestfs-actions.c | |
parent | 3f54bd02fcf540f9b4b6edc93f3b6b9c7ba136bd (diff) | |
download | libguestfs-2eeef4251c40b691da3860b2bafef4981131e86c.tar.gz libguestfs-2eeef4251c40b691da3860b2bafef4981131e86c.tar.xz libguestfs-2eeef4251c40b691da3860b2bafef4981131e86c.zip |
daemon: Use pkg-config to locate Augeas CFLAGS / libraries.
Augeas 0.10 depends on libxml2, so this is now required in the
appliance (in fact, it was already present).
However this exposed two bugs:
(1) In libguestfs we use a home-brewed recipe for Augeas flags,
resulting in this error:
/usr/include/augeas.h:24:25: fatal error: libxml/tree.h: No such file or directory
(2) Augeas's own augeas.pc didn't include the libxml2 flags, so
it was broken. This requires a patch to Augeas 0.10, see:
https://www.redhat.com/archives/augeas-devel/2011-December/msg00008.html
Change to using pkg-config to detect Augeas. It is still an optional
library.
Cherry picked from commit 615924abaa968398d6529529fa2f31ae23de825b and
rebased for old libguestfs branches that had separate
daemon/configure.ac.
Diffstat (limited to 'src/guestfs-actions.c')
0 files changed, 0 insertions, 0 deletions