summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2008-04-14 17:46:47 +0100
committerRichard W.M. Jones <rjones@redhat.com>2008-04-14 17:46:47 +0100
commitdb2c06435d37a99a9ca04f111736cab8690393b8 (patch)
treeb133275b35fa415dfffae70a4136e429e535d8f1
parente4450db8fa0bdf31f3bf50062295b801a6a803ab (diff)
downloadvirt-top-db2c06435d37a99a9ca04f111736cab8690393b8.zip
virt-top-db2c06435d37a99a9ca04f111736cab8690393b8.tar.gz
virt-top-db2c06435d37a99a9ca04f111736cab8690393b8.tar.xz
Check for pa_bitmatch extension (now required by virt-df).
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 57517f8..09d5505 100644
--- a/configure.ac
+++ b/configure.ac
@@ -194,6 +194,7 @@ if test "x$OCAMLFIND" != "x"; then
AC_CHECK_OCAML_PKG(csv)
AC_CHECK_OCAML_PKG(dbus)
AC_CHECK_OCAML_PKG(gettext)
+ AC_CHECK_OCAML_PKG(bitmatch)
dnl Need to check which version of calendar is installed.
AC_CHECK_OCAML_MODULE(calendar,pkg_calendar2,CalendarLib.Date,[+calendar])
@@ -230,6 +231,7 @@ else
AC_CHECK_OCAML_MODULE(csv,pkg_csv,Csv,[+csv])
AC_CHECK_OCAML_MODULE(dbus,pkg_dbus,DBus,[+dbus])
AC_CHECK_OCAML_MODULE(gettext,pkg_gettext,Gettext,[+gettext])
+ AC_CHECK_OCAML_MODULE(bitmatch,pkg_bitmatch,Bitmatch,[+bitmatch])
dnl XXX Version check - see above.
AC_CHECK_OCAML_MODULE(calendar,pkg_calendar,Calendar,[+calendar])
fi
@@ -242,7 +244,9 @@ fi
if test "x$pkg_extlib" != "xno" -a "x$pkg_curses" != "xno"; then
subdirs="$subdirs virt-top"
fi
-if test "x$pkg_extlib" != "xno" -a "x$pkg_xml_light" != "xno"; then
+if test "x$pkg_extlib" != "xno" \
+ -a "x$pkg_xml_light" != "xno" \
+ -a "x$pkg_bitmatch" != "xno"; then
subdirs="$subdirs virt-df"
fi
AC_SUBST(subdirs)