virt-manager: Basic compile environment for Windows (Cygwin)
On Thu, Nov 29, 2007 at 07:53:20PM +0000, Richard W.M. Jones wrote:
> The attached patch just fixes a few basic compile environment problems
> for virt-manager under Windows (Cygwin). It doesn't actually run after
> this, but it does at least compile without any errors.
>
> (1) Added a package check for cairo.
>
> (2) Add cairo CFLAGS and LIBS.
>
> (3) Include <cairo.h>, which is needed because the code uses 'cairo_t'.
> Goodness knows how this works under Linux.
GTK on modern Linux uses cairo for all rendering. Guess Cygwin doesn't
use Cairo. Just as well I didn't remove the non-Cairo fallback in the
sparkline widget :-)