diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2008-01-19 14:03:15 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2008-01-19 14:03:15 +0000 |
commit | 8a8008134e997330d61e0b9736e9067b5689b531 (patch) | |
tree | 0ae876cb669c36a487d3ffc20d6a80d4873fbecd /configure.ac | |
parent | 5f54fd1bd538422e500e4a026e73ec3b04abaf2b (diff) | |
download | virt-top-8a8008134e997330d61e0b9736e9067b5689b531.tar.gz virt-top-8a8008134e997330d61e0b9736e9067b5689b531.tar.xz virt-top-8a8008134e997330d61e0b9736e9067b5689b531.zip |
Further work on storage API and autogenerating bindings.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index 9331243..e246934 100644 --- a/configure.ac +++ b/configure.ac @@ -62,6 +62,11 @@ AC_CHECK_HEADER([libvirt/libvirt.h], [], AC_MSG_ERROR([You must install libvirt development package])) +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 libvirt >= 0.2.1 (our minimum supported version). dnl See: http://libvirt.org/hvsupport.html AC_CHECK_FUNC(virConnectGetCapabilities, @@ -133,12 +138,8 @@ AC_CHECK_FUNCS([virConnectGetHostname \ ]) dnl Check for optional types added since 0.2.1. -AC_CHECK_TYPES([virJobPtr, virStoragePoolPtr, virStorageVolPtr]) - -dnl We also use <libvirt/virterror.h> -AC_CHECK_HEADER([libvirt/virterror.h], - [], - AC_MSG_ERROR([You must install libvirt development package])) +AC_CHECK_TYPES([virJobPtr, virStoragePoolPtr, virStorageVolPtr],,, + [#include <libvirt/libvirt.h>]) dnl Check for optional ncurses. AC_CHECK_LIB(ncurses,initscr) |