2011/5/31 Daniel Veillard <veillard@xxxxxxxxxx>: > On Sun, May 29, 2011 at 05:12:57PM +0200, Matthias Bolte wrote: >> As OpenVZ is Linux specific. >> --- >> Âconfigure.ac | Â 20 +++++++++++++++++++- >> Â1 files changed, 19 insertions(+), 1 deletions(-) >> >> diff --git a/configure.ac b/configure.ac >> index 55ae791..b2ba930 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -255,7 +255,7 @@ AC_ARG_WITH([qemu], >> ÂAC_ARG_WITH([uml], >> Â ÂAC_HELP_STRING([--with-uml], [add UML support @<:@default=check@:>@]),[],[with_uml=check]) >> ÂAC_ARG_WITH([openvz], >> - ÂAC_HELP_STRING([--with-openvz], [add OpenVZ support @<:@default=yes@:>@]),[],[with_openvz=yes]) >> + ÂAC_HELP_STRING([--with-openvz], [add OpenVZ support @<:@default=check@:>@]),[],[with_openvz=check]) >> ÂAC_ARG_WITH([vmware], >> Â ÂAC_HELP_STRING([--with-vmware], [add VMware support @<:@default=yes@:>@]),[],[with_vmware=yes]) >> ÂAC_ARG_WITH([libssh2], >> @@ -348,16 +348,34 @@ AC_PATH_PROG([EBTABLES_PATH], [ebtables], /sbin/ebtables, [/usr/sbin:$PATH]) >> ÂAC_DEFINE_UNQUOTED([EBTABLES_PATH], "$EBTABLES_PATH", [path to ebtables binary]) >> >> >> +dnl >> +dnl Checks for the OpenVZ driver >> +dnl >> + >> +if test "$with_openvz" = "check"; then >> + Â Âwith_openvz=$with_linux >> +fi >> + >> +if test "$with_openvz" = "yes" && test "$with_linux" = "no"; then >> + Â ÂAC_MSG_ERROR([The OpenVZ driver can be enabled on Linux only.]) >> +fi >> + >> Âif test "$with_openvz" = "yes"; then >> Â Â ÂAC_DEFINE_UNQUOTED([WITH_OPENVZ], 1, [whether OpenVZ driver is enabled]) >> Âfi >> ÂAM_CONDITIONAL([WITH_OPENVZ], [test "$with_openvz" = "yes"]) >> >> + >> +dnl >> +dnl Checks for the VMware Workstation/Player driver >> +dnl >> + >> Âif test "$with_vmware" = "yes"; then >> Â Â ÂAC_DEFINE_UNQUOTED([WITH_VMWARE], 1, [whether VMware driver is enabled]) >> Âfi >> ÂAM_CONDITIONAL([WITH_VMWARE], [test "$with_vmware" = "yes"]) >> >> + >> Âdnl >> Âdnl check for XDR >> Âdnl > > ÂACK, > > Daniel Thanks, pushed. Matthias -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list