From 9f653edcdc6ecceb7a22441e496f1fc08a95f56c Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 11 Sep 2010 17:16:22 +0100 Subject: [PATCH] build: hivex is required. hivex library has been required since we moved the inspection code to C. Check for this in configure.ac. --- README | 2 +- configure.ac | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README b/README index aa43bbb..e231840 100644 --- a/README +++ b/README @@ -61,7 +61,7 @@ Requirements - genisoimage / mkisofs -- (Optional) hivex >= 1.2.1 to build Windows Registry support +- hivex >= 1.2.1 (http://libguestfs.org/download) - (Optional) FUSE to build the FUSE module diff --git a/configure.ac b/configure.ac index 0f8853d..4a7d6e6 100644 --- a/configure.ac +++ b/configure.ac @@ -483,14 +483,10 @@ PKG_CHECK_MODULES([AUGEAS], [augeas]) AC_SUBST([AUGEAS_CFLAGS]) AC_SUBST([AUGEAS_LIBS]) -dnl hivex library (highly recommended). +dnl hivex library (required) dnl This used to be a part of libguestfs, but was spun off into its dnl own separate upstream project in libguestfs 1.0.85. -HAVE_HIVEX=yes -PKG_CHECK_MODULES([HIVEX], [hivex],,[ - HAVE_HIVEX=no - AC_MSG_WARN([Hivex library and headers are missing, so optional Windows Registry tools won't be built])]) -AM_CONDITIONAL([HAVE_HIVEX],[test "x$HAVE_HIVEX" = "xyes"]) +PKG_CHECK_MODULES([HIVEX], [hivex]) AC_SUBST([HIVEX_CFLAGS]) AC_SUBST([HIVEX_LIBS]) -- 1.8.3.1