X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=840eba243b72af8025a8e797710cc7c9dbec2fd6;hb=refs%2Ftags%2Fv1.1.1;hp=946466af9431c0f8c7c58e3241432e9b79f9ca4a;hpb=5405de2920fa56529b56f61ff683806e72ddfa6a;p=virt-top.git diff --git a/configure.ac b/configure.ac index 946466a..840eba2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([virt-top],[1.0.9]) +AC_INIT([virt-top],[1.1.1]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_MACRO_DIR([m4]) @@ -36,6 +36,9 @@ AM_PROG_CC_C_O dnl Check support for 64 bit file offsets. AC_SYS_LARGEFILE +dnl Check for libxml2 (required). +PKG_CHECK_MODULES([LIBXML2], [libxml-2.0]) + dnl Check for basic OCaml environment & findlib. AC_PROG_OCAML if test "$OCAMLC" = "no"; then @@ -57,11 +60,6 @@ if test "x$OCAML_PKG_unix" = "xno"; then AC_MSG_ERROR([Cannot find required OCaml package 'unix']) fi -AC_CHECK_OCAML_PKG(extlib) -if test "x$OCAML_PKG_extlib" = "xno"; then - AC_MSG_ERROR([Cannot find required OCaml package 'extlib']) -fi - AC_CHECK_OCAML_PKG(libvirt) if test "x$OCAML_PKG_libvirt" = "xno"; then AC_MSG_ERROR([Cannot find required OCaml package 'libvirt']) @@ -74,14 +72,10 @@ fi dnl Check for optional OCaml packages. AC_CHECK_OCAML_PKG(calendar) -AC_CHECK_OCAML_PKG(csv) AC_CHECK_OCAML_PKG(gettext) -AC_CHECK_OCAML_PKG(xml-light) AM_CONDITIONAL([HAVE_PKG_CALENDAR], [test "x$OCAML_PKG_calendar" != "xno"]) -AM_CONDITIONAL([HAVE_PKG_CSV], [test "x$OCAML_PKG_csv" != "xno"]) AM_CONDITIONAL([HAVE_PKG_GETTEXT], [test "x$OCAML_PKG_gettext" != "xno"]) -AM_CONDITIONAL([HAVE_PKG_XML_LIGHT],[test "x$OCAML_PKG_xml_light" != "xno"]) dnl Check if ocamlc/ocamlopt -runtime-variant _pic works. It was dnl added in OCaml >= 4.03, but in theory might be disabled by