X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=1acb5ba57408e0af1de38d31bb190c4c1a5e7ba7;hb=97d737a88b33d3df97ceacb026b29b1656604a8d;hp=f1b56d2dbe9a118901f7426bcc176f624d841f63;hpb=652a1052373b4d6a6a43ab5e59aeb8db8e2bb284;p=libguestfs.git diff --git a/configure.ac b/configure.ac index f1b56d2..1acb5ba 100644 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,7 @@ # major/minor/release must be numbers m4_define([libguestfs_major], [1]) m4_define([libguestfs_minor], [9]) -m4_define([libguestfs_release], [13]) +m4_define([libguestfs_release], [14]) # extra can be any string m4_define([libguestfs_extra], []) @@ -431,6 +431,15 @@ PKG_CHECK_MODULES([LIBXML2], [libxml-2.0], [AC_MSG_WARN([libxml2 not found, some core features will be disabled])]) AM_CONDITIONAL([HAVE_LIBXML2],[test "x$LIBXML2_LIBS" != "x"]) +dnl libconfig (highly recommended) +PKG_CHECK_MODULES([LIBCONFIG], [libconfig], + [AC_SUBST([LIBCONFIG_CFLAGS]) + AC_SUBST([LIBCONFIG_LIBS]) + AC_DEFINE([HAVE_LIBCONFIG],[1],[libconfig found at compile time.]) + ], + [AC_MSG_WARN([libconfig not found, some features will be disabled])]) +AM_CONDITIONAL([HAVE_LIBCONFIG],[test "x$LIBCONFIG_LIBS" != "x"]) + 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. @@ -440,6 +449,7 @@ PKG_CHECK_MODULES([HIVEX], [hivex], AC_DEFINE([HAVE_HIVEX],[1],[hivex library found at compile time.]) ], [AC_MSG_WARN([hivex not found, some core features will be disabled])]) +AM_CONDITIONAL([HAVE_HIVEX],[test "x$HIVEX_LIBS" != "x"]) dnl FUSE is optional to build the FUSE module. AC_ARG_ENABLE([fuse],