- libxml2
-- Augeas (http://augeas.net/)
+- Augeas (http://augeas.net/) (optional)
- squashfs-tools (mksquashfs only)
AC_SUBST([LIBXML2_CFLAGS])
AC_SUBST([LIBXML2_LIBS])
-dnl Augeas (required)
-PKG_CHECK_MODULES([AUGEAS], [augeas])
-AC_SUBST([AUGEAS_CFLAGS])
-AC_SUBST([AUGEAS_LIBS])
dnl hivex library (required)
dnl This used to be a part of libguestfs, but was spun off into its
#include <pcre.h>
#include <magic.h>
#include <hivex.h>
-#include <augeas.h>
#include "c-ctype.h"
#include "ignore-value.h"
* are mounted.
* XXX What if !feature_available (g, "augeas")?
*/
- if (guestfs_aug_init (g, "/", AUG_NO_LOAD|AUG_SAVE_NOOP) == -1)
+ if (guestfs_aug_init (g, "/", 16|32) == -1)
return -1;
/* Tell Augeas to only load /etc/fstab (thanks Raphaƫl Pinson). */