summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-08-02 16:33:25 +0100
committerRichard Jones <rjones@redhat.com>2010-08-17 14:09:25 +0100
commit1a9aa565b38eafe48621bc2fe42d35ea6a907708 (patch)
tree5659d990a41951cc511add9b74e4ecb188215770 /configure.ac
parent8289aa1ad68ec94c87fc4d538f638d8816052d92 (diff)
downloadlibguestfs-1a9aa565b38eafe48621bc2fe42d35ea6a907708.tar.gz
libguestfs-1a9aa565b38eafe48621bc2fe42d35ea6a907708.tar.xz
libguestfs-1a9aa565b38eafe48621bc2fe42d35ea6a907708.zip
fish: Add -c/--connect and -d/--domain options.
The -d option lets you specify libvirt domains. The disks from these domains are found and added, as if you'd named them with -a. The -c option lets you specify a libvirt URI, which is needed when we consult libvirt to implement the above.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e04357dd..192e0344 100644
--- a/configure.ac
+++ b/configure.ac
@@ -468,6 +468,16 @@ AC_CHECK_HEADER([magic.h],[],[
AC_MSG_FAILURE([magic.h header file is required])
])
+dnl libvirt (required)
+PKG_CHECK_MODULES([LIBVIRT], [libvirt])
+AC_SUBST([LIBVIRT_CFLAGS])
+AC_SUBST([LIBVIRT_LIBS])
+
+dnl libxml2 (required)
+PKG_CHECK_MODULES([LIBXML2], [libxml-2.0])
+AC_SUBST([LIBXML2_CFLAGS])
+AC_SUBST([LIBXML2_LIBS])
+
dnl hivex library (highly recommended).
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.