X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=configure.ac;h=25943690e1676802710e3c334b46dcdbd6b03bf1;hp=67b1309786e313e3a658ac93f50f914fe3c49877;hb=cb7ec8be4ce6068b6cbc6522a67826cdbd161024;hpb=7509c91a71c729b3223eef4cde10d70daca66c72 diff --git a/configure.ac b/configure.ac index 67b1309..2594369 100644 --- a/configure.ac +++ b/configure.ac @@ -460,6 +460,7 @@ PKG_CHECK_MODULES([LIBVIRT], [libvirt], AC_DEFINE([HAVE_LIBVIRT],[1],[libvirt found at compile time.]) ], [AC_MSG_WARN([libvirt not found, some core features will be disabled])]) +AM_CONDITIONAL([HAVE_LIBVIRT],[test "x$LIBVIRT_LIBS" != "x"]) dnl libxml2 (highly recommended) PKG_CHECK_MODULES([LIBXML2], [libxml-2.0],