Adapt build system to allow building with GTK3
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 14 Jan 2011 18:07:11 +0000 (18:07 +0000)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 14 Jan 2011 20:13:28 +0000 (21:13 +0100)
commita75f4eb21b7a1ff639634fdd39c8fe2ba6753945
treeed407178cda3e4e4459f689a62888c55adab2404
parent71187955773a3f1a4ac58ab50e26af74d0b145e5
Adapt build system to allow building with GTK3

The new configure flag '--with-gtk' can be used to choose
which GTK version to build against, defaulting to GTK2.
To enable GTK3 use

   ./configure --with-gtk=3.0

The libspice-client-glib-2.0.la library is unchanged, building
against glib-2.0 at all times.

The GTK3 build will produce a libspice-client-gtk-3.0.la
The include files will also live in $prefix/spice-client-gtk-3.0
and the pkgconfig is called spice-client-gtk-3.0 too.

This allows for full parallel install of GTK2 and GTK3 builds
.gitignore
Makefile.am
configure.ac
doc/reference/Makefile.am
gtk/Makefile.am
spice-client-gtk-3.0.pc.in [new file with mode: 0644]