diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2007-11-20 13:11:29 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2007-11-20 13:11:29 +0000 |
commit | 38e7a75efaab8a6a709cbad8342bca4a45ead8cc (patch) | |
tree | 30e6333289aee0b2237d3684d69bfff016079693 /configure.ac | |
parent | 9a4b8fc45a07dfb0bb1e388d1991673db776baae (diff) | |
download | virt-top-38e7a75efaab8a6a709cbad8342bca4a45ead8cc.tar.gz virt-top-38e7a75efaab8a6a709cbad8342bca4a45ead8cc.tar.xz virt-top-38e7a75efaab8a6a709cbad8342bca4a45ead8cc.zip |
* libvirt/libvirt.mli, libvirt/libvirt.ml: New error numbers
in base libvirt.
* libvirt/libvirt_c.c: Gracefully handle the case where libvirt
throws an error number we have not heard of before (eg. when
dynamic linking with newer libvirt).
* configure.ac: Check <libvirt/virterror.h> exists.
* configure.ac: Version 0.3.3.4.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 635b49a..c238643 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(ocaml-libvirt,0.3.3.3) +AC_INIT(ocaml-libvirt,0.3.3.4) dnl Check for basic C environment. AC_PROG_CC @@ -54,6 +54,11 @@ dnl Check for optional libvirt functions added since 0.2.1. dnl See: http://libvirt.org/hvsupport.html AC_CHECK_FUNCS([virConnectGetHostname virConnectGetURI virDomainBlockStats virDomainGetSchedulerParameters virDomainGetSchedulerType virDomainInterfaceStats virDomainMigrate virDomainSetSchedulerParameters virNodeGetFreeMemory virNodeGetCellsFreeMemory]) +dnl We also use <libvirt/virterror.h> +AC_CHECK_HEADER([libvirt/virterror.h], + [], + AC_MSG_ERROR([You must install libvirt development package])) + dnl Check for optional ncurses. AC_CHECK_LIB(ncurses,initscr) |