X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=83da1f20a49228ef56d51a7a176de126f32bd256;hb=d29e9a552f5823d1d8cb8d4962cb1301bbf60b0e;hp=67b1309786e313e3a658ac93f50f914fe3c49877;hpb=7509c91a71c729b3223eef4cde10d70daca66c72;p=libguestfs.git diff --git a/configure.ac b/configure.ac index 67b1309..83da1f2 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], @@ -858,6 +859,7 @@ AC_CONFIG_FILES([Makefile po-docs/ja/Makefile php/Makefile csharp/Makefile + cat/Makefile ocaml/META perl/Makefile.PL]) AC_OUTPUT