X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=configure.ac;h=635b49a6c3c253ecf99870c744024265a45032aa;hp=f1dc5c89393da53e3707f299739b6ee81243cf1b;hb=9a4b8fc45a07dfb0bb1e388d1991673db776baae;hpb=a8b837d5018c488a130fcbea425904817a862210 diff --git a/configure.ac b/configure.ac index f1dc5c8..635b49a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,23 @@ +# ocaml-libvirt +# Copyright (C) 2007 Red Hat Inc., Richard W.M. Jones +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + dnl Process this file with autoconf to produce a configure script. -AC_INIT(ocaml-libvirt,0.3.2.7) +AC_INIT(ocaml-libvirt,0.3.3.3) dnl Check for basic C environment. AC_PROG_CC @@ -35,7 +52,7 @@ AC_CHECK_FUNC(virConnectGetCapabilities, 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]) +AC_CHECK_FUNCS([virConnectGetHostname virConnectGetURI virDomainBlockStats virDomainGetSchedulerParameters virDomainGetSchedulerType virDomainInterfaceStats virDomainMigrate virDomainSetSchedulerParameters virNodeGetFreeMemory virNodeGetCellsFreeMemory]) dnl Check for optional ncurses. AC_CHECK_LIB(ncurses,initscr) @@ -60,12 +77,14 @@ AC_CHECK_OCAML_PKG(curses) AC_CHECK_OCAML_PKG(gettext) AC_CHECK_OCAML_PKG(xml-light) AC_CHECK_OCAML_PKG(csv) +AC_CHECK_OCAML_PKG(calendar) AC_SUBST(pkg_lablgtk2) AC_SUBST(pkg_curses) AC_SUBST(pkg_gettext) AC_SUBST(pkg_xml_light) AC_SUBST(pkg_csv) +AC_SUBST(pkg_calendar) dnl Check for optional perldoc (for building manual pages). AC_CHECK_PROG(HAVE_PERLDOC,perldoc,perldoc) @@ -88,6 +107,12 @@ if test "x$pkg_curses" = "xyes"; then else echo "no (needs optional ocaml-curses)" fi +echo -n " virt-df . . . . . . . " +if test "x$pkg_xml_light" = "xyes"; then + echo "yes" +else + echo "no (needs optional xml-light)" +fi echo "------------------------------------------------------------" dnl Produce output files. @@ -100,5 +125,6 @@ AC_CONFIG_FILES([META mlvirsh/Makefile mlvirtmanager/Makefile virt-top/Makefile + virt-df/Makefile ]) AC_OUTPUT